From 12038bed36cf2af2d61d45c3767169c9c3a018d2 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Thu, 10 Oct 2013 23:44:24 +0200 Subject: [PATCH 4/5] Add cmake target run_tests. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=41252 --- cmake/test/CMakeLists.txt | 14 ++++++++++++++ 1 Datei geändert, 14 Zeilen hinzugefügt(+) diff --git a/cmake/test/CMakeLists.txt b/cmake/test/CMakeLists.txt index 09e11f4..76bb207 100644 --- a/cmake/test/CMakeLists.txt +++ b/cmake/test/CMakeLists.txt @@ -163,3 +163,17 @@ ENDFOREACH(FILE) # todo: for installation the TEST_..._BINARY variables must reflect the # installation dir or has to be defined relative # + +add_custom_target(run_tests + COMMAND ctest -R shell-test + COMMAND ctest -R test-printf + COMMAND ctest -R test-corrupt + COMMAND ctest -R test-dbus-daemon + COMMAND ctest -R test-dbus-daemon-eavesdrop + COMMAND ctest -R test-loopback + COMMAND ctest -R test-marshal + COMMAND ctest -R test-refs + COMMAND ctest -R test-relay + COMMAND ctest -R test-syntax + COMMAND ctest -R test-syslog +) -- 1.7.10.4