Module: tools Branch: master Commit: 2e7a90c1568a9d77d5bca80c7342e537e732a22b URL: http://source.winehq.org/git/tools.git/?a=commit;h=2e7a90c1568a9d77d5bca80c7... Author: Francois Gouget <fgouget(a)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(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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; }