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/linuxlike | |
| parent | 3c103fe49ccca848d255b9b00365e74ce35400a4 (diff) | |
| download | meson-2c079d855ed87488bdcc6c5c06f59abdb9b85b6c.tar.gz | |
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.build | 2 | ||||
| -rw-r--r-- | test cases/linuxlike/15 ld binary/meson.build | 2 |
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 871208b22..94d07d1c7 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 987763edd..6452813ea 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) |
