diff options
author | Marvin Scholz <epirat07@gmail.com> | 2018-10-14 16:10:40 +0300 |
---|---|---|
committer | Jean-Baptiste Kempf <jb@videolan.org> | 2018-10-30 15:39:43 +0300 |
commit | ea707934502d7591e14b62860c0d2f65a6543082 (patch) | |
tree | 2ec73e37268263888f3cf96b1d7d3c2667fe05ff | |
parent | 8fbd87e5041a340a30c20428f4caa540cb931550 (diff) |
Add option to include extra testdata tests
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | meson_options.txt | 5 | ||||
-rw-r--r-- | tests/meson.build | 5 |
3 files changed, 11 insertions, 0 deletions
@@ -4,3 +4,4 @@ *~ tags .DS_Store +/tests/dav1d-test-data diff --git a/meson_options.txt b/meson_options.txt index d39c61d..08e75ad 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -20,6 +20,11 @@ option('build_tests', value: true, description: 'Build dav1d tests') +option('testdata_tests', + type: 'boolean', + value: false, + description: 'Run tests requiring the test data repository') + option('fuzzing_engine', type: 'combo', choices : ['none', 'libfuzzer', 'oss-fuzz'], diff --git a/tests/meson.build b/tests/meson.build index 17ec906..7135276 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -117,3 +117,8 @@ dav1d_fuzzer_mt = executable('dav1d_fuzzer_mt', build_by_default: true, dependencies : [thread_dependency], ) + +# Include dav1d test data repository with additional tests +if get_option('testdata_tests') + subdir('dav1d-test-data') +endif |