]> Cypherpunks repositories - gostls13.git/commitdiff
misc/dashboard: show all race builders as "race"
authorDmitriy Vyukov <dvyukov@google.com>
Wed, 26 Jun 2013 17:20:53 +0000 (21:20 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Wed, 26 Jun 2013 17:20:53 +0000 (21:20 +0400)
race is more important than arch (moreover race implies x64)
don't know how to test it

R=golang-dev, dave, r
CC=golang-dev
https://golang.org/cl/10484046

misc/dashboard/app/build/ui.go

index cc3629a5ae6ab28d5b7881a5205846d0baf460fa..3e2b523e9e0229ae0e6976d76a0dff5b74e0b302 100644 (file)
@@ -211,7 +211,7 @@ func builderArch(s string) string {
 
 // builderArchShort returns a short arch tag for a builder string
 func builderArchShort(s string) string {
-       if s == "linux-amd64-race" {
+       if strings.Contains(s+"-", "-race-") {
                return "race"
        }
        arch := builderArch(s)