[tools] testbot/reporttest: Add a test for garbled pids.
Francois Gouget
fgouget at codeweavers.com
Mon Mar 15 04:30:04 CDT 2021
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
testbot/src/reporttest/report.template | 10 +++++++++-
testbot/src/reporttest/report.testwtbs | 4 +++-
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/testbot/src/reporttest/report.template b/testbot/src/reporttest/report.template
index afdc317f4..8e5f72c2b 100644
--- a/testbot/src/reporttest/report.template
+++ b/testbot/src/reporttest/report.template
@@ -525,7 +525,15 @@ subprocess crashes either. This is why the error is "Zero exit code" and not
07b0:rebar: 2251 tests executed (0 marked as todo, 0 failures), 0 skipped.
comctl32:rebar:07b0 done (0) in 0s
-stub comctl32:status
+comctl32:status start dlls/comctl32/tests/status.c -
+----- A test unit with a garbled exception and summary pids, and garbled done
+----- line.
+----- Expected assessement: Crash
+This is
+garbled0123:status: unhandled exception c0000005 at 0040167C
+status.c:33: unhandled exception c0000005 in child process 0123dead
+garbled07b0:status: 5 tests executed (0 marked as todo, 1 failures), 0 skipped.
+garbledcomctl32:status:07b0 done (1) in 0s
comctl32:subclass start dlls/comctl32/tests/subclass.c -
----- A test unit with a subprocess crash, and a non-zero exit code
diff --git a/testbot/src/reporttest/report.testwtbs b/testbot/src/reporttest/report.testwtbs
index 09264cadf..e1988278c 100644
--- a/testbot/src/reporttest/report.testwtbs
+++ b/testbot/src/reporttest/report.testwtbs
@@ -13,7 +13,7 @@ with:
----- TestWTBS -----
-p tests.TestFailures 66
+p tests.TestFailures 68
p build.HasTask 0
a wine.log.GrepV ^Applying patch
@@ -50,6 +50,8 @@ n 0 comboex.c:40: Test failed: A failure in the main process
n 0 comboex.c:41: Test succeeded inside todo block: Success in the main process
n 0 header.c:1: Test failed: Something wrong
n 0 1234:rebar: unhandled exception c0000005 at 0040167C
+n 0 garbled0123:status: unhandled exception c0000005 at 0040167C
+n 0 status.c:33: unhandled exception c0000005 in child process 0123dead
n 0 1234:subclass: unhandled exception c0000005 at 0040167C
n 0 Do not cut syslink.c:40: Test failed: Something wrong
n 0 Do not cut syslink.c:41: Test succeeded inside todo block: Something right!
--
2.20.1
More information about the wine-devel
mailing list