1
mirror of https://code.videolan.org/videolan/dav1d synced 2024-11-14 22:58:33 +01:00

Add option to include extra testdata tests

This commit is contained in:
Marvin Scholz 2018-10-14 15:10:40 +02:00 committed by Jean-Baptiste Kempf
parent 8fbd87e504
commit ea70793450
3 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
*~
tags
.DS_Store
/tests/dav1d-test-data

View File

@ -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'],

View File

@ -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