##// END OF EJS Templates
Made TeamCity output format optional for tests...
jeandet -
r97:8cc9dc697700
parent child
Show More
@@ -76,6 +76,12 foreach unit_test : tests
76 dependencies : unit_test['deps'],
76 dependencies : unit_test['deps'],
77 cpp_args : ['-DCORE_TESTS_RESOURCES_DIR="'+meson.current_source_dir()+'/../tests-resources"']
77 cpp_args : ['-DCORE_TESTS_RESOURCES_DIR="'+meson.current_source_dir()+'/../tests-resources"']
78 )
78 )
79 test('Test-' + unit_test['name'], test_exe, args: ['-teamcity', '-o', '@0@.teamcity.txt'.format(unit_test['name'])])
79 if get_option('teamcity')
80 test_exe_args = ['-teamcity', '-o', '@0@.teamcity.txt'.format(unit_test['name'])]
81 else
82 test_exe_args = []
83 endif
84 test('Test-' + unit_test['name'], test_exe, args: test_exe_args)
85
80 endforeach
86 endforeach
81
87
General Comments 0
You need to be logged in to leave comments. Login now