##// END OF EJS Templates
Made TeamCity output format optional for tests...
jeandet -
r1492:1a82cce7c74b
parent child
Show More
@@ -21,5 +21,10 foreach unit_test : tests
21 include_directories: tests_inc,
21 include_directories: tests_inc,
22 cpp_args : ['-DCORE_TESTS_RESOURCES_DIR="'+meson.current_source_dir()+'/../tests-resources"']
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 endforeach
30 endforeach
@@ -1,1 +1,2
1 option('biuld_gui_tests', type : 'boolean', value : true, description : 'Build GUI tests.')
1 option('biuld_gui_tests', type : 'boolean', value : true, description : 'Build GUI tests.')
2 option('teamcity', type : 'boolean', value : false, description : 'Enables TeamCity output format for tests.')
General Comments 0
You need to be logged in to leave comments. Login now