diff options
author | 2019-06-17 16:06:44 +0200 | |
---|---|---|
committer | 2019-06-18 12:04:34 +0200 | |
commit | 657ed1fac3642dca621b8c7b00fbdd93d508ec5f (patch) | |
tree | d9e51a1072696b44a228e57ce4342d19b5650e4f /src/scvpp/tests | |
parent | b7b52e85c1b05a456119c11b9cf8e79d660194cc (diff) |
Minor changes to Cmake/Make system
- Verbose mode to run scvpp unit test
- Set scvpp unit test timeout to 60 seconds
- Set cmake required version number to 3.0
- Set libscvpp pkgconfig file version to PROJECT_VERSION Variable used
in CmakeListt
Change-Id: I07c4ecb805a820c78007773f2f3ff68ee5be9cc3
Signed-off-by: YohanPipereau <ypiperea@cisco.com>
Diffstat (limited to 'src/scvpp/tests')
-rw-r--r-- | src/scvpp/tests/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scvpp/tests/CMakeLists.txt b/src/scvpp/tests/CMakeLists.txt index 19b7f7b..78e1861 100644 --- a/src/scvpp/tests/CMakeLists.txt +++ b/src/scvpp/tests/CMakeLists.txt @@ -30,6 +30,7 @@ add_executable(scvpp_test ${TEST_SRC}) target_link_libraries(scvpp_test ${CMOCKA_LIBRARIES} scvpp_a) target_include_directories(scvpp_test PRIVATE ../inc) add_test(scvpp_test ./scvpp_test) +set_tests_properties(scvpp_test PROPERTIES TIMEOUT 60) if(valgrind_FOUND) add_test(scvpp_valgrind valgrind @@ -37,4 +38,5 @@ if(valgrind_FOUND) --leak-check=full --show-leak-kinds=all ./scvpp_test ) + set_tests_properties(scvpp_valgrind PROPERTIES TIMEOUT 60) endif(valgrind_FOUND) |