diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index cc812583c7..33c64906e8 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -114,6 +114,7 @@ configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/configurehelp.pm.in" "${CMAKE_CURRENT_BINARY_DIR}/configurehelp.pm" @ONLY) +curl_add_runtests(tests "") # Avoid 'test', which is a reserved target name in CMake curl_add_runtests(test-quiet "-a -s") curl_add_runtests(test-am "-a -am") curl_add_runtests(test-full "-a -p -r") diff --git a/tests/Makefile.am b/tests/Makefile.am index 363a8562a8..58f24c29ce 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -141,6 +141,9 @@ perlcheck: build-certs: (cd certs && $(MAKE)) +# alias for 'test' to match CMake, where 'test' is a reserved target +tests: test + test: perlcheck all $(TEST) $(TFLAGS)