[PATCH] testbot/WineRunBuild: Check dependencies when grabbing test executables.

Francois Gouget fgouget at codeweavers.com
Thu Aug 23 03:46:45 CDT 2018


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>
---
 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 32369b191..2c5fbfa29 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;
-- 
2.18.0




More information about the wine-devel mailing list