mirror of
https://github.com/systemd/systemd
synced 2025-11-09 03:44:46 +01:00
Compare commits
No commits in common. "5dd1469ef1a2a561968c6490b2e78814e7f3024f" and "766507972b2e8ae1616a6db39231e19e4663f873" have entirely different histories.
5dd1469ef1
...
766507972b
@ -308,7 +308,6 @@ meson_build_sh = find_program('tools/meson-build.sh')
|
|||||||
|
|
||||||
want_tests = get_option('tests')
|
want_tests = get_option('tests')
|
||||||
slow_tests = want_tests != 'false' and get_option('slow-tests')
|
slow_tests = want_tests != 'false' and get_option('slow-tests')
|
||||||
fuzz_tests = want_tests != 'false' and get_option('fuzz-tests')
|
|
||||||
install_tests = get_option('install-tests')
|
install_tests = get_option('install-tests')
|
||||||
|
|
||||||
if add_languages('cpp', required : fuzzer_build)
|
if add_languages('cpp', required : fuzzer_build)
|
||||||
@ -3351,7 +3350,7 @@ foreach tuple : sanitizers
|
|||||||
if name != prev
|
if name != prev
|
||||||
if want_tests == 'false'
|
if want_tests == 'false'
|
||||||
message('Not compiling @0@ because tests is set to false'.format(name))
|
message('Not compiling @0@ because tests is set to false'.format(name))
|
||||||
elif slow_tests or fuzz_tests
|
elif slow_tests
|
||||||
exe = custom_target(
|
exe = custom_target(
|
||||||
name,
|
name,
|
||||||
output : name,
|
output : name,
|
||||||
@ -3361,12 +3360,12 @@ foreach tuple : sanitizers
|
|||||||
'@OUTPUT@'],
|
'@OUTPUT@'],
|
||||||
build_by_default : true)
|
build_by_default : true)
|
||||||
else
|
else
|
||||||
message('Not compiling @0@ because slow-tests/fuzz-tests is set to false'.format(name))
|
message('Not compiling @0@ because slow-tests is set to false'.format(name))
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
prev = name
|
prev = name
|
||||||
|
|
||||||
if want_tests != 'false' and (slow_tests or fuzz_tests)
|
if want_tests != 'false' and slow_tests
|
||||||
test('@0@:@1@:@2@'.format(b, c, sanitizer),
|
test('@0@:@1@:@2@'.format(b, c, sanitizer),
|
||||||
env,
|
env,
|
||||||
env : ['UBSAN_OPTIONS=print_stacktrace=1:print_summary=1:halt_on_error=1'],
|
env : ['UBSAN_OPTIONS=print_stacktrace=1:print_summary=1:halt_on_error=1'],
|
||||||
|
|||||||
@ -351,8 +351,6 @@ option('tests', type : 'combo', choices : ['true', 'unsafe', 'false'],
|
|||||||
description : 'enable extra tests with =unsafe')
|
description : 'enable extra tests with =unsafe')
|
||||||
option('slow-tests', type : 'boolean', value : 'false',
|
option('slow-tests', type : 'boolean', value : 'false',
|
||||||
description : 'run the slow tests by default')
|
description : 'run the slow tests by default')
|
||||||
option('fuzz-tests', type : 'boolean', value : 'false',
|
|
||||||
description : 'run the fuzzer regression tests by default')
|
|
||||||
option('install-tests', type : 'boolean', value : 'false',
|
option('install-tests', type : 'boolean', value : 'false',
|
||||||
description : 'install test executables')
|
description : 'install test executables')
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user