summaryrefslogtreecommitdiffstats
path: root/test/tokenizer
diff options
context:
space:
mode:
authorAdrien M <adrienx.martin@intel.com>2015-03-20 19:03:32 +0100
committerEric Laurent <elaurent@google.com>2015-04-24 13:39:12 -0700
commit5aaddd16f2aabccf07687f1761567eb6455abe61 (patch)
tree62a4adda1e9f000614247e06f88db3359e637961 /test/tokenizer
parent19aa05b33990302d2388b8c90eeb71a3509e6320 (diff)
downloadexternal_parameter-framework-5aaddd16f2aabccf07687f1761567eb6455abe61.zip
external_parameter-framework-5aaddd16f2aabccf07687f1761567eb6455abe61.tar.gz
external_parameter-framework-5aaddd16f2aabccf07687f1761567eb6455abe61.tar.bz2
Dissociate 'make test' & 'make install'
Possibility to run the test without having to lunch the 'make install' command. Signed-off-by: Adrien M <adrienx.martin@intel.com>
Diffstat (limited to 'test/tokenizer')
-rw-r--r--test/tokenizer/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
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()