aboutsummaryrefslogtreecommitdiff
path: root/tests/test/script/runner/redirect.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-11-17 01:52:51 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-11-17 12:03:36 +0300
commit83005f5c8de788f3b2fec9b186a766814004895d (patch)
tree0ecef30660bee50827bce49a87e003475e9dba0c /tests/test/script/runner/redirect.testscript
parent35e4dda6c64716bc04627d7544ccb3ee9a07616e (diff)
Print id of failed test
Diffstat (limited to 'tests/test/script/runner/redirect.testscript')
-rw-r--r--tests/test/script/runner/redirect.testscript12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/test/script/runner/redirect.testscript b/tests/test/script/runner/redirect.testscript
index 7e4e42d..f752403 100644
--- a/tests/test/script/runner/redirect.testscript
+++ b/tests/test/script/runner/redirect.testscript
@@ -99,6 +99,7 @@ psr = ($cxx.target.class != 'windows' ? '/' : '\\') # Path separator in regex.
%@@ \.*%
-bar
+foo
+ info: test id: 1
EOE
$c <'$* -i 2 <foo 2>foo' && $b : inerr
@@ -115,6 +116,7 @@ psr = ($cxx.target.class != 'windows' ? '/' : '\\') # Path separator in regex.
-foo
+foo
\ No newline at end of file
+ info: test id: 1
EOE
: no-newline-fail2
@@ -125,6 +127,7 @@ psr = ($cxx.target.class != 'windows' ? '/' : '\\') # Path separator in regex.
-foo
\ No newline at end of file
+foo
+ info: test id: 1
EOE
: merge
@@ -162,6 +165,7 @@ psr = ($cxx.target.class != 'windows' ? '/' : '\\') # Path separator in regex.
info: stdout: test/1/stdout
info: stdout regex: test/1/stdout.regex
fooo
+ info: test id: 1
EOE
: portable-path-failure
@@ -178,6 +182,7 @@ psr = ($cxx.target.class != 'windows' ? '/' : '\\') # Path separator in regex.
info: stdout regex: test/1/stdout.regex
info: stdin: test/1/stdin
foo
+ info: test id: 1
EOE
cat test/1/stdout.regex >"%bar$psr%"
@@ -189,6 +194,7 @@ psr = ($cxx.target.class != 'windows' ? '/' : '\\') # Path separator in regex.
info: stdout regex: test/1/stdout.regex
info: stdin: test/1/stdin
foo
+ info: test id: 1
EOE
cat test/1/stdout.regex >:"%bar$psr%"
}
@@ -303,6 +309,7 @@ psr = ($cxx.target.class != 'windows' ? '/' : '\\') # Path separator in regex.
-foo
+foo
\ No newline at end of file
+ info: test id: 1
EOE
: no-newline-fail2
@@ -319,6 +326,7 @@ psr = ($cxx.target.class != 'windows' ? '/' : '\\') # Path separator in regex.
-foo
\ No newline at end of file
+foo
+ info: test id: 1
EOE
: no-newline-empty
@@ -371,6 +379,7 @@ psr = ($cxx.target.class != 'windows' ? '/' : '\\') # Path separator in regex.
info: expected stdout: test/1/stdout.orig
info: stdout diff: test/1/stdout.diff
info: stdin: test/1/stdin
+ info: test id: 1
EOE
: portable-path
@@ -445,6 +454,7 @@ psr = ($cxx.target.class != 'windows' ? '/' : '\\') # Path separator in regex.
info: stdout: test/1/stdout
info: stdout regex: test/1/stdout.regex
foo
+ info: test id: 1
EOE
: mismatch-icase
@@ -458,6 +468,7 @@ psr = ($cxx.target.class != 'windows' ? '/' : '\\') # Path separator in regex.
info: stdout: test/1/stdout
info: stdout regex: test/1/stdout.regex-i
foo
+ info: test id: 1
EOE
}
}
@@ -501,6 +512,7 @@ psr = ($cxx.target.class != 'windows' ? '/' : '\\') # Path separator in regex.
%@@ \.*%
-foo
+bar
+ info: test id: 1
EOE
}