Some fixes/cleanup for the test script

This commit is contained in:
Michael Hansen
2016-08-30 11:19:10 -07:00
parent 71b670de0f
commit 830bb0d31e
2 changed files with 13 additions and 11 deletions

View File

@@ -61,6 +61,7 @@ install(TARGETS pycdc
RUNTIME DESTINATION bin)
# For tests
add_custom_target(test ${CMAKE_CURRENT_SOURCE_DIR}/pycdc_test.sh
${CMAKE_CURRENT_SOURCE_DIR}/tests)
add_custom_target(test "${CMAKE_CURRENT_SOURCE_DIR}/pycdc_test.sh"
"${CMAKE_CURRENT_SOURCE_DIR}/tests"
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
add_dependencies(test pycdc)