Francois Gouget : testbot: Fix support for test=module.

Alexandre Julliard julliard at winehq.org
Tue Nov 6 14:00:18 CST 2018


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

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Tue Nov  6 20:06:00 2018 +0100

testbot: Fix support for test=module.

Check that the patched module has tests (Files field), not that it
has patched test units (Units field).

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

---

 testbot/bin/build/WineTest.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/bin/build/WineTest.pl b/testbot/bin/build/WineTest.pl
index 3d6c12e..516b18e 100755
--- a/testbot/bin/build/WineTest.pl
+++ b/testbot/bin/build/WineTest.pl
@@ -140,7 +140,7 @@ sub TestPatch($$)
       {
         # When given a module name WineTest runs all its tests.
         # But make sure the module actually has tests first!
-        push @TestList, $Module if (%{$TestInfo->{Units}});
+        push @TestList, $Module if (%{$TestInfo->{Files}});
       }
       else
       {




More information about the wine-cvs mailing list