aboutsummaryrefslogtreecommitdiff
path: root/test/run.go
diff options
context:
space:
mode:
authorCherry Zhang <cherryyz@google.com>2021-02-11 19:55:07 -0500
committerCherry Zhang <cherryyz@google.com>2021-02-16 21:51:58 +0000
commitd3cd4830adf45ce53c586a83f9d78421484737fd (patch)
tree2a751e76a8c1e64733a2168fadde016a42548571 /test/run.go
parent03cea563d156736a916137d0f68a14dc86c552a0 (diff)
downloadgo-d3cd4830adf45ce53c586a83f9d78421484737fd.tar.gz
go-d3cd4830adf45ce53c586a83f9d78421484737fd.zip
[dev.regabi] test: run abi/regabipragma test with -c=1dev.regabi
Currently, we call Warnl in SSA backend when we see a function (defined or called) with regparams pragma. Calling Warnl in concurrent environment is racy. As the debugging output is temporary, for testing purposes we just pass -c=1. We'll remove the pragma and the debugging print some time soon. Change-Id: I6f925a665b953259453fc458490c5ff91f67c91a Reviewed-on: https://go-review.googlesource.com/c/go/+/291710 TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Jeremy Faller <jeremy@golang.org> Trust: Cherry Zhang <cherryyz@google.com> Run-TryBot: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'test/run.go')
-rw-r--r--test/run.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/run.go b/test/run.go
index 116f983a97..dba4d16d63 100644
--- a/test/run.go
+++ b/test/run.go
@@ -902,6 +902,7 @@ func (t *test) run() {
if *linkshared {
cmd = append(cmd, "-linkshared")
}
+ cmd = append(cmd, flags...)
cmd = append(cmd, ".")
out, err := runcmd(cmd...)
if err != nil {