From 9f67c29eb46884d9d18611897a9f32542d4566b4 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Sat, 30 Jul 2016 13:51:53 +0530 Subject: [PATCH] Add test for the new find program workaround for Windows --- test cases/windows/9 find program/meson.build | 4 ++++ test cases/windows/9 find program/test-script | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 test cases/windows/9 find program/meson.build create mode 100644 test cases/windows/9 find program/test-script 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 000000000..ef3458685 --- /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 000000000..d105a818d --- /dev/null +++ b/test cases/windows/9 find program/test-script @@ -0,0 +1,3 @@ +#!/usr/bin/env python + +print('1')