aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Liao <sean@liao.dev>2024-12-02 22:34:33 +0000
committerGopher Robot <gobot@golang.org>2024-12-03 02:49:10 +0000
commitdcde8e07817c26d6818e802f4055b3d2b5f95e00 (patch)
tree7cb4714334e984896cddd351d4f63411d9550c4a
parent2cd9967541a388fdd6379897c400a7f1c276abe9 (diff)
downloadgo-x-website-dcde8e07817c26d6818e802f4055b3d2b5f95e00.tar.xz
_content/doc: differentiate between all package tests and all.bash
Fixes golang/go#29266 Change-Id: I45c1fc588f0c124142e3cad425c1cc298a28c3b9 Reviewed-on: https://go-review.googlesource.com/c/website/+/632897 Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
-rw-r--r--_content/doc/contribute.html15
1 files changed, 11 insertions, 4 deletions
diff --git a/_content/doc/contribute.html b/_content/doc/contribute.html
index 3e70f0a1..d435033e 100644
--- a/_content/doc/contribute.html
+++ b/_content/doc/contribute.html
@@ -623,17 +623,24 @@ tree</i> to make sure the changes don't break other packages or programs.
<h4 id="test-gorepo">In the main Go repository</h4>
-<p>This can be done by running <code>all.bash</code>:</p>
+<p>
+For standard library packages, all tests within the package must pass:
+</p>
<pre>
-$ cd go/src
-$ ./all.bash
+$ go test
</pre>
<p>
-(To build under Windows use <code>all.bat</code>)
+The short test suite for the entire tree can be run with <code>all.bash</code>
+(To build under Windows use <code>all.bat</code>):
</p>
+<pre>
+$ cd go/src
+$ ./all.bash
+</pre>
+
<p>
After running for a while and printing a lot of testing output, the command should finish
by printing,