Commit ce93198b authored by Carlos Garnacho's avatar Carlos Garnacho

tests: Add missing macros to meson build instructions

Those were added on autotools, but were forgotten on meson...
parent d47d4134
......@@ -4,6 +4,7 @@ test_c_args = [
'-DTRACKER_COMPILATION',
'-DTEST_DATA_DIR="@0@/data"'.format(meson.current_source_dir()),
'-DTEST_MINERS_DIR="@0@/mock-miners"'.format(meson.current_source_dir()),
'-DTEST_ONTOLOGIES_DIR="@0@/src/ontologies/nepomuk"'.format(meson.current_source_dir()),
]
crawler_test = executable('tracker-crawler-test',
......
test_c_args = [
'-DTEST',
'-DTEST_DOMAIN_ONTOLOGY_RULE="@0@/src/tracker-store/default.rule"'.format(meson.current_source_dir()),
'-DTEST_ONTOLOGIES_DIR="@0@/src/ontologies/nepomuk"'.format(meson.current_source_dir()),
]
resource_test = executable('tracker-resource-test',
'tracker-resource-test.c',
dependencies: [tracker_common_dep, tracker_sparql_dep],
......@@ -7,11 +13,11 @@ test('sparql-resource', resource_test)
sparql_test = executable('tracker-sparql-test',
'tracker-sparql-test.c',
dependencies: [tracker_common_dep, tracker_sparql_dep],
c_args: tracker_c_args)
c_args: [tracker_c_args, test_c_args])
test('sparql', sparql_test)
gb_737023_test = executable('tracker-gb-737023-test',
'tracker-gb-737023.c',
dependencies: [tracker_common_dep, tracker_sparql_dep],
c_args: tracker_c_args)
c_args: [tracker_c_args, test_c_args])
test('gb_737023', sparql_test)
test_c_args = [
'-DTEST_DOMAIN_ONTOLOGY_RULE="@0@/src/tracker-store/default.rule"'.format(meson.current_source_dir()),
'-DTEST_ONTOLOGIES_DIR="@0@/src/ontologies/nepomuk"'.format(meson.current_source_dir()),
]
steroids_test = executable('tracker-steroids-test',
'tracker-test.c',
dependencies: [tracker_common_dep, tracker_sparql_dep],
c_args: tracker_c_args)
c_args: [tracker_c_args, test_c_args])
test('steroids', steroids_test)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment