meson: Add check argument to remaining run_command() calls

This commit is contained in:
Jan Janssen
2022-01-11 14:56:30 +01:00
parent bbec46c817
commit 68a06b3cdf
6 changed files with 19 additions and 13 deletions
+4 -3
View File
@@ -16,12 +16,13 @@ sanitize_address_undefined = custom_target(
sanitizers = [['address,undefined', sanitize_address_undefined]]
if git.found()
if git.found() and fs.exists(project_source_root / '.git')
out = run_command(env, '-u', 'GIT_WORK_TREE',
git, '--git-dir=@0@/.git'.format(project_source_root),
'ls-files', ':/test/fuzz/*/*')
'ls-files', ':/test/fuzz/*/*',
check: true)
else
out = run_command(sh, '-c', 'ls @0@/test/fuzz/*/*'.format(project_source_root))
out = run_command(sh, '-c', 'ls @0@/test/fuzz/*/*'.format(project_source_root), check: true)
endif
fuzz_regression_tests = []