[PATCH 1/2] testbot: Fix support for test=module.
Francois Gouget
fgouget at codeweavers.com
Tue Nov 6 13:06:00 CST 2018
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>
---
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 893a74dd59..efd1498445 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
{
--
2.19.1
More information about the wine-devel
mailing list