cmd/dist: do not skip 'cmd' tests in race mode

Fixes #37940

Change-Id: Ib869a4bf84296dac201cc7252431d7161b9c96f4
Reviewed-on: https://go-review.googlesource.com/c/go/+/224038
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go
index 43d8089..5baab69 100644
--- a/src/cmd/dist/test.go
+++ b/src/cmd/dist/test.go
@@ -1527,9 +1527,6 @@
 }
 
 func (t *tester) shouldTestCmd() bool {
-	if t.race {
-		return false
-	}
 	if goos == "js" && goarch == "wasm" {
 		// Issues 25911, 35220
 		return false