summaryrefslogtreecommitdiff
path: root/validate
Commit message (Collapse)AuthorAgeFilesLines
...
* Update `sync-all` and others files w.r.t. merged testsuite (re #8545)Herbert Valerio Riedel2014-01-121-2/+1
| | | | | | | | | | | | | See merge commit 66693401b98cb5aa912948af7bbd2182474f50c4 This commit also adds a check for a left-over testsuite/.git folder to sync-all This way, the first time sync-all is called after updating to a post-testsuite-merge (see #8545) state of ghc.git, the sync-all script aborts with an error message if a `testsuite/.git` folder is detected and thus forces the user to take action. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Add a --no-dph flag to ./validateAustin Seipp2013-09-041-1/+12
| | | | | | | | | | | | Under --slow, the DPH tests can take incredible amounts of time to run. And on some platforms, we may not have a fully working linker in order to build DPH etc anyway. So this provides a way to turn it off. This flag is off by default, but should your specify it, you can skip the required 'dph' libraries in a build, should you remove them from the source tree. Signed-off-by: Austin Seipp <aseipp@pobox.com>
* Teach `validate` script how to `--help`Herbert Valerio Riedel2013-08-311-15/+35
| | | | | This basically turns the comment at the beginning of the `validate` shell script into an interactive `--help` output plus some minor additions.
* Run ghc-pkg check during validateIan Lynagh2013-05-301-0/+19
| | | | Should help to track down cache-out-of-date problems
* Ship transformers with GHCIan Lynagh2013-01-021-6/+3
| | | | | This means that we can use the standard MonadIO class, rather than needing our own copy.
* Fix the transformers-building code, and move it from validate to ghc.mkIan Lynagh2012-10-251-22/+1
| | | | | This makes life easier, as ghc.mk has access to HADDOCK_DOCS and DYNAMIC_BY_DEFAULT, so knows the right way to build it.
* Full validates now install transformers rather than mtlIan Lynagh2012-05-191-3/+4
|
* Tweak the HADDOCK_DOCS regex in validateIan Lynagh2012-03-091-1/+1
| | | | | It's less precise now, but still good enough for what we need, and this way we don't need to have literal tabs in the file.
* Fix validating with HADDOCK_DOCS=YESIan Lynagh2012-02-221-8/+9
|
* Add a hack to make validating with HADDOCK_DOCS=NO workIan Lynagh2012-02-211-3/+16
| | | | | | I've also renamed the bindisttest install directory to contain multiple spaces, so we are also testing that multiple spaces aren't getting collapsed into a single space.
* Record ValidateSpeed and ValidateHpc in mk/are-validating.mkIan Lynagh2011-11-261-2/+4
| | | | This makes "make" keep working after a "./validate --fast".
* Make the --fast option to validate faster, and add --normalSimon Marlow2011-11-161-32/+53
| | | | | | | | | | | | The --fast option now disables the following: - dynamic libs - bindist and bindisttest Which knocks several minutes off validate for me, but it's still over 30 minutes using 5 cores on 64-bit Linux. Usual caveats apply: if you're using --fast, then make sure you aren't doing anything that might destabilise dynamic libs or binary dists.
* Have validate check for the "files written by multiple tests" errorIan Lynagh2011-08-081-1/+2
| | | | | We don't actually enable the test yet, but when we do validate will check whether it fails.
* Merge branch 'master' of http://darcs.haskell.org/ghcSimon Peyton Jones2011-07-291-1/+8
|\
| * validate now checks that the testsuite exists first; trac #5089Ian Lynagh2011-07-141-0/+7
| |
| * Check mk/validate.mk exists before we try grepping itIan Lynagh2011-06-261-1/+1
| |
* | Merge branch 'master' of http://darcs.haskell.org/ghcSimon Peyton Jones2011-06-201-4/+7
|\ \ | |/
| * haddock the mtl package when validatingIan Lynagh2011-06-161-4/+7
| | | | | | | | | | This fixes the ghcpkg05 test failure. (ghc-pkg check was complaining because the mtl docs didn't exist).
* | Add a comment about how to do validate while capturing a debug log,Simon Peyton Jones2011-06-201-0/+1
|/ | | | for debugging the build system.
* Install the mtl package into the bindist when validating. This allowsSimon Marlow2011-05-241-0/+15
| | | | | some more tests to run (those with reqlib('mtl')) and serves as an extra sanity check on Cabal and the bindist.
* Make the boot script complain if mk/build.mk doesn't existIan Lynagh2011-04-141-1/+1
| | | | | If we aren't validating and mk/build.mk doesn't exist then boot prints a warning, pointing at instructions for setting up mk/build.mk.
* Update meta-repo stuffIan Lynagh2011-03-311-0/+0
|
* For bindists, build ghc-pwd with stage 1Ian Lynagh2010-11-211-1/+1
| | | | | | rather then the bootstrapping compiler. This fixes problems where the bootstrapping compiler dynamically links against libraries not on the target machine.
* Have boot check that we have the dph packages when validatingIan Lynagh2010-10-141-1/+1
|
* Make "./validate --slow" run the full testsuiteIan Lynagh2010-10-071-1/+8
|
* make test and fulltest targets in the main Makefile; fixes #4297Ian Lynagh2010-09-301-1/+1
| | | | | | You can now run "make test" in the root, and the fast testsuite will be run with cleaning enabled. It will also put the summary in testsuite_summary.txt.
* In validate, use gmake if available; based on a patch from Gabor PALIIan Lynagh2010-05-171-5/+12
|
* Add a ghc.mk for bindisttest/Ian Lynagh2010-05-081-1/+1
|
* Convert boot and boot-pkgs to perlIan Lynagh2010-04-151-1/+1
| | | | This stops us having to worry about sh/sed/... portability.
* Allow specifying $threads directly when validatingIan Lynagh2010-03-211-3/+7
|
* When validating, run the testsuite with the bindisttest compilerIan Lynagh2009-10-091-1/+1
|
* Don't remake the bindist when validating with --testsuite-onlyIan Lynagh2009-10-091-3/+4
|
* We no longer need to specify the gcc and ld location when validatingIan Lynagh2009-09-301-12/+0
| | | | on Windows, as they are now in-tree
* Run bindisttest when validatingIan Lynagh2009-09-281-0/+3
|
* Validate now cleans regardless of whether mk/config.mk existsIan Lynagh2009-09-211-3/+1
| | | | Cleaning should always succeed now
* add the missing final row of dashes in the success messageSimon Marlow2009-06-151-0/+3
|
* don't clean GMP before validating (it rarely changes, and is slow to build)Simon Marlow2009-05-211-1/+1
|
* validate now uses maintainer-clean, not distcleanSimon Marlow2009-05-141-1/+1
|
* validate does "exit 1" if it failsSimon Marlow2009-05-131-1/+3
|
* Rename pwd to ghc-pwdIan Lynagh2009-05-071-1/+1
|
* Simplify utils/pwdIan Lynagh2009-05-051-1/+1
| | | | | We only need the forwardslash mode now, so always use that mode and don't accept any arguments.
* GHC new build system megapatchIan Lynagh2009-04-261-1/+6
|
* go back to using $CPUS + 1 for the number of threads to useSimon Marlow2009-03-301-1/+1
|
* add --with-ld=c:/mingw/bin/ldSimon Marlow2009-03-051-0/+4
|
* A few bug fixes; some improvements spurred by paper writingdias@eecs.harvard.edu2009-03-031-1/+1
| | | | | | | | | | | | Among others: - Fixed Stg->C-- translation of let-no-escapes -- it's important to use the right continuation... - Fixed infinite recursion in X86 backend (shortcutJump mishandled infinite loops) - Fixed yet another wrong calling convention -- primops take args only in vanilla regs, but they may return results on the stack! - Removed StackInfo from LGraph and Block -- now in LastCall and CmmZ - Updated avail-variable and liveness code
* Check whether mk/validate.mk defines anything after validatingIan Lynagh2008-10-071-0/+8
|
* Change how we know whether or not we are validatingIan Lynagh2008-08-171-2/+4
| | | | | | | | We now set Validating=YES in mk/are-validating.mk rather than on the commandline. This means that if you build a tree with validate then just running make in it will use the validate flags. "make distclean" removes mk/are-validating.mk, putting us back in standard build mode.
* Ooops; lack of mk/confi.mk doesn't mean validate shouldn't run configure!Ian Lynagh2008-08-061-2/+4
|
* Don't boot/configure if we are validating --no-cleanIan Lynagh2008-08-041-16/+16
|
* Add a comment in validate saying where the hpc HTML is putIan Lynagh2008-07-071-0/+1
|