From ad78e30b6a4be1481bfd0b7a8c6e00f6af9498f3 Mon Sep 17 00:00:00 2001 From: Zeex Date: Sat, 8 Sep 2018 00:48:33 +0600 Subject: Fix CMake 2.8.12 error and bump min CMake version --- tests/CMakeLists.txt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'tests') 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 $) - 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}") -- cgit v1.1