mirror of
https://github.com/curl/curl.git
synced 2026-08-26 05:23:33 +03:00
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:
parent
f5cdac38bd
commit
233237740d
2 changed files with 17 additions and 13 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue