aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorZeex <zeex@rocketmail.com>2018-09-08 00:48:33 +0600
committerZeex <zeex@rocketmail.com>2018-09-08 00:49:09 +0600
commitad78e30b6a4be1481bfd0b7a8c6e00f6af9498f3 (patch)
treec54b3fc018b20f71cc31e324759ecabd9ac71741 /tests
parentb58b8370baf493658e4d9ef72c9a591b51aa45b7 (diff)
downloadsubhook-ad78e30b6a4be1481bfd0b7a8c6e00f6af9498f3.zip
subhook-ad78e30b6a4be1481bfd0b7a8c6e00f6af9498f3.tar.gz
subhook-ad78e30b6a4be1481bfd0b7a8c6e00f6af9498f3.tar.bz2
Fix CMake 2.8.12 error and bump min CMake version
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 2a2ab84..5650ee1 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -78,16 +78,16 @@ foreach(target subhook_test_exe subhook_cxx_test_exe)
add_test(NAME ${target}_test COMMAND $<TARGET_FILE:${target}>)
- set(expected_output "\
-Testing initial install[\r\n]+\
-foo_hooked\\(\\) called[\r\n]+\
-foo\\(\\) called[\r\n]+\
-Testing re-install[\r\n]+\
-foo_hooked\\(\\) called[\r\n]+\
-foo\\(\\) called[\r\n]+\
-Testing trampoline[\r\n]+\
-foo_hooked_tr\\(\\) called[\r\n]+\
-foo\\(\\) called[\r\n]+\
+ set(expected_output
+"Testing initial install
+foo_hooked\\(\\) called
+foo\\(\\) called
+Testing re-install
+foo_hooked\\(\\) called
+foo\\(\\) called
+Testing trampoline
+foo_hooked_tr\\(\\) called
+foo\\(\\) called
")
set_tests_properties(${target}_test PROPERTIES
PASS_REGULAR_EXPRESSION "${expected_output}")