@@ -21,5 +21,10 foreach unit_test : tests | |||
|
21 | 21 | include_directories: tests_inc, |
|
22 | 22 | cpp_args : ['-DCORE_TESTS_RESOURCES_DIR="'+meson.current_source_dir()+'/../tests-resources"'] |
|
23 | 23 | ) |
|
24 | test('Test-' + unit_test['name'], test_exe, args: ['-teamcity', '-o', '@0@.teamcity.txt'.format(unit_test['name'])]) | |
|
24 | if get_option('teamcity') | |
|
25 | test_exe_args = ['-teamcity', '-o', '@0@.teamcity.txt'.format(unit_test['name'])] | |
|
26 | else | |
|
27 | test_exe_args = [] | |
|
28 | endif | |
|
29 | test('Test-' + unit_test['name'], test_exe, args: test_exe_args) | |
|
25 | 30 | endforeach |
General Comments 0
You need to be logged in to leave comments.
Login now