aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-03-16 19:46:48 +0000
committerJussi Pakkanen <jpakkane@gmail.com>2021-03-17 12:02:05 +0200
commit639063db7f095d7e1c1b5054a488fb6992b1051d (patch)
treed72162851d5ff0fe7fa3842563ad01b385fbc4ec /test cases
parent0638e38bfc8ef969c7ea9e2005ff051c14dab0f9 (diff)
downloadmeson-639063db7f095d7e1c1b5054a488fb6992b1051d.zip
meson-639063db7f095d7e1c1b5054a488fb6992b1051d.tar.gz
meson-639063db7f095d7e1c1b5054a488fb6992b1051d.tar.bz2
One more unixy fix.
Diffstat (limited to 'test cases')
-rw-r--r--test cases/failing build/5 failed pickled/false.py4
-rw-r--r--test cases/failing build/5 failed pickled/meson.build2
2 files changed, 5 insertions, 1 deletions
diff --git a/test cases/failing build/5 failed pickled/false.py b/test cases/failing build/5 failed pickled/false.py
new file mode 100644
index 0000000..865aeb9
--- /dev/null
+++ b/test cases/failing build/5 failed pickled/false.py
@@ -0,0 +1,4 @@
+#!/usr/bin/env python3
+
+import sys
+sys.exit(1)
diff --git a/test cases/failing build/5 failed pickled/meson.build b/test cases/failing build/5 failed pickled/meson.build
index 28115d5..9245020 100644
--- a/test cases/failing build/5 failed pickled/meson.build
+++ b/test cases/failing build/5 failed pickled/meson.build
@@ -1,7 +1,7 @@
project('failed pickled command')
custom_target('failure',
- command: ['false', '\n'],
+ command: [find_program('false.py'), '\n'],
output: 'output.txt',
build_by_default: true,
)