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