diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2016-01-27 12:55:32 +0000 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2016-01-27 12:55:32 +0000 |
commit | d7d208b7f21a5c52a67c4cb1115360f8fcff942c (patch) | |
tree | d2f34055b0d82a8af207f87f04f37d055f444594 /thirdparty/libbacktrace | |
parent | 8f654894d52a70291d6da17c4394e16507b77a79 (diff) |
libbacktrace: Fix test commands.
Use full path, and not just target name.
Diffstat (limited to 'thirdparty/libbacktrace')
-rw-r--r-- | thirdparty/libbacktrace/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/thirdparty/libbacktrace/CMakeLists.txt b/thirdparty/libbacktrace/CMakeLists.txt index 3fc54306..ac0089f0 100644 --- a/thirdparty/libbacktrace/CMakeLists.txt +++ b/thirdparty/libbacktrace/CMakeLists.txt @@ -158,10 +158,10 @@ add_executable (btest btest.c) set_target_properties (btest PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS_DEBUG}") target_link_libraries (btest backtrace) add_dependencies (check btest) -add_test (libbacktrace_btest btest) +add_test (NAME libbacktrace_btest COMMAND $<TARGET_FILE:btest>) add_executable (stest stest.c) set_target_properties (stest PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS_DEBUG}") target_link_libraries (stest backtrace) add_dependencies (check stest) -add_test (libbacktrace_stest stest) +add_test (NAME libbacktrace_stest COMMAND $<TARGET_FILE:stest>) |