[gjs/meson.msvc: 11/11] installed-tests/meson.build: Skip simple tests for MSVC builds
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/meson.msvc: 11/11] installed-tests/meson.build: Skip simple tests for MSVC builds
- Date: Mon, 28 Oct 2019 06:56:30 +0000 (UTC)
commit 62d15ad9fdddb1cb852a4ea6c650a6d72dcf388f
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Oct 28 14:54:29 2019 +0800
installed-tests/meson.build: Skip simple tests for MSVC builds
The test scripts are not understood on a standard cmd.exe shell, which
is used by MSVC builds.
Don't run these tests on MSVC builds, for now.
installed-tests/meson.build | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/installed-tests/meson.build b/installed-tests/meson.build
index 3d2cf9e8..b6c4e449 100644
--- a/installed-tests/meson.build
+++ b/installed-tests/meson.build
@@ -6,10 +6,16 @@ test_descriptions_dir = (get_option('datadir') / 'installed-tests' /
# Simple shell script tests #
-simple_tests = [
- 'CommandLine',
- 'Warnings',
-]
+simple_tests = []
+
+# The test scripts need to be ported from shell scripts
+# for MSVC builds, which do not use BASH-style shells
+if cxx.get_id() != 'msvc'
+ simple_tests += [
+ 'CommandLine',
+ 'Warnings',
+ ]
+endif
foreach test : simple_tests
test_file = files('scripts' / 'test@0@.sh'.format(test))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]