diff options
author | Davide Cavalca <dcavalca@fb.com> | 2019-02-27 11:19:07 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-03-12 15:01:47 +0100 |
commit | 1485aacb161d7207027f4d5a07dfdb5a496dd725 (patch) | |
tree | 6ff4d5e8c17b900512c7d72e3708f75882c681b0 /test/fuzz/meson.build | |
parent | fb6692ed33052bc4ad01c961d09af72aeaa9b854 (diff) | |
download | systemd-1485aacb161d7207027f4d5a07dfdb5a496dd725.tar.gz |
meson: scope more git invocations with current_source_dir()
Diffstat (limited to 'test/fuzz/meson.build')
-rw-r--r-- | test/fuzz/meson.build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/fuzz/meson.build b/test/fuzz/meson.build index daec2ead88..c514f57fe3 100644 --- a/test/fuzz/meson.build +++ b/test/fuzz/meson.build @@ -4,7 +4,7 @@ sanitize_address = custom_target( 'sanitize-address-fuzzers', output : 'sanitize-address-fuzzers', command : [meson_build_sh, - meson.source_root(), + project_source_root, '@OUTPUT@', 'fuzzers', '-Db_lundef=false -Db_sanitize=address', @@ -16,11 +16,11 @@ sanitizers = [['address', sanitize_address]] if git.found() out = run_command( git, - '--git-dir=@0@/.git'.format(meson.source_root()), + '--git-dir=@0@/.git'.format(project_source_root), 'ls-files', ':/test/fuzz/*/*') else out = run_command( - 'sh', '-c', 'ls @0@/*/*'.format(meson.current_source_dir())) + 'sh', '-c', 'ls @0@/test/fuzz/*/*'.format(project_source_root)) endif fuzz_regression_tests = [] |