Commit 0a7dcadc authored by Brendan Gregg's avatar Brendan Gregg Committed by GitHub

Merge pull request #309 from mmarchini/fix-rumtime-tests

[test] fix runtime-tests cmake settings
parents 51693a93 fc45b549
......@@ -76,8 +76,9 @@ configure_file(main.py main.py COPYONLY)
configure_file(parser.py parser.py COPYONLY)
configure_file(utils.py utils.py COPYONLY)
file(GLOB runtime_tests runtime/*)
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/runtime/)
foreach(runtime_test ${runtime_tests})
configure_file(${runtime_test} ${CMAKE_CURRENT_BINARY_DIR}/runtime COPYONLY)
configure_file(${runtime_test} ${CMAKE_CURRENT_BINARY_DIR}/runtime/ COPYONLY)
endforeach()
add_custom_target(runtime-tests COMMAND ./runtime-tests.sh)
add_test(NAME runtime_test COMMAND ./runtime-tests.sh)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment