Adding tests at test root

Couldn't get tests in subdirectores to work so adding them at test root instead.
This commit is contained in:
Michael Tryby
2019-03-22 11:51:08 -04:00
parent ec72db5d82
commit 2bf3be4c64
6 changed files with 15 additions and 14 deletions

View File

@@ -10,7 +10,3 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
add_executable(test_output test_output.cpp)
target_include_directories(test_output PUBLIC ../../src/outfile/include)
target_link_libraries(test_output ${Boost_LIBRARIES} epanet-output)
add_test(NAME test_output
COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/test_output
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/data)