diff options
author | YohanPipereau <ypiperea@cisco.com> | 2019-04-05 20:14:09 +0200 |
---|---|---|
committer | YohanPipereau <ypiperea@cisco.com> | 2019-04-09 15:32:18 +0200 |
commit | 3320f7c7224e051b4a30a74e0a683159ed8b9dea (patch) | |
tree | 9f78bdc71d366a402970b44016d92ac922b399c3 /src/scvpp/tests/CMakeLists.txt | |
parent | a760dfb253161911fc3aa3c8b879c461d53ade6e (diff) |
Modify build system
-Clean Makefile
-Fix errors in scvpp length copies
-Add testing when building scvpp
Change-Id: I5a331386a1812b147dfec26310dfbd3aed327dae
Signed-off-by: YohanPipereau <ypiperea@cisco.com>
Diffstat (limited to 'src/scvpp/tests/CMakeLists.txt')
-rw-r--r-- | src/scvpp/tests/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scvpp/tests/CMakeLists.txt b/src/scvpp/tests/CMakeLists.txt index 2b6de4a..19b7f7b 100644 --- a/src/scvpp/tests/CMakeLists.txt +++ b/src/scvpp/tests/CMakeLists.txt @@ -29,12 +29,12 @@ set(TEST_SRC 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) +add_test(scvpp_test ./scvpp_test) if(valgrind_FOUND) - add_test(${TEST_NAME}_valgrind valgrind + add_test(scvpp_valgrind valgrind --error-exitcode=1 --read-var-info=yes --leak-check=full --show-leak-kinds=all - ./${TEST_NAME} + ./scvpp_test ) endif(valgrind_FOUND) |