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
path: root/tests
diff options
context:
space:
mode:
authorJanne Grunau <janne-vlc@jannau.net>2021-01-20 23:12:11 +0300
committerJanne Grunau <janne-vlc@jannau.net>2021-01-20 23:15:40 +0300
commitdd32acea9dbc801ac3bfea94ad7cef29e0596ac9 (patch)
tree9f8c8e3a8097997681047dd8295bcb8aeedd7427 /tests
parent11cb2efa84281cbdb5c6f388b662a12c1b57fc1a (diff)
build: unbreak '-Denable_tools=false' build and add CI
oss-fuzz uses '-Denable_tools=false'.
Diffstat (limited to 'tests')
-rw-r--r--tests/meson.build36
1 files changed, 19 insertions, 17 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 34e13be..32925e5 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -125,23 +125,25 @@ endforeach
# fuzzing binaries
subdir('libfuzzer')
-# seek stress test binary
-seek_stress_sources = files('seek_stress.c')
-seek_stress = executable('seek_stress',
- seek_stress_sources, rev_target,
- objects: [
- dav1d.extract_objects('dav1d_cli_parse.c'),
- dav1d_input_objs.extract_objects('input/input.c', 'input/ivf.c'),
- ],
- include_directories: [dav1d_inc_dirs, include_directories('../tools')],
- link_with: libdav1d,
- dependencies: [
- thread_dependency,
- rt_dependency,
- getopt_dependency,
- libm_dependency,
- ],
-)
+# seek stress test binary, depends on dav1d cli tool
+if get_option('enable_tools')
+ seek_stress_sources = files('seek_stress.c')
+ seek_stress = executable('seek_stress',
+ seek_stress_sources, rev_target,
+ objects: [
+ dav1d.extract_objects('dav1d_cli_parse.c'),
+ dav1d_input_objs.extract_objects('input/input.c', 'input/ivf.c'),
+ ],
+ include_directories: [dav1d_inc_dirs, include_directories('../tools')],
+ link_with: libdav1d,
+ dependencies: [
+ thread_dependency,
+ rt_dependency,
+ getopt_dependency,
+ libm_dependency,
+ ],
+ )
+endif
# Include dav1d test data repository with additional tests
if get_option('testdata_tests')