Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin Scholz <epirat07@gmail.com>2018-10-14 16:10:40 +0300
committerJean-Baptiste Kempf <jb@videolan.org>2018-10-30 15:39:43 +0300
commitea707934502d7591e14b62860c0d2f65a6543082 (patch)
tree2ec73e37268263888f3cf96b1d7d3c2667fe05ff
parent8fbd87e5041a340a30c20428f4caa540cb931550 (diff)
Add option to include extra testdata tests
-rw-r--r--.gitignore1
-rw-r--r--meson_options.txt5
-rw-r--r--tests/meson.build5
3 files changed, 11 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e12b4d7..e553571 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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