summaryrefslogtreecommitdiff
path: root/testsuite/mk
Commit message (Collapse)AuthorAgeFilesLines
* Add 'make list_brokens'Ian Lynagh2013-02-111-0/+10
| | | | | | Gives a list of tickets that the testsuite thinks are broken, and what bug it thinks is the reason. This can then be pasted into trac and 'previewed', which will show any closed tickets with strikeout.
* Handles TEST_HC=c:/... on WindowsIan Lynagh2013-01-261-2/+14
|
* Only run dynamicToo001 if we have both vanilla and dynamic librariesIan Lynagh2012-12-141-1/+8
|
* Use python2 if it exists. Based on a patch from michalt. Fixes #7333.Ian Lynagh2012-11-301-0/+3
|
* Add if_compiler_debugged to testsuite driverIan Lynagh2012-11-102-0/+3
| | | | arrowfail001 currently fails only when DEBUG is defined.
* Merge branch 'master' of darcs.haskell.org:/srv/darcs//testsuiteIan Lynagh2012-10-301-24/+40
|\ | | | | | | | | Conflicts: mk/test.mk
| * fix HAVE_VANILLA when we have both static profiling and vanilla libsSimon Marlow2012-10-301-1/+1
| |
| * make it optional to have DynamicByDefault, to support older GHCsSimon Marlow2012-10-301-24/+40
| | | | | | | | | | It's often useful to be able to say 'make TEST_HC=ghc' to check that a test really fails with a different GHC.
* | Fix the have-we-got-vanilla-libraries testIan Lynagh2012-10-301-3/+3
|/ | | | It thought that the profiling libraries were vanilla
* Testsuite fixes for when we only have dynamic librariesIan Lynagh2012-10-251-0/+9
|
* ghcilink001 is expected to fail when ghci is dynamicIan Lynagh2012-10-121-2/+2
| | | | dynamic ghci can't load .a files
* Add a -static way, enabled only if dynlibs are used by defaultIan Lynagh2012-10-032-0/+7
|
* don't include $(EXTRA_HC_OPTS) twiceSimon Marlow2012-08-081-1/+0
|
* Avoid using deprecated package-conf GHC flags.Paolo Capriotti2012-06-082-1/+14
|
* Go back to using -no-user-package-conf for a whileSimon Marlow2012-05-221-1/+1
| | | | | | So that we can still use the testsuite with older compilers. We should really test the GHC version, but I don't want to add another $(shell). Maybe modifying ghcconfig.hs would be better.
* Rename package-conf flags to package-db.Paolo Capriotti2012-05-151-1/+1
|
* Fix the way we find the path to 'ar'Ian Lynagh2012-05-032-10/+12
| | | | Fixes ghcilink001 on Windows
* substitute for $topdir in $(AR)Simon Marlow2012-05-011-2/+12
| | | | Fixes ghcilink001, ghcilink004 on Windows
* Don't try to run ghc-config when cleaningSimon Marlow2012-05-011-0/+2
|
* Fix llvm checkDavid Terei2012-03-061-1/+1
|
* Wibbles to testsuite/mk/boilerplate.mkSimon Peyton Jones2012-03-051-3/+4
| | | | ...after consulting with Simon M on a conflict
* Merge branch 'master' of http://darcs.haskell.org//testsuiteSimon Peyton Jones2012-03-021-2/+5
|\ | | | | | | | | Conflicts: mk/boilerplate.mk
| * Follow change in bindisttest install directory nameIan Lynagh2012-02-211-1/+1
| |
| * Remove some Makefile debugging codeIan Lynagh2012-02-101-2/+0
| |
| * Filter colons out of ghc-config-mkIan Lynagh2012-02-101-1/+3
| | | | | | | | Otherwise the colon confuses make on Windows
| * Don't use TOP_ABS in Makefile rulesIan Lynagh2012-02-091-4/+7
| | | | | | | | The : in c:/foo/bar on Windows confuses make.
* | Don't fail if "ar command" is not foundSimon Peyton Jones2012-01-201-2/+8
| |
* | Fix for Windows, and delete the .mk file if ghc-config failsSimon Peyton Jones2012-01-201-2/+2
|/
* fix (non-fast) validateSimon Marlow2012-01-171-2/+4
|
* Revert "The LLVM backend now only works with 2.9+, don't try it if we have 2.7"David Terei2012-01-171-7/+1
| | | | This reverts commit 0114212f8588211d3dd6735d55127bce2cc1dad7.
* The LLVM backend now only works with 2.9+, don't try it if we have 2.7Simon Marlow2012-01-161-1/+7
| | | | | | | This fix is very wrong, but I'm drowning in optllvm failures and need to fix this ASAP (it's somewhat suboptimal that I won't be able to run the LLVM tests here until I upgrade the OS or install a later LLVM manually).
* Parse the ghc --info values using a Haskell program, and cache the resultsSimon Marlow2012-01-163-33/+48
| | | | | Should improve startup time of make in the testsuite, and it is simpler.
* fix $(HAVE_PROFILING) on WindowsSimon Marlow2011-12-191-1/+1
|
* Get the value of $(AR) from ghc --infoSimon Marlow2011-12-131-0/+5
| | | | On Windows, 'ar' might not necessarily be on $PATH.
* Define the GHC "compiler_always_flags" in make; fixes trac #5213Ian Lynagh2011-11-171-1/+3
| | | | We now pass the "always" flags to Makefile tests as well as python tests.
* Don't clean tests that we aren't runningIan Lynagh2011-09-051-0/+6
| | | | | | | | This can make it a lot faster to run a single test. You can run make CLEANUP=1 CLEAN_ONLY=YES to clean everything without running any tests.
* Add support for checking whether files are written by more than one testIan Lynagh2011-08-071-0/+4
| | | | | | | | | | | | | | | | | | | | Work in progress, but largely works. Known issues: * only supported when using the timeout program * 'test.strace' files aren't cleaned, as they end up in the root directory rather than the test's directory * Doesn't yet track what the current directory is, so finds several files like "A.o" being written by multiple tests (and conversely, may be missing writes to the same file from different directories) * Lots of tests write to $HOME/.ghc/ghci_history. We should probably be passing ghci a flag to stop this from happening. * Some .strace lines aren't understood yet, causing framework failures * One .strace file can cause muiltiple framework failures, if it contains lots of lines that aren't understood Performance: Threads fast testsuite time fast testsuite time with checks 1 16:36.14 25:16.07 5 5:33.95 8:04.05
* Update some more files for ghc-regress removalDavid Terei2011-07-201-1/+1
|
* TH doesn't work in a stage 1 compilerIan Lynagh2011-07-131-3/+6
|
* Formatting wibbleDavid Terei2011-07-121-10/+10
|
* Add TEST_HC_OPTS to every Makefile invocation of TEST_HCSimon Peyton Jones2011-04-201-0/+4
| | | | | | | | | | | | | | | | | | | | | | | In the testsuite there are numerous Makefiles that invoke $(TEST_HC). But, unlike the tests invoked directly by the harness, they didn't pass -dno-debug-output, or $(EXTRA_HC_OPTS). This patch goes part-way towards the goal of making the two consistent: * Almost all invocations in the Makefiles now go '$(TEST_HC)' $(TEST_HC_OPTS) * In test.mk we initialise TEST_HC_OPTS = -dno-debug-output $(EXTRA_HC_OPTS) Still to come (I don't know how to do these) * The invocations of TEST_HC via cabal are not treated (eg cabal01, cabal04), and they should be * TEST_HC_OPTS should probably be initialised the same way as the Python script computes the flags to pass to the TEST_HC that it calls directly
* Pass OUTPUT_SUMMARY on to the testsuite driverIan Lynagh2010-09-301-1/+8
|
* Fix "/bin/sh: llvmc: command not found" noise when running testsuiteIan Lynagh2010-08-261-1/+1
| | | | | This also made the "run_command $MAKE" tests fail, as they were also sending this to stderr.
* Enable the optllvm way if llvmc is foundSimon Marlow2010-08-231-0/+6
|
* Fix running dyn tests on OS XIan Lynagh2010-05-032-0/+11
|
* Fix detection of whether we have profiling libsIan Lynagh2010-03-031-1/+2
| | | | It broke when the installation path contained a space
* Improve the handling of TEST_HCIan Lynagh2010-01-081-2/+13
| | | | | | We now accept TEST_HC=ghc as well as TEST_HC=/usr/bin/ghc The code is also a little more correct, as it will now actually canonicalise the value of TEST_HC if it is given on the commandline.
* Always define IN_TREE_COMPILER in mk/boilerplate.mkIan Lynagh2010-01-081-0/+2
| | | | There was one path in which it was not being set.
* Use "test -x" rather than "test -e"; fixes trac #3778Ian Lynagh2010-01-031-6/+6
| | | | Solaris doesn't support -e
* Allow tests to behave differently depending on whether the compiler is in-treeIan Lynagh2009-12-182-0/+8
| | | | | And skip testwsdeque if it is not in-tree, as we rely on some headers from the build tree.