diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test-fixed-point-parameter/CMakeLists.txt | 3 | ||||
-rw-r--r-- | test/tokenizer/CMakeLists.txt | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/test/test-fixed-point-parameter/CMakeLists.txt b/test/test-fixed-point-parameter/CMakeLists.txt index b9c8af3..64b51f3 100644 --- a/test/test-fixed-point-parameter/CMakeLists.txt +++ b/test/test-fixed-point-parameter/CMakeLists.txt @@ -32,4 +32,7 @@ if (BUILD_TESTING) add_test(NAME fix_point_parameter WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} COMMAND ${python2} Main.py) + + # Custom function defined in the top-level CMakeLists + set_test_env(fix_point_parameter) endif() diff --git a/test/tokenizer/CMakeLists.txt b/test/tokenizer/CMakeLists.txt index f68f6a3..8a00cb9 100644 --- a/test/tokenizer/CMakeLists.txt +++ b/test/tokenizer/CMakeLists.txt @@ -44,5 +44,9 @@ if(BUILD_TESTING) include_directories(${PROJECT_SOURCE_DIR}/utility) target_link_libraries(tokenizerTest pfw_utility) - add_test(tokenizerTest tokenizerTest) + add_test(NAME tokenizerTest + COMMAND tokenizerTest) + + # Custom function defined in the top-level CMakeLists + set_test_env(tokenizerTest) endif() |