diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-08-24 01:46:36 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-08-24 01:46:36 +0300 |
commit | 0259f906f2c6db0d6181a37cbd4ba3ee70fa9269 (patch) | |
tree | d92c0a19ac4b7636024254b16cf1606f0c4b2a7e /test cases | |
parent | 1467acc1bba1992f92284145400669352938c6d1 (diff) | |
download | meson-0259f906f2c6db0d6181a37cbd4ba3ee70fa9269.zip meson-0259f906f2c6db0d6181a37cbd4ba3ee70fa9269.tar.gz meson-0259f906f2c6db0d6181a37cbd4ba3ee70fa9269.tar.bz2 |
Can run test suite through mingw cross compiler.
Diffstat (limited to 'test cases')
-rw-r--r-- | test cases/common/31 find program/meson.build | 2 | ||||
-rw-r--r-- | test cases/common/38 run program/meson.build | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test cases/common/31 find program/meson.build b/test cases/common/31 find program/meson.build index ec9c33b..7a407a9 100644 --- a/test cases/common/31 find program/meson.build +++ b/test cases/common/31 find program/meson.build @@ -1,6 +1,6 @@ project('find program', 'c') -if host.name() == 'windows' +if build.name() == 'windows' # Things Windows does not provide: # - an executable to copy files without prompting # - working command line quoting diff --git a/test cases/common/38 run program/meson.build b/test cases/common/38 run program/meson.build index 5fe03d3..4f02a35 100644 --- a/test cases/common/38 run program/meson.build +++ b/test cases/common/38 run program/meson.build @@ -1,6 +1,6 @@ project('run command', 'c') -if host.name() == 'windows' +if build.name() == 'windows' c = run_command('cmd', '/c', 'echo', 'hello') else c = run_command('echo', 'hello') @@ -24,7 +24,7 @@ endif # Now the same with a script. -if host.name() == 'windows' +if build.name() == 'windows' cs = run_command('scripts/hello.bat') else cs = run_command('scripts/hello.sh') |