testing: local-ci-build: Document TEST_ONLY=1

TEST_ONLY=1 dodges the analysis passes that the CI infrastructure would
otherwise run against the code.

Change-Id: I59c944fa082300da6b34eb68d612fee700e6b6ec
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/testing/local-ci-build.md b/testing/local-ci-build.md
index d5b6265..d48bae7 100644
--- a/testing/local-ci-build.md
+++ b/testing/local-ci-build.md
@@ -69,6 +69,18 @@
 `NO_FORMAT_CODE=1` tells the script to skip the `format-code.sh` so that it
 will not format the code and thus your repo could contain un-committed changes.
 
+## Run CI for testing purposes only
+
+To only invoke the test suite and not get caught up the various analysis passes
+that might be run otherwise, set `TEST_ONLY=1`.
+
+E.g.
+
+```shell
+WORKSPACE=$(pwd) UNIT_TEST_PKG=phosphor-hwmon TEST_ONLY=1 \
+./openbmc-build-scripts/run-unit-test-docker.sh
+```
+
 ## Reference an Existing Repo with `git worktree`
 
 If you're actively developing on a local copy of a repo already, or you want to