Tests Updated

This commit is contained in:
ktlo
2019-10-11 10:14:41 +00:00
parent 2914afb431
commit e1249f68e5
2 changed files with 2 additions and 2 deletions

View File

@@ -82,7 +82,7 @@ Test:x86_64-linux-gnu: &test
MESON_TESTTHREADS: 1 MESON_TESTTHREADS: 1
script: script:
- cd build/$TARGET - cd build/$TARGET
- meson test --wrap='valgrind --error-exitcode=1 --leak-check=full --tool=memcheck --track-origins=yes' - meson test --print-errorlogs --suite regular --wrap='valgrind --error-exitcode=1 --leak-check=full --tool=memcheck --track-origins=yes'
- cat meson-logs/testlog-valgrind.txt - cat meson-logs/testlog-valgrind.txt
tags: ["default"] tags: ["default"]
artifacts: artifacts:

View File

@@ -7,5 +7,5 @@ test_files = []
foreach test_name : test_names foreach test_name : test_names
test_files += files(test_name + '.cpp') test_files += files(test_name + '.cpp')
test_exe = executable(test_name + '.test', test_files[-1], link_with : static_lib, include_directories : [includes, src], dependencies : module_deps) test_exe = executable(test_name + '.test', test_files[-1], link_with : static_lib, include_directories : [includes, src], dependencies : module_deps)
test(test_name, test_exe) test(test_name, test_exe, suite : 'regular')
endforeach endforeach