aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/97 find program path
diff options
context:
space:
mode:
authorVolker Weißmann <volker.weissmann@gmx.de>2021-10-14 01:35:14 +0200
committerEli Schwartz <eschwartz93@gmail.com>2021-10-30 22:26:28 -0400
commit2c079d855ed87488bdcc6c5c06f59abdb9b85b6c (patch)
tree62206d581a9ff764d948da94d4478dba85bce765 /test cases/common/97 find program path
parent3c103fe49ccca848d255b9b00365e74ce35400a4 (diff)
downloadmeson-2c079d855ed87488bdcc6c5c06f59abdb9b85b6c.zip
meson-2c079d855ed87488bdcc6c5c06f59abdb9b85b6c.tar.gz
meson-2c079d855ed87488bdcc6c5c06f59abdb9b85b6c.tar.bz2
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.build4
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 0a81249..edb6493 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