Commit ea707934 authored by Marvin Scholz's avatar Marvin Scholz Committed by Jean-Baptiste Kempf

Add option to include extra testdata tests

parent 8fbd87e5
...@@ -4,3 +4,4 @@ ...@@ -4,3 +4,4 @@
*~ *~
tags tags
.DS_Store .DS_Store
/tests/dav1d-test-data
...@@ -20,6 +20,11 @@ option('build_tests', ...@@ -20,6 +20,11 @@ option('build_tests',
value: true, value: true,
description: 'Build dav1d tests') description: 'Build dav1d tests')
option('testdata_tests',
type: 'boolean',
value: false,
description: 'Run tests requiring the test data repository')
option('fuzzing_engine', option('fuzzing_engine',
type: 'combo', type: 'combo',
choices : ['none', 'libfuzzer', 'oss-fuzz'], choices : ['none', 'libfuzzer', 'oss-fuzz'],
......
...@@ -117,3 +117,8 @@ dav1d_fuzzer_mt = executable('dav1d_fuzzer_mt', ...@@ -117,3 +117,8 @@ dav1d_fuzzer_mt = executable('dav1d_fuzzer_mt',
build_by_default: true, build_by_default: true,
dependencies : [thread_dependency], dependencies : [thread_dependency],
) )
# Include dav1d test data repository with additional tests
if get_option('testdata_tests')
subdir('dav1d-test-data')
endif
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