libubox/tests/shunit2/CMakeLists.txt

8 lines
198 B
Text
Raw Permalink Normal View History

ADD_TEST(
NAME shunit2
COMMAND tests.sh
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
SET_PROPERTY(TEST shunit2 APPEND PROPERTY ENVIRONMENT "TEST_JSON_SCRIPT=$<TARGET_FILE:test-json-script>")