##// END OF EJS Templates
Updates meson.build
Alexandre Leroux -
r748:2e883759a2fd
parent child
Show More
@@ -30,3 +30,16 sciqlop_mockplugin = library('mockplugin',
30 install : true
30 install : true
31 )
31 )
32
32
33 tests = [
34 [['tests/TestCosinusAcquisition.cpp'],'test_cosinus_acquisition','Cosinus Acquisition test']
35 ]
36
37 foreach unit_test : tests
38 test_moc_files = qt5.preprocess(moc_sources : unit_test[0])
39 test_exe = executable(unit_test[1],unit_test[0] , test_moc_files,
40 link_with : [sciqlop_mockplugin],
41 include_directories : [mockplugin_inc],
42 cpp_args : ['-DMOCKPLUGIN_TESTS_RESOURCES_DIR="'+meson.current_source_dir()+'/tests-resources"'],
43 dependencies : [sciqlop_core, sciqlop_gui, qt5test])
44 test(unit_test[2], test_exe, args: ['-teamcity', '-o', '@0@.teamcity.txt'.format(unit_test[1])], timeout: 3 * 60)
45 endforeach No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now