aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2016-07-30 13:51:53 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2016-07-30 15:20:02 +0530
commit9f67c29eb46884d9d18611897a9f32542d4566b4 (patch)
tree0d6afc102bb666ec3c4f5aca9c42baee28bb37cd
parent577b6dfdf63cde697ff33226950175a93578e2b8 (diff)
downloadmeson-9f67c29eb46884d9d18611897a9f32542d4566b4.zip
meson-9f67c29eb46884d9d18611897a9f32542d4566b4.tar.gz
meson-9f67c29eb46884d9d18611897a9f32542d4566b4.tar.bz2
Add test for the new find program workaround for Windows
-rw-r--r--test cases/windows/9 find program/meson.build4
-rw-r--r--test cases/windows/9 find program/test-script3
2 files changed, 7 insertions, 0 deletions
diff --git a/test cases/windows/9 find program/meson.build b/test cases/windows/9 find program/meson.build
new file mode 100644
index 0000000..ef34586
--- /dev/null
+++ b/test cases/windows/9 find program/meson.build
@@ -0,0 +1,4 @@
+project('find program', 'c')
+
+prog = find_program('test-script')
+test('script', prog)
diff --git a/test cases/windows/9 find program/test-script b/test cases/windows/9 find program/test-script
new file mode 100644
index 0000000..d105a81
--- /dev/null
+++ b/test cases/windows/9 find program/test-script
@@ -0,0 +1,3 @@
+#!/usr/bin/env python
+
+print('1')