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:
parent
8fbd87e504
commit
ea70793450
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@
|
||||
*~
|
||||
tags
|
||||
.DS_Store
|
||||
/tests/dav1d-test-data
|
||||
|
@ -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'],
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user