Skip to content

Commit

Permalink
libbacktrace: Fix test commands.
Browse files Browse the repository at this point in the history
Use full path, and not just target name.
  • Loading branch information
jrfonseca committed Jan 27, 2016
1 parent 8f65489 commit d7d208b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thirdparty/libbacktrace/CMakeLists.txt
Expand Up @@ -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>)

0 comments on commit d7d208b

Please sign in to comment.