aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2017-08-09 12:37:12 -0700
committerDan Willemsen <dwillemsen@google.com>2017-08-09 12:37:12 -0700
commitbad563e7e4a7e9990e46dd22487dc6ee070e9023 (patch)
tree989657116efd29d0c3c78d2e46558cf84190b5c5 /test
parentc78f7149fedd171aa5e7b2071d601b4d21ce4773 (diff)
downloadlinux-x86-bad563e7e4a7e9990e46dd22487dc6ee070e9023.tar.gz
Update prebuilts to go1.9rc2 ab/4258011android-o-iot-preview-5o-iot-preview-5
Test: m -j blueprint_tools Change-Id: Ia91e93d1e3159d17c39de62ad9e41bc88dfa60f8
Diffstat (limited to 'test')
-rw-r--r--test/README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/README.md b/test/README.md
new file mode 100644
index 000000000..ca6a8c658
--- /dev/null
+++ b/test/README.md
@@ -0,0 +1,15 @@
+The test directory contains tests of the Go tool chain and runtime.
+It includes black box tests, regression tests, and error output tests.
+They are run as part of all.bash.
+
+To run just these tests, execute:
+
+ go run run.go
+
+Standard library tests should be written as regular Go tests in the appropriate package.
+
+The tool chain and runtime also have regular Go tests in their packages.
+The main reasons to add a new test to this directory are:
+
+* it is most naturally expressed using the test runner; or
+* it is also applicable to `gccgo` and other Go tool chains.