[Tools 3/3] testbot: Don't rerun the tests if only the makefile was modified.

Francois Gouget fgouget at codeweavers.com
Sun Apr 2 18:50:27 CDT 2017


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/lib/WineTestBot/Patches.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/testbot/lib/WineTestBot/Patches.pm b/testbot/lib/WineTestBot/Patches.pm
index d7987d6c..d5de05e4 100644
--- a/testbot/lib/WineTestBot/Patches.pm
+++ b/testbot/lib/WineTestBot/Patches.pm
@@ -170,6 +170,8 @@ sub Submit($$$)
       elsif ($Line =~ m~^\+\+\+ .*/(dlls|programs)/([^/]+)/tests/([^/\s]+)~)
       {
         my ($FileType, $Module, $Unit) = ("patch$1", $2, $3);
+        # Assume makefile modifications may break the build but not the tests
+        next if ($Unit eq "Makefile.in");
         $Unit = "" if ($Unit !~ s/\.c$//);
         $Modules{$Module}{$Unit} = $FileType;
       }
-- 
2.11.0



More information about the wine-patches mailing list