meson: Add 'enable_seek_stress' option
Allows to explicitly enable/disable seek-stress tests.
This commit is contained in:
committed by
Ronald S. Bultje
parent
b084160736
commit
2c9bbb4908
@@ -497,6 +497,7 @@ test-debian:
|
||||
script:
|
||||
- meson setup build --buildtype release
|
||||
-Dtestdata_tests=true
|
||||
-Denable_seek_stress=true
|
||||
-Dlogging=false
|
||||
-Db_coverage=true
|
||||
-Dtrim_dsp=false
|
||||
@@ -562,6 +563,7 @@ test-debian-unaligned-stack:
|
||||
script:
|
||||
- meson setup build --buildtype release
|
||||
-Dtestdata_tests=true
|
||||
-Denable_seek_stress=true
|
||||
-Dlogging=false
|
||||
-Dstack_alignment=16
|
||||
-Dtrim_dsp=false
|
||||
@@ -599,6 +601,7 @@ test-debian-msan:
|
||||
script:
|
||||
- meson setup build --buildtype debugoptimized
|
||||
-Dtestdata_tests=true
|
||||
-Denable_seek_stress=true
|
||||
-Dlogging=false
|
||||
-Db_sanitize=memory
|
||||
-Db_lundef=false
|
||||
@@ -617,6 +620,7 @@ test-debian-ubsan:
|
||||
script:
|
||||
- meson setup build --buildtype debugoptimized
|
||||
-Dtestdata_tests=true
|
||||
-Denable_seek_stress=true
|
||||
-Dlogging=false
|
||||
-Db_sanitize=undefined
|
||||
-Db_lundef=false
|
||||
@@ -635,6 +639,7 @@ test-debian-tsan:
|
||||
script:
|
||||
- meson setup build --buildtype debugoptimized
|
||||
-Dtestdata_tests=true
|
||||
-Denable_seek_stress=true
|
||||
-Dlogging=false
|
||||
-Db_sanitize=thread
|
||||
-Db_lundef=false
|
||||
|
||||
@@ -25,6 +25,11 @@ option('enable_tests',
|
||||
value: true,
|
||||
description: 'Build dav1d tests')
|
||||
|
||||
option('enable_seek_stress',
|
||||
type: 'boolean',
|
||||
value: true,
|
||||
description: 'Build seek_stress test tool')
|
||||
|
||||
option('enable_docs',
|
||||
type: 'boolean',
|
||||
value: false,
|
||||
|
||||
+1
-1
@@ -128,7 +128,7 @@ endforeach
|
||||
subdir('libfuzzer')
|
||||
|
||||
# seek stress test binary, depends on dav1d cli tool
|
||||
if get_option('enable_tools')
|
||||
if (get_option('enable_tools') and get_option('enable_seek_stress'))
|
||||
seek_stress_sources = files('seek_stress.c')
|
||||
seek_stress = executable('seek_stress',
|
||||
seek_stress_sources, rev_target,
|
||||
|
||||
Reference in New Issue
Block a user