aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/runtest
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/runtest')
-rw-r--r--pkg/runtest/run.go3
-rw-r--r--pkg/runtest/run_test.go1
2 files changed, 0 insertions, 4 deletions
diff --git a/pkg/runtest/run.go b/pkg/runtest/run.go
index d9f0aa25a..e95a1aa38 100644
--- a/pkg/runtest/run.go
+++ b/pkg/runtest/run.go
@@ -241,7 +241,6 @@ nextSandbox:
"arch=" + ctx.Target.Arch: true,
}
for _, threaded := range []bool{false, true} {
- name := name
if threaded {
name += "/thr"
}
@@ -259,7 +258,6 @@ nextSandbox:
if times != 1 {
break
}
- name := name
if cov {
name += "/cover"
}
@@ -277,7 +275,6 @@ nextSandbox:
// and copy the binary to the target system.
continue
}
- name := name
properties["C"] = true
properties["executor"] = false
name += " C"
diff --git a/pkg/runtest/run_test.go b/pkg/runtest/run_test.go
index f11d2d231..09a401bb7 100644
--- a/pkg/runtest/run_test.go
+++ b/pkg/runtest/run_test.go
@@ -370,7 +370,6 @@ func testCover(t *testing.T, target *prog.Target) {
}
executor := csource.BuildExecutor(t, target, "../../")
for i, test := range tests {
- test := test
t.Run(fmt.Sprint(i), func(t *testing.T) {
t.Parallel()
source := queue.Plain()