diff options
Diffstat (limited to 'tests/functional-tests/meson.build')
-rw-r--r-- | tests/functional-tests/meson.build | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/functional-tests/meson.build b/tests/functional-tests/meson.build index 50d47e2ac..70130f65e 100644 --- a/tests/functional-tests/meson.build +++ b/tests/functional-tests/meson.build @@ -9,6 +9,7 @@ testconf.set('TEST_ONTOLOGIES_DIR', tracker_uninstalled_nepomuk_ontologies_dir) testconf.set('TEST_DBUS_DAEMON_CONFIG_FILE', build_root / 'tests' / 'test-bus.conf') testconf.set('TEST_PORTAL_FLATPAK_INFO', source_root / 'tests' / 'flatpak-info') testconf.set('TRACKER_VERSION', meson.project_version()) +testconf.set('TEST_TAP_ENABLED', get_option('tests_tap_protocol')) config_json = configure_file( input: 'configuration.json.in', @@ -39,12 +40,18 @@ test_env.prepend('LD_LIBRARY_PATH', tracker_sparql_uninstalled_dir) test_env.prepend('PYTHONPATH', tracker_uninstalled_testutils_dir) test_env.set('TRACKER_FUNCTIONAL_TEST_CONFIG', config_json_full_path) +if get_option('tests_tap_protocol') + protocol = 'tap' +else + protocol = 'exitcode' +endif + foreach test_name: functional_tests file = meson.current_source_dir() / '@0@.py'.format(test_name) test(test_name, python, args: [file], env: test_env, - protocol: 'tap', + protocol: protocol, suite: ['functional'], timeout: 60) endforeach |