mirror of
https://github.com/curl/curl.git
synced 2026-05-19 22:16:21 +03:00
CI/makefiles: introduce dedicated test target
Make it easy to use the same set of test flags throughout all current and future CI builds. Reviewed-by: Jay Satiro Follow up to #7690 Closes #7785
This commit is contained in:
parent
aceff6088c
commit
ab1671cafe
9 changed files with 19 additions and 9 deletions
|
|
@ -46,5 +46,6 @@ add_runtests(test-am "-a -am")
|
|||
add_runtests(test-full "-a -p -r")
|
||||
# !flaky means that it'll skip all tests using the flaky keyword
|
||||
add_runtests(test-nonflaky "-a -p !flaky")
|
||||
add_runtests(test-ci "-a -p !flaky -r -rm -u")
|
||||
add_runtests(test-torture "-a -t")
|
||||
add_runtests(test-event "-a -e")
|
||||
|
|
|
|||
|
|
@ -71,6 +71,9 @@ TEST_E = -a -e
|
|||
|
||||
# !flaky means that it'll skip all tests using the flaky keyword
|
||||
TEST_NF = -a -p !flaky
|
||||
|
||||
# special CI target derived from nonflaky with CI-specific flags
|
||||
TEST_CI = $(TEST_NF) -r -rm -u
|
||||
endif
|
||||
|
||||
# make sure that PERL is pointing to an executable
|
||||
|
|
@ -86,6 +89,9 @@ quiet-test: perlcheck all
|
|||
am-test: perlcheck all
|
||||
$(TEST) $(TEST_AM) $(TFLAGS)
|
||||
|
||||
ci-test: perlcheck all
|
||||
$(TEST) $(TEST_CI) $(TFLAGS)
|
||||
|
||||
full-test: perlcheck all
|
||||
$(TEST) $(TEST_F) $(TFLAGS)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue