diff --git a/CMakeLists.txt b/CMakeLists.txt index c477a8869..9b67ab02c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -241,6 +241,9 @@ if(ENABLE_TESTS) else() message(SEND_ERROR "CppUTest not found") endif() +else() + enable_testing() + add_test(NAME notests COMMAND true) endif() configure_file(config.h.cmake config.h @ONLY) diff --git a/ChangeLog.adoc b/ChangeLog.adoc index 674ad2aac..a756ef367 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -65,6 +65,7 @@ Tests:: Build:: + * core: add CMake test called "notests" when tests are not compiled * core: rename scripts: build-debian.sh to build_debian.sh, build-test.sh to build_test.sh, git-version.sh to set_git_version.sh * debian: change dependency guile-2.2-dev to guile-3.0-dev * python: remove support of Python 2.x