aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2017-09-18 04:57:21 +0530
committerJussi Pakkanen <jpakkane@gmail.com>2017-09-18 18:27:01 +0300
commit5068f13a287123b9bd73dbb95b9d7faa33b420a4 (patch)
treeeb550ea092da3409a6eb293336f34abb43de7d65
parent10cdb9ebc98e16657273400db0e24cc0ad24c680 (diff)
downloadmeson-5068f13a287123b9bd73dbb95b9d7faa33b420a4.zip
meson-5068f13a287123b9bd73dbb95b9d7faa33b420a4.tar.gz
meson-5068f13a287123b9bd73dbb95b9d7faa33b420a4.tar.bz2
tests/common/159: Don't try to run 'echo'
It's not available on Windows. It was passing in the CI because bash tools are available on AppVeyor by default.
-rw-r--r--test cases/common/159 reserved targets/meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/test cases/common/159 reserved targets/meson.build b/test cases/common/159 reserved targets/meson.build
index 26572c0..24fd937 100644
--- a/test cases/common/159 reserved targets/meson.build
+++ b/test cases/common/159 reserved targets/meson.build
@@ -26,6 +26,9 @@ subdir('uninstall')
subdir('runtarget')
+py3 = import('python3').find_python()
+
custom_target('ctlist-test', output : 'out.txt',
- command : ['echo'], capture : true,
+ command : [py3, '-c', 'print("")'],
+ capture : true,
build_by_default : true)