diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2021-09-27 21:17:29 +0200 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2021-10-08 20:16:15 +0200 |
commit | ab1671cafefcaf19ff6ac00a6cc7b36dfe16adcd (patch) | |
tree | e7b57626ec198036af2f0f562e994182c1df2909 /tests | |
parent | aceff6088cef70843de1da1dd7cc03c37c094d99 (diff) | |
download | curl-ab1671cafefcaf19ff6ac00a6cc7b36dfe16adcd.tar.gz |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 1 | ||||
-rw-r--r-- | tests/Makefile.am | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index acd53d3e7..8b2a12c70 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -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") diff --git a/tests/Makefile.am b/tests/Makefile.am index 8f47bb017..6e72e6294 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -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) |