From 4cc0abb94f94db16533a6737de3e892409e389fc Mon Sep 17 00:00:00 2001 From: Andrey Mokhov Date: Sun, 31 Jan 2016 00:00:48 +0000 Subject: [PATCH] Add a note on validate target See #187. [skip ci] --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 56e13add80..0a60d11f19 100644 --- a/README.md +++ b/README.md @@ -83,8 +83,13 @@ the previous build are still in the GHC tree. #### Testing -* `shake-build/build.sh test` runs GHC tests. The current implementation is very -limited and cannot replace the `validate` script (see [#187][validation-issue]). +* `shake-build/build.sh validate` runs GHC tests by simply executing `make fast` in `testsuite/tests` +directory. This can be used instead of `sh validate --fast --no-clean` in the existing build system. +Note: this will rebuild Stage2 GHC, `ghc-pkg` and `hpc` if they are out of date. + +* `shake-build/build.sh test` runs GHC tests by calling the `testsuite/driver/runtests.py` python +script with appropriate flags. The current implementation is limited and cannot replace the +`validate` script (see [#187][validation-issue]). * `shake-build/build.sh selftest` runs tests of the build system. Current test coverage is close to zero (see [#197][test-issue]).