Skip to content

Commit

Permalink
tests: Disable sanitizer-coverage for now (not really working anyway,…
Browse files Browse the repository at this point in the history
… and causes a build failure)
  • Loading branch information
SimonKagstrom committed Jul 1, 2017
1 parent 452d1de commit c107dd8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ add_executable(s short-file.c)
add_executable(fork+exec fork/fork+exec.c)
add_executable(thread-test threads/thread-main.c)

if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
add_executable(sanitizer-coverage sanitizer-coverage.c)
set_target_properties(sanitizer-coverage PROPERTIES COMPILE_FLAGS "-g -fsanitize=address -fsanitize-coverage=bb")
set_target_properties(sanitizer-coverage PROPERTIES LINK_FLAGS "-fsanitize=address -fsanitize-coverage=bb")
endif()
#if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
# add_executable(sanitizer-coverage sanitizer-coverage.c)
# set_target_properties(sanitizer-coverage PROPERTIES COMPILE_FLAGS "-g -fsanitize=address -fsanitize-coverage=bb")
# set_target_properties(sanitizer-coverage PROPERTIES LINK_FLAGS "-fsanitize=address -fsanitize-coverage=bb")
#endif()

add_executable(pie pie.c)
set_target_properties(pie PROPERTIES POISITION_INDEPENDENT_CODE True)
Expand Down

0 comments on commit c107dd8

Please sign in to comment.