data_test_c_args = test_c_args + [ '-DTEST_ONTOLOGIES_DIR="@0@"'.format(tracker_uninstalled_nepomuk_ontologies_dir), ] libtracker_data_tests = [ 'crc32', 'ontology-change', 'sparql-blank', 'insert-or-replace', ] libtracker_data_slow_tests = [ 'ontology', 'sparql' ] libtracker_data_test_deps = [tracker_common_dep, tracker_data_dep, tracker_sparql_dep] foreach base_name: libtracker_data_tests source = 'tracker-@0@-test.c'.format(base_name) binary_name = 'tracker-@0@-test'.format(base_name) binary = executable(binary_name, source, dependencies: libtracker_data_test_deps, c_args: data_test_c_args) tests += { 'name': base_name, 'exe': binary, 'suite': ['data'], } endforeach foreach base_name: libtracker_data_slow_tests source = 'tracker-@0@-test.c'.format(base_name) binary_name = 'tracker-@0@-test'.format(base_name) binary = executable(binary_name, source, dependencies: libtracker_data_test_deps, c_args: data_test_c_args) tests += { 'name': base_name, 'exe': binary, 'suite': ['data', 'slow'], 'timeout': 280 } endforeach