Francois Gouget : testbot: Don' t rerun the tests if only the makefile was modified.

Alexandre Julliard julliard at winehq.org
Mon Apr 3 07:15:21 CDT 2017


Module: tools
Branch: master
Commit: 2e7a90c1568a9d77d5bca80c7342e537e732a22b
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=2e7a90c1568a9d77d5bca80c7342e537e732a22b

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Mon Apr  3 01:50:27 2017 +0200

testbot: Don't rerun the tests if only the makefile was modified.

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

---

 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 d7987d6..d5de05e 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;
       }




More information about the wine-cvs mailing list