1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 07:16:37 +02:00

core: add CMake test called "notests" when tests are not compiled

Now the command `make test` executes properly and returns 0 when test are not
compiled.
This commit is contained in:
Sébastien Helleu
2023-01-06 07:53:39 +01:00
parent e660233325
commit bff143dcf4
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -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)
+1
View File
@@ -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