From ad6416986755e417c66e2c646d532561b445a5b5 Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Sun, 10 May 2020 02:12:12 +0200 Subject: CMake: fix runtests.pl with CMake, add new test targets * runtests.pl: - Fix out-of-tree build under CMake when srcdir is not set. Default srcdir to the location of runtests.pl. - Add a hack to allow CMake to use the TFLAGS option as documented in tests/README and used in scripts/travis/script.sh. * Bump CMake version to 3.2 for USES_TERMINAL, dropping Debian Jessie support (no one should care, it is already EOL.). * Remove CTest since it defines its own 'test' target with no tests since all unittests are already broken and not built by default. * Add new test targets based on the options from Makefile.am. Since new test targets are rarely added, I opted for duplicating the runtests.pl options as opposed to creating a new Makefile.inc file. Use top-level target names (test-x) instead of x-test since that is used by CI and others. Closes #5358 --- docs/TODO | 8 -------- 1 file changed, 8 deletions(-) (limited to 'docs/TODO') diff --git a/docs/TODO b/docs/TODO index ce92b21d9..68b8faa62 100644 --- a/docs/TODO +++ b/docs/TODO @@ -1071,14 +1071,6 @@ that doesn't exist on the server, just like --ftp-create-dirs. to no impact, neither on the performance nor on the general functionality of curl. -19.3 cmake test suite improvements - - The cmake build doesn't support 'make show' so it doesn't know which tests - are in the makefile or not (making appveyor builds do many false warnings - about it) nor does it support running the test suite if building out-of-tree. - - See https://github.com/curl/curl/issues/3109 - 20. Test suite 20.1 SSL tunnel -- cgit v1.2.3