aboutsummaryrefslogtreecommitdiff
path: root/test cases/linuxlike
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/linuxlike
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/linuxlike')
-rw-r--r--test cases/linuxlike/13 cmake dependency/meson.build2
-rw-r--r--test cases/linuxlike/15 ld binary/meson.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/test cases/linuxlike/13 cmake dependency/meson.build b/test cases/linuxlike/13 cmake dependency/meson.build
index 871208b..94d07d1 100644
--- a/test cases/linuxlike/13 cmake dependency/meson.build
+++ b/test cases/linuxlike/13 cmake dependency/meson.build
@@ -7,7 +7,7 @@ if not find_program('cmake', required: false).found()
endif
# CMake version
-cm_vers = run_command(find_program('./cmVers.sh')).stdout().strip()
+cm_vers = run_command(find_program('./cmVers.sh'), check: true).stdout().strip()
# Zlib is probably on all dev machines.
diff --git a/test cases/linuxlike/15 ld binary/meson.build b/test cases/linuxlike/15 ld binary/meson.build
index 987763e..6452813 100644
--- a/test cases/linuxlike/15 ld binary/meson.build
+++ b/test cases/linuxlike/15 ld binary/meson.build
@@ -1,4 +1,4 @@
project('ld binary')
ld = find_program('ld')
-assert(run_command(ld, '--version').returncode() == 0)
+assert(run_command(ld, '--version', check: false).returncode() == 0)