Francois Gouget : testbot/WineRunBuild: Check dependencies when grabbing test executables.

Alexandre Julliard julliard at winehq.org
Thu Aug 23 13:43:38 CDT 2018


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

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Thu Aug 23 10:46:45 2018 +0200

testbot/WineRunBuild: Check dependencies when grabbing test executables.

There is no need to try and grab test executables for steps that don't
depend on this build step.

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

---

 testbot/bin/WineRunBuild.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testbot/bin/WineRunBuild.pl b/testbot/bin/WineRunBuild.pl
index 32369b1..2c5fbfa 100755
--- a/testbot/bin/WineRunBuild.pl
+++ b/testbot/bin/WineRunBuild.pl
@@ -342,7 +342,8 @@ if ($Step->FileType ne "patch")
 my (%Bitnesses, %TestExes);
 foreach my $TestStep (@{$Job->Steps->GetItems()})
 {
-  if ($TestStep->FileType =~ /^exe([0-9]+)$/)
+  if (($TestStep->PreviousNo || 0) == $Step->No and
+      $TestStep->FileType =~ /^exe([0-9]+)$/)
   {
     $Bitnesses{$1} = 1;
     $TestExes{$TestStep->FileName} = 1;




More information about the wine-cvs mailing list