[commit: ghc] wip/nfs-locking: Add a note on validate target (4cc0abb)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:58:11 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/4cc0abb94f94db16533a6737de3e892409e389fc/ghc

>---------------------------------------------------------------

commit 4cc0abb94f94db16533a6737de3e892409e389fc
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Sun Jan 31 00:00:48 2016 +0000

    Add a note on validate target
    
    See #187. [skip ci]


>---------------------------------------------------------------

4cc0abb94f94db16533a6737de3e892409e389fc
 README.md | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 56e13ad..0a60d11 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]).



More information about the ghc-commits mailing list