Files
opm-common/opm/json/tests/CMakeLists.txt
Arne Morten Kvarving 4a9c18ac9f run tests through valgrind
2014-01-27 15:16:34 +01:00

6 lines
346 B
CMake

add_executable( runjsonTests jsonTests.cpp )
target_link_libraries( runjsonTests opm-json ${Boost_LIBRARIES})
set_source_files_properties( jsonTests.cpp PROPERTIES COMPILE_FLAGS "-Wno-unused-variable")
add_test( NAME runjsonTests WORKING_DIRECTORY ${EXECUTABLE_OUTPUT_PATH} COMMAND ${TEST_MEMCHECK_TOOL} ${EXECUTABLE_OUTPUT_PATH}/runjsonTests )