Francois Gouget : testbot/reporttest: Add tests for the 'dll versions' block.

Alexandre Julliard julliard at winehq.org
Wed Mar 31 15:25:38 CDT 2021


Module: tools
Branch: master
Commit: ad7db22ca097738324201b2631de57a2aa18130e
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=ad7db22ca097738324201b2631de57a2aa18130e

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Wed Mar 31 13:13:55 2021 +0200

testbot/reporttest: Add tests for the 'dll versions' block.

Exercise handling of the messages dealing with missing dlls, dll loading
errors, and dll version detection errors.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/src/reporttest/report.template | 20 ++++++++++----------
 testbot/src/reporttest/report.testwtbs |  6 +++++-
 2 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/testbot/src/reporttest/report.template b/testbot/src/reporttest/report.template
index 9624c90..f1dbfd6 100644
--- a/testbot/src/reporttest/report.template
+++ b/testbot/src/reporttest/report.template
@@ -198,16 +198,16 @@ Dll info:
     wldap32=5.1.2600.5512
     wmiutils=5.1.2600.5512
     wmp=11.0.5721.5280
-    wpc=dll is missing
-    ws2_32=5.1.2600.5512
-    wscript.exe=5.7.0.18066
-    wshom.ocx=5.7.0.18066
-    wsnmp32=5.1.2600.5512
-    wtsapi32=5.1.2600.5512
-    xaudio2_7=dll is missing
-    xcopy.exe=5.1.2600.5512
-    xinput1_3=dll is missing
-    xmllite=1.0.1018.0
+    wpc=dll is native
+    ws2_32=dll is a stub
+    wscript.exe=dll is missing
+    wshom.ocx=dll is missing an ordinal (1.0)
+    wsnmp32=dll is missing an entrypoint (version not found)
+    wtsapi32=dll is missing the requested side-by-side version
+    xaudio2_7=load error 5
+    xcopy.exe=version not found
+    xinput1_3=version error 5
+    xmllite=version not present 2
 Test output:
 stub advapi32:cred
 ----- WTBS Simple test patch
diff --git a/testbot/src/reporttest/report.testwtbs b/testbot/src/reporttest/report.testwtbs
index 104c8ea..7b56e13 100644
--- a/testbot/src/reporttest/report.testwtbs
+++ b/testbot/src/reporttest/report.testwtbs
@@ -13,12 +13,16 @@ with:
 
 
 ----- TestWTBS -----
-p tests.TestFailures 68
+p tests.TestFailures 70
 
 p build.HasTask 0
 a wine.log.GrepV ^Applying patch
 a wine.log.GrepV ^Rebuilding the
 
+g 0 tests.report.
+n 0     wpc=dll is native
+n 0     xaudio2_7=load error 5
+
 g 0 tests.report.advapi32
 n 0 crypt.c:1: Test failed: Something wrong
 n 0 crypt_lmhash.c:10: Test failed: Something wrong




More information about the wine-cvs mailing list