aboutsummaryrefslogtreecommitdiff
path: root/tests/buildtab/testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-07-18 13:36:04 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-07-18 13:36:04 +0300
commitbf4822a17eed8bdaf9d337caf806c63c82b06a89 (patch)
tree5885d17a2d8d88e6b0f18f44c4bc3871670534e2 /tests/buildtab/testscript
parent0e7c846f7b971366ea0dc5fb81477165495bebb9 (diff)
Make buildtab target to be non-optional
Diffstat (limited to 'tests/buildtab/testscript')
-rw-r--r--tests/buildtab/testscript22
1 files changed, 14 insertions, 8 deletions
diff --git a/tests/buildtab/testscript b/tests/buildtab/testscript
index 6bf76bc..8180d85 100644
--- a/tests/buildtab/testscript
+++ b/tests/buildtab/testscript
@@ -10,20 +10,18 @@
: all-fileds-combinations
:
$* <<EOF >>EOF
- windows*-vc_14* windows-vc_14
windows*-vc_14* windows-vc_14-32 i686-microsoft-win32-msvc14.0
- windows*-vc_14* windows-vc_14debug config.cc.coptions=/Z7 config.cc.loptions=/DEBUG
- windows*-vc_14* windows-vc_14-32-debug i686-microsoft-win32-msvc14.0 config.cc.coptions=/Z7 config.cc.loptions=/DEBUG
+ windows*-vc_14* windows-vc_14-32-debug i686-microsoft-win32-msvc14.0 config.cc.coptions=/Z7 config.cc.loptions=/DEBUG ~"warning C4\d{3}: "
EOF
: empty-lines
:
$* <<EOI >>EOO
- windows*-vc_14* windows-vc_14-32-debug
+ windows*-vc_14* windows-vc_14-32-debug i686-microsoft-win32-msvc14.0
# abc
EOI
- windows*-vc_14* windows-vc_14-32-debug
+ windows*-vc_14* windows-vc_14-32-debug i686-microsoft-win32-msvc14.0
EOO
}
@@ -38,6 +36,14 @@
cin:1:16: error: no configuration name found
EOE
+ : no-target
+ :
+ $* <<EOI 2>>EOE == 1
+ windows*-vc_14* windows-vc_14-32
+ EOI
+ cin:1:33: error: no target found
+ EOE
+
: invalid-target
:
$* <<EOI 2>>EOE == 1
@@ -52,9 +58,9 @@
: unquoted
:
$* <<EOI 2>>EOE == 1
- windows*-vc_14* windows-vc_14-32 config.cc.coptions="/Z7
+ windows*-vc_14* windows-vc_14-32 i686-microsoft-win32-msvc14.0 config.cc.coptions="/Z7
EOI
- cin:1:57: error: unterminated quoted string
+ cin:1:87: error: unterminated quoted string
EOE
: no-value
@@ -69,7 +75,7 @@
: dup-config-name
:
$* <<EOI 2>'cin:2:17: error: duplicate configuration name' == 1
- windows*-vc_14* windows-vc_14-32
+ windows*-vc_14* windows-vc_14-32 i686-microsoft-win32-msvc14.0
windows*-vc_14* windows-vc_14-32 i686-microsoft-win32-msvc14.0
EOI
}