meson.build
34 lines
| 1.6 KiB
| text/plain
|
TextLexer
r620 | ||||
tests = [ | ||||
|
r709 | [['Common/TestStringUtils.cpp'],'test_string_utils','StringUtils test'], | ||
|
r865 | [['Data/TestScalarSeries.cpp'],'test_scalar','ScalarSeries test'], | ||
|
r866 | [['Data/TestSpectrogramSeries.cpp'],'test_spectrogram','SpectrogramSeries test'], | ||
|
r865 | [['Data/TestVectorSeries.cpp'],'test_vector','VectorSeries test'], | ||
r633 | [['Data/TestOneDimArrayData.cpp'],'test_1d','One Dim Array test'], | |||
|
r860 | [['Data/TestOptionalAxis.cpp'],'test_optional_axis','OptionalAxis test'], | ||
r633 | [['Data/TestTwoDimArrayData.cpp'],'test_2d','Two Dim Array test'], | |||
|
r979 | [['Data/TestDataSeriesUtils.cpp'],'test_dataseries_util','Data series utils test'], | ||
r633 | [['DataSource/TestDataSourceController.cpp'],'test_data_source','DataSourceController test'], | |||
|
r1039 | [['DataSource/TestDataSourceItem.cpp'],'test_data_source_item','DataSourceItem test'], | ||
r633 | [['Variable/TestVariableCacheController.cpp'],'test_variable_cache','VariableCacheController test'], | |||
|
r891 | [['Variable/TestVariable.cpp'],'test_variable','Variable test'], | ||
[['Variable/TestVariableSync.cpp'],'test_variable_sync','Variable synchronization test'] | ||||
r620 | ] | |||
|
r888 | amdatest_sources = [ | ||
'Data/DataSeriesBuilders.h', | ||||
'Data/DataSeriesBuilders.cpp', | ||||
|
r977 | 'Data/DataSeriesTestsUtils.h', | ||
'Data/DataSeriesTestsUtils.cpp' | ||||
|
r888 | ] | ||
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, | ||||
|
r888 | dependencies : [sciqlop_core, qt5test], | ||
|
r1016 | cpp_args : ['-DCORE_TESTS_RESOURCES_DIR="'+meson.current_source_dir()+'/../tests-resources"'], | ||
|
r888 | sources : [amdatest_sources]) | ||
r633 | test(unit_test[2], test_exe, args: ['-teamcity', '-o', '@0@.teamcity.txt'.format(unit_test[1])]) | |||
r620 | endforeach | |||