aboutsummaryrefslogtreecommitdiff
path: root/test/codegen
diff options
context:
space:
mode:
authorDmitri Shuralyov <dmitshur@golang.org>2023-05-09 09:50:19 -0400
committerGopher Robot <gobot@golang.org>2023-05-12 17:18:08 +0000
commit7cc4516ac8305acf3689a2b755932512a1bf6efd (patch)
treed09b7d41027a12800617cc7d3822af1b48e183b9 /test/codegen
parentcecf8b93283dd9fddacdf05db583644a2f3b0bbb (diff)
downloadgo-7cc4516ac8305acf3689a2b755932512a1bf6efd.tar.xz
internal/testdir: move to cmd/internal/testdir
The effect and motivation is for the test to be selected when doing 'go test cmd' and not when doing 'go test std' since it's primarily about testing the Go compiler and linker. Other than that, it's run by all.bash and 'go test std cmd' as before. For #56844. Fixes #60059. Change-Id: I2d499af013f9d9b8761fdf4573f8d27d80c1fccf Reviewed-on: https://go-review.googlesource.com/c/go/+/493876 Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'test/codegen')
-rw-r--r--test/codegen/README2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/codegen/README b/test/codegen/README
index 1d68780394..5a4684284b 100644
--- a/test/codegen/README
+++ b/test/codegen/README
@@ -21,7 +21,7 @@ GOARCH are enabled by default, and only on GOOS=linux.
To perform comprehensive tests for all the supported architectures
(even on a non-Linux system), one can run the following command:
- $ ../../bin/go test internal/testdir -run='Test/codegen' -all_codegen -v
+ $ ../../bin/go test cmd/internal/testdir -run='Test/codegen' -all_codegen -v
This is recommended after any change that affect the compiler's code.