summaryrefslogtreecommitdiff
path: root/testsuite/driver/testlib.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Gather all tests at once, rather than doing them directory by directoryIan Lynagh2009-11-281-19/+19
| | | | | This increases the parallelism possible, and allows us to track what progress we are making.
* grab the target architecture from GHC, and add an if_arch() testSimon Marlow2009-11-241-0/+6
|
* Normalise slashesIan Lynagh2009-10-211-0/+1
|
* Always use / to join paths; stops "make -C .\ clean" being misparsedIan Lynagh2009-10-211-1/+1
|
* add -no-user-package-conf to GHC command linesSimon Marlow2009-07-241-1/+1
|
* Follow Integer changesIan Lynagh2009-07-211-1/+1
|
* Follow Integer library changesIan Lynagh2009-06-231-0/+4
|
* Use +RTS -V0 when looking at timing informationIan Lynagh2009-06-051-2/+2
| | | | This should make things more deterministic
* Tweak the driver so that 2566 passes in teh new build systemIan Lynagh2009-04-261-0/+4
|
* Add support for compiler -t statsIan Lynagh2009-04-041-37/+63
|
* Define if_not_platformIan Lynagh2009-04-031-0/+6
|
* Define if_wordsize in the driverIan Lynagh2009-04-031-0/+6
|
* Improve the testsuite driver support for -t stats, and enhance space_leak_001Ian Lynagh2009-04-031-37/+33
|
* Rewrite the result testing logic in simple_runIan Lynagh2009-04-031-8/+11
|
* Re-indent simple_run in the driverIan Lynagh2009-04-031-54/+54
|
* Define and use opts in simple_run in the driverIan Lynagh2009-04-031-6/+8
|
* clean .eventlog filesSimon Marlow2009-03-301-1/+1
|
* Fix test 2566 in the new build systemIan Lynagh2009-01-091-0/+9
|
* check for valid .prof files when profilingSimon Marlow2008-12-151-3/+21
|
* Clean .exe.manifest filesIan Lynagh2008-12-031-1/+1
|
* small fix to the space-leak testing frameworkSimon Marlow2008-11-251-1/+1
|
* Don't show whitespace differences when diffing test resultsIan Lynagh2008-11-231-2/+10
|
* Add a space leak test, and some infrastructure for checking space usageIan Lynagh2008-11-231-0/+42
|
* Print out exceptions when cleaning testsIan Lynagh2008-10-011-3/+11
|
* Remove no_clean from the driverIan Lynagh2008-08-251-3/+0
| | | | | We don't use it any more, and it shouldn't be used as it effectively means that the test won't work in the parallel testsuite.
* Simplify the driver a bit: Break skip_{if,unless}_tag down into smaller partsIan Lynagh2008-08-171-10/+8
|
* Tweak whitespaceIan Lynagh2008-06-281-4/+4
|
* Clean <test>.std{out,err}.normalisedIan Lynagh2008-06-281-0/+1
|
* Clean empty directories as well as filesIan Lynagh2008-06-281-1/+6
|
* Use -fforce-recomp instead of -no-recompIan Lynagh2008-06-141-3/+3
|
* Break expect_fail_if_compiler_type and expect_broken_if_compiler_type downIan Lynagh2008-06-101-16/+6
| | | | | | | into their component parts if_compiler_type expect_fail expect_broken
* following the fix for #1955, the .ps file is now in foo.ps, not foo.exe.ps ↵Simon Marlow2008-05-141-4/+1
| | | | on Windows
* Don't bother testing ghostscript if we have no profiling librariesSimon Marlow2008-05-091-3/+4
|
* Add if_os, and change derefnull/divbyzero to use itIan Lynagh2008-04-201-0/+6
| | | | | I think different Linux setups generate different output for these tests, so we just ignore the output on Linux now.
* Add if_platform and remove *_if_platformIan Lynagh2008-04-201-29/+5
| | | | This removes some duplication from the testsuite driver
* Apply cmd_prefix also to the ghci wayThorkil Naur2008-02-081-1/+6
|
* Cache the results of looking to see if we have a library or notIan Lynagh2008-02-101-11/+22
| | | | | | When handling a test says reqlib('mtl') we cache the result, so we only need to run ghc-pkg once no matter how many tests say it. This makes quite a difference, especially on Windows.
* Find compiler version-specific output files automaticallySimon Marlow2008-02-061-15/+36
| | | | | | | | | | | | | | Also, clean up the way we find the output file. From the comment: # Finding the sample output. The filename is of the form # # <test>.stdout[-<compiler>][-<version>][-<wordsize>][-<platform>] # # and we pick the most specific version available. The <version> is # the major version of the compiler (e.g. 6.8.2 would be "6.8"). For # more fine-grained control use if_compiler_lt(). I'll update the wiki too.
* If the "setup" argument to test is a list, treat it as a list of functionsSimon Marlow2008-02-061-0/+5
| | | | Avoids the need to write composes()
* allow extra normalisation to be applied to the output on a per-test basisSimon Marlow2008-01-221-5/+11
|
* Simplify the testsuite driverIan Lynagh2007-12-151-78/+29
| | | | | | | Now instead of saying, e.g. namebase_if_compiler_lt('ghc','6.9', 'foo-6.8') you say if_compiler_lt('ghc','6.9', namebase('foo-6.8'))
* Be more consistent in printing about framework failuresIan Lynagh2007-11-231-4/+5
|
* remove the _with_prefix forms of compile_and_run, add cmd_prefix() config ↵Simon Marlow2007-11-221-15/+15
| | | | instead
* skip arrow for ghc < 6.9 (Control.Category doesn't exist)Ian Lynagh2007-11-101-1/+10
|
* add extra_hc_opts for ghci_scriptsimonpj2007-11-061-0/+1
|
* Add space after -ignore-dot-ghciSimon Marlow2007-10-221-1/+1
| | | | pointed out by Claus Reinke
* Add namebase_if_compiler_lt to the testsuite driverIan Lynagh2007-10-191-3/+27
| | | | | | | | Allows us to use a different name base for foo.stderr for old compilers, e.g. test('tc141', namebase_if_compiler_lt('ghc', '6.9', 'tc141-6.8'), compile_fail, [''])
* Pass -ignore-dot-ghci to GHCiSimon Marlow2007-09-261-1/+1
|
* add expect_fail_ways_if_compiler_lt()Simon Marlow2007-09-261-0/+13
| | | | somehow I forgot to add this yesterday, I'm mystified about where it went..
* Various testsuite helper functions like expect_broken_if_compiler_geIan Lynagh2007-09-211-0/+54
|