Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
ef77c38d
Commit
ef77c38d
authored
Nov 05, 2014
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GC, Kristian says is no longer needed
parent
232aedfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
35 deletions
+0
-35
Makefile.kristian
bin/varnishtest/Makefile.kristian
+0
-35
No files found.
bin/varnishtest/Makefile.kristian
deleted
100644 → 0
View file @
232aedfa
# Usage: make -f Makefile.kristian -j20 (for 20 parallel jobs)
SHELL
=
/bin/sh
# Complete all tests even if one fails
MAKEFLAGS
=
-k
objs
=
$
(
addsuffix .done,
$
(
basename
$
(
notdir
$
(
wildcard tests/
*
vtc
))))
check
:
$(objs)
@
echo
"==================="
@
echo
"All tests succeeded"
@
echo
"==================="
# Capture output of varnishtest for a specific test. Only output it if the
# test failed.
#
# XXX: 'echo' in dash (often used as /bin/sh) does not support -E and
# always interpret \n's(as in a \ and a n, not a real line break),
# thus the /bin/echo -E crud to avoid double line breaks on
# "body | <foo>\n".
#
# XXX: Even if this doesn't create a real file, it's not a phony target per
# se, as it has to fire every time you run 'make check'.
%.done
:
tests/%.vtc
@
if
output
=
$$
(
./varnishtest
$<
2>&1
)
;
then
\
echo
"
$<
OK"
;
\
else
\
ret
=
$$
?
;
\
/bin/echo
-E
1>&2
"
$$
output"
;
\
echo
1>&2
$<
"FAILED (
$$
ret)
\n
"
;
\
exit
$$
ret
;
\
fi
;
.PHONY
:
check
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment