aboutsummaryrefslogtreecommitdiff
path: root/src/internal/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/cpu')
-rw-r--r--src/internal/cpu/cpu_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/cpu/cpu_test.go b/src/internal/cpu/cpu_test.go
index b8c74f2e9c..a6fe7f77f3 100644
--- a/src/internal/cpu/cpu_test.go
+++ b/src/internal/cpu/cpu_test.go
@@ -30,7 +30,7 @@ func runDebugOptionsTest(t *testing.T, test string, options string) {
env := "GODEBUG=" + options
- cmd := exec.Command(os.Args[0], "-test.run="+test)
+ cmd := exec.Command(os.Args[0], "-test.run=^"+test+"$")
cmd.Env = append(cmd.Env, env)
output, err := cmd.CombinedOutput()