meson.build
21 lines
| 1.0 KiB
| text/plain
|
TextLexer
r620 | ||||
tests = [ | ||||
|
r709 | [['Common/TestStringUtils.cpp'],'test_string_utils','StringUtils test'], | ||
r633 | [['Data/TestDataSeries.cpp'],'test_data','DataSeries test'], | |||
[['Data/TestOneDimArrayData.cpp'],'test_1d','One Dim Array test'], | ||||
|
r866 | [['Data/TestOptionalAxis.cpp'],'test_optional_axis','OptionalAxis test'], | ||
r633 | [['Data/TestTwoDimArrayData.cpp'],'test_2d','Two Dim Array test'], | |||
[['DataSource/TestDataSourceController.cpp'],'test_data_source','DataSourceController test'], | ||||
[['Variable/TestVariableCacheController.cpp'],'test_variable_cache','VariableCacheController test'], | ||||
|
r772 | [['Variable/TestVariable.cpp'],'test_variable','Variable test'], | ||
[['Variable/TestVariableSync.cpp'],'test_variable_sync','Variable synchronization test'] | ||||
r620 | ] | |||
foreach unit_test : tests | ||||
test_moc_files = qt5.preprocess(moc_sources : unit_test[0]) | ||||
test_exe = executable(unit_test[1],unit_test[0] , test_moc_files, | ||||
r662 | dependencies : [sciqlop_core, qt5test]) | |||
r633 | test(unit_test[2], test_exe, args: ['-teamcity', '-o', '@0@.teamcity.txt'.format(unit_test[1])]) | |||
r620 | endforeach | |||