Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Gather all tests at once, rather than doing them directory by directory | Ian Lynagh | 2009-11-28 | 1 | -0/+3 | |
| | | | | | 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() test | Simon Marlow | 2009-11-24 | 1 | -0/+1 | |
| | ||||||
* | add config.have_shared_libs | Simon Marlow | 2009-11-04 | 1 | -0/+3 | |
| | ||||||
* | Add support for compiler -t stats | Ian Lynagh | 2009-04-04 | 1 | -1/+2 | |
| | ||||||
* | Improve the testsuite driver support for -t stats, and enhance space_leak_001 | Ian Lynagh | 2009-04-03 | 1 | -5/+7 | |
| | ||||||
* | Add a space leak test, and some infrastructure for checking space usage | Ian Lynagh | 2008-11-23 | 1 | -0/+6 | |
| | ||||||
* | Simplify, and correct, the code for determining whether we should use threads | Ian Lynagh | 2008-06-12 | 1 | -1/+1 | |
| | ||||||
* | Add if_os, and change derefnull/divbyzero to use it | Ian Lynagh | 2008-04-20 | 1 | -0/+1 | |
| | | | | | I think different Linux setups generate different output for these tests, so we just ignore the output on Linux now. | |||||
* | Find compiler version-specific output files automatically | Simon Marlow | 2008-02-06 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | 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. | |||||
* | allow extra normalisation to be applied to the output on a per-test basis | Simon Marlow | 2008-01-22 | 1 | -0/+3 | |
| | ||||||
* | Simplify the testsuite driver | Ian Lynagh | 2007-12-15 | 1 | -1/+1 | |
| | | | | | | | 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')) | |||||
* | remove the _with_prefix forms of compile_and_run, add cmd_prefix() config ↵ | Simon Marlow | 2007-11-22 | 1 | -0/+3 | |
| | | | | instead | |||||
* | Add namebase_if_compiler_lt to the testsuite driver | Ian Lynagh | 2007-10-19 | 1 | -0/+4 | |
| | | | | | | | | 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, ['']) | |||||
* | Allow files-to-cleanup to be attached to a test using extra_clean(files) | Simon Marlow | 2007-09-13 | 1 | -2/+5 | |
| | | | | This is better than a top-level clean() when using threads | |||||
* | clean up the extra_ways machinery | Simon Marlow | 2007-06-27 | 1 | -0/+4 | |
| | ||||||
* | Allow the "< /dev/null" when running tests to be disabled | Ian Lynagh | 2007-06-23 | 1 | -0/+3 | |
| | | | | | The user001 test in the unix package can fail when stdin comes from a file. | |||||
* | add extra_ways, for adding running a test in more ways | Simon Marlow | 2007-06-13 | 1 | -0/+3 | |
| | ||||||
* | Allow tests to be skipped based on whether or not the compiler has a tag | Ian Lynagh | 2007-04-13 | 1 | -0/+4 | |
| | | | | | | When working on a new foo extension, you can now put your tests in the testsuite, set ProjectTags=-foo in mk/build.mk and skip_unless_tag('foo') in the tests. | |||||
* | Calibrate the testsuite timeout if a value of -1 is given | Ian Lynagh | 2007-04-05 | 1 | -0/+3 | |
| | ||||||
* | Time how long is spent on each .T file | Ian Lynagh | 2007-03-31 | 1 | -0/+3 | |
| | ||||||
* | MERGED: Add req_profiling to the driver | Ian Lynagh | 2007-03-05 | 1 | -0/+3 | |
| | ||||||
* | Look for .T files in packages too | Simon Marlow | 2007-02-21 | 1 | -2/+2 | |
| | | | | | | | | This means we can put package-specific tests in the repository for the package, rather than putting them in the testsuite. There should be a .T file to go with the tests, in the same way as for other tests in the testsuite (but this could be in addition to a standalone test driver that works with Cabal's 'setup test'). | |||||
* | Expect tests to fail if we don't have libraries that they use | Ian Lynagh | 2007-02-06 | 1 | -0/+2 | |
| | ||||||
* | ignore_output should be a test option | Simon Marlow | 2007-01-05 | 1 | -0/+3 | |
| | ||||||
* | add support for tests consisting of a C source file | Simon Marlow | 2006-12-14 | 1 | -0/+3 | |
| | ||||||
* | Allow literate tests | Ian Lynagh | 2006-10-13 | 1 | -0/+3 | |
| | ||||||
* | Allow threading to be completely disabled with USETHREADS=0 | Ian Lynagh | 2006-08-29 | 1 | -0/+149 | |
I had to pull the global classes and instances out into their own module as there was a catch-22: testlib needed to know if threading was enabled, but we don't know that until we have gone through the argument, but going through the arguments required changing things like config in testlib. |