Tests Updated
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user