[PATCH] testbot/web: Tweak the label of 64 bit tests on the Activity page.

Francois Gouget fgouget at codeweavers.com
Fri Dec 22 02:55:28 CST 2017


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/web/Activity.pl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/testbot/web/Activity.pl b/testbot/web/Activity.pl
index 677272f4..c3a1f48d 100644
--- a/testbot/web/Activity.pl
+++ b/testbot/web/Activity.pl
@@ -183,9 +183,11 @@ EOF
         {
           $Label .= " ". $VMStatus->{step}->FileName;
           if ($VMStatus->{task}->CmdLineArg =~ /^\w+$/ and
-              $Label =~ s/_(?:cross)?test\.exe$//)
+              $Label =~ s/_(?:cross)?test(64)?\.exe$//)
           {
+            my $Bitness = $1;
             $Label .= ":". $VMStatus->{task}->CmdLineArg;
+            $Label .= "/64" if ($Bitness);
           }
         }
         $Label = "<a href='/JobDetails.pl?Key=". $VMStatus->{job}->Id ."#k". ($VMStatus->{step}->No * 100 + $VMStatus->{task}->No) ."'>$Label</a>";
-- 
2.15.1



More information about the wine-devel mailing list