Francois Gouget : testbot/reporttest: Add a test for garbled pids.
Alexandre Julliard
julliard at winehq.org
Mon Mar 15 16:58:03 CDT 2021
Module: tools
Branch: master
Commit: f345af68e72c61a944406a51a009891f42011949
URL: https://source.winehq.org/git/tools.git/?a=commit;h=f345af68e72c61a944406a51a009891f42011949
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Mon Mar 15 10:30:04 2021 +0100
testbot/reporttest: Add a test for garbled pids.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 afdc317..8e5f72c 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 09264ca..e198827 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!
More information about the wine-cvs
mailing list