Added the --runtestsopts option to testcurl.pl to override the default

options used by runtests.pl during testing (useful for disabling valgrind).
This commit is contained in:
Dan Fandrich 2005-03-17 00:57:17 +00:00
parent f5cdac38bd
commit 233237740d
2 changed files with 17 additions and 13 deletions

View file

@ -35,24 +35,24 @@ curl:
if CROSSCOMPILING
TEST = @echo "NOTICE: we can't run the tests when cross-compiling!"
TEST_Q = $(TEST)
TEST_F = $(TEST)
TEST_T = $(TEST)
TEST_Q =
TEST_F =
TEST_T =
else # if not cross-compiling:
TEST = srcdir=$(srcdir) $(PERL) $(PERLFLAGS) $(srcdir)/runtests.pl
TEST_Q = $(TEST) -s -a
TEST_F = $(TEST) -a -p
TEST_T = $(TEST) -t
TEST_Q = -s -a
TEST_F = -a -p
TEST_T = -t
endif
test: all
$(TEST)
quiet-test: all
$(TEST_Q)
$(TEST) $(TEST_Q)
full-test: all
$(TEST_F)
$(TEST) $(TEST_F)
torture-test: all
$(TEST_T)
$(TEST) $(TEST_T)