[commit: ghc] wip/nfs-locking: Add testing section (eee29dc)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:15:29 UTC 2017


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

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

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

commit eee29dc165adceebda020444214e28d0d7456860
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Thu Jan 28 02:51:52 2016 +0000

    Add testing section
    
    [skip ci]


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

eee29dc165adceebda020444214e28d0d7456860
 README.md | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 18ba8f6..56e13ad 100644
--- a/README.md
+++ b/README.md
@@ -75,9 +75,19 @@ experiment following the Haddock comments.
 
 #### Clean and full rebuild
 
-* `shake-build/build.sh clean` removes all build artefacts. Note, we are working towards a complete separation of GHC sources and build artefacts: [#113][build-artefacts-issue].
+* `shake-build/build.sh clean` removes all build artefacts. Note, we are working
+towards a complete separation of GHC sources and build artefacts: [#113][build-artefacts-issue].
 
-* `shake-build/build.sh -B` forces Shake to rerun all rules, even if results of the previous build are still in the GHC tree. 
+* `shake-build/build.sh -B` forces Shake to rerun all rules, even if results of
+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 selftest` runs tests of the build system. Current test
+coverage is close to zero (see [#197][test-issue]).
 
 Current limitations
 -------------------
@@ -120,6 +130,7 @@ helped me endure and enjoy the project.
 [build-artefacts-issue]: https://github.com/snowleopard/shaking-up-ghc/issues/113
 [ghc-split-objs-bug]: https://ghc.haskell.org/trac/ghc/ticket/11315
 [user-settings]: https://github.com/snowleopard/shaking-up-ghc/blob/master/src/Settings/User.hs
+[test-issue]: https://github.com/snowleopard/shaking-up-ghc/issues/197
 [dynamic-issue]: https://github.com/snowleopard/shaking-up-ghc/issues/4
 [profiling-issue]: https://github.com/snowleopard/shaking-up-ghc/issues/186
 [haddock-issue]: https://github.com/snowleopard/shaking-up-ghc/issues/98



More information about the ghc-commits mailing list