
#11737: Make validate --testsuite-only behave correctly w.r.t. bindisttest -------------------------------------+------------------------------------- Reporter: goldfire | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Build System | Version: 8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by thomie):
wasn't sure it would run the same set of tests in the same way It should. If you want to know more, it's probably best to look at validate script itself. The line that calls the tests is: {{{ $make $MAKE_TEST_TARGET stage=2 $BINDIST $TEST_VERBOSITY THREADS=$threads 2>&1 | tee testlog }}}
`validate --no-clean --lax-dependencies` or `validate --no-clean --stage-2`. You can create a file `mk/validate.mk` containing `stage=2` and `LAX_DEPENDENCIES = YES`.
When running `./validate` (or when running `make` with a leftover `mk/are- validating.mk` file), the build system reads settings from `mk/validate.mk` instead of `mk/build.mk`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11737#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler