diff options
| author | Volker Weißmann <volker.weissmann@gmx.de> | 2021-10-14 01:35:14 +0200 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2021-10-30 22:26:28 -0400 |
| commit | 2c079d855ed87488bdcc6c5c06f59abdb9b85b6c (patch) | |
| tree | 62206d581a9ff764d948da94d4478dba85bce765 /test cases/common/97 find program path | |
| parent | 3c103fe49ccca848d255b9b00365e74ce35400a4 (diff) | |
| download | meson-2c079d855ed87488bdcc6c5c06f59abdb9b85b6c.tar.gz | |
Added warning if run_command is called without the check kwarg
Diffstat (limited to 'test cases/common/97 find program path')
| -rw-r--r-- | test cases/common/97 find program path/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test cases/common/97 find program path/meson.build b/test cases/common/97 find program path/meson.build index 0a812499a..edb649363 100644 --- a/test cases/common/97 find program path/meson.build +++ b/test cases/common/97 find program path/meson.build @@ -12,11 +12,11 @@ py = configure_file(input : 'program.py', configuration : configuration_data()) foreach f : [prog, progf, py, find_program(py), find_program(progf)] - ret = run_command(python, f) + ret = run_command(python, f, check: false) assert(ret.returncode() == 0, 'can\'t manually run @0@'.format(prog.path())) assert(ret.stdout().strip() == 'Found', 'wrong output from manually-run @0@'.format(prog.path())) - ret = run_command(f) + ret = run_command(f, check: false) assert(ret.returncode() == 0, 'can\'t run @0@'.format(prog.path())) assert(ret.stdout().strip() == 'Found', 'wrong output from @0@'.format(prog.path())) endforeach |
