Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Don't bother testing ghostscript if we have no profiling libraries | Simon Marlow | 2008-05-09 | 1 | -3/+4 | |
| | ||||||
* | Add if_os, and change derefnull/divbyzero to use it | Ian Lynagh | 2008-04-20 | 1 | -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_platform | Ian Lynagh | 2008-04-20 | 1 | -29/+5 | |
| | | | | This removes some duplication from the testsuite driver | |||||
* | Apply cmd_prefix also to the ghci way | Thorkil Naur | 2008-02-08 | 1 | -1/+6 | |
| | ||||||
* | Cache the results of looking to see if we have a library or not | Ian Lynagh | 2008-02-10 | 1 | -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 automatically | Simon Marlow | 2008-02-06 | 1 | -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 functions | Simon Marlow | 2008-02-06 | 1 | -0/+5 | |
| | | | | Avoids the need to write composes() | |||||
* | allow extra normalisation to be applied to the output on a per-test basis | Simon Marlow | 2008-01-22 | 1 | -5/+11 | |
| | ||||||
* | Simplify the testsuite driver | Ian Lynagh | 2007-12-15 | 1 | -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 failures | Ian Lynagh | 2007-11-23 | 1 | -4/+5 | |
| | ||||||
* | remove the _with_prefix forms of compile_and_run, add cmd_prefix() config ↵ | Simon Marlow | 2007-11-22 | 1 | -15/+15 | |
| | | | | instead | |||||
* | skip arrow for ghc < 6.9 (Control.Category doesn't exist) | Ian Lynagh | 2007-11-10 | 1 | -1/+10 | |
| | ||||||
* | add extra_hc_opts for ghci_script | simonpj | 2007-11-06 | 1 | -0/+1 | |
| | ||||||
* | Add space after -ignore-dot-ghci | Simon Marlow | 2007-10-22 | 1 | -1/+1 | |
| | | | | pointed out by Claus Reinke | |||||
* | Add namebase_if_compiler_lt to the testsuite driver | Ian Lynagh | 2007-10-19 | 1 | -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 GHCi | Simon Marlow | 2007-09-26 | 1 | -1/+1 | |
| | ||||||
* | add expect_fail_ways_if_compiler_lt() | Simon Marlow | 2007-09-26 | 1 | -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_ge | Ian Lynagh | 2007-09-21 | 1 | -0/+54 | |
| | ||||||
* | Allow files-to-cleanup to be attached to a test using extra_clean(files) | Simon Marlow | 2007-09-13 | 1 | -0/+10 | |
| | | | | This is better than a top-level clean() when using threads | |||||
* | don't try to run hp2ps if the program failed with exit(>127) | Simon Marlow | 2007-09-03 | 1 | -1/+2 | |
| | ||||||
* | Add exit_code_if_platform functions to the testlib | Ian Lynagh | 2007-08-03 | 1 | -0/+7 | |
| | ||||||
* | Define and use rawSystem in the testsuite driver and the driver tests | Ian Lynagh | 2007-08-02 | 1 | -13/+15 | |
| | | | | spawnlp doesn't exist in Windows, so this avoids using it. | |||||
* | Adding compile_and_run_with_prefix and multimod_compile_and_run_with_prefix ↵ | andy | 2007-07-18 | 1 | -6/+18 | |
| | | | | as test-fns. | |||||
* | reqlib now uses subprocess (when it's available) | Ian Lynagh | 2007-07-09 | 1 | -1/+11 | |
| | | | | Fixes a problem where /dev/null doesn't exist on mingw. | |||||
* | Fall back to os.spawnv is we don't have the subprocess module | Ian Lynagh | 2007-07-07 | 1 | -3/+17 | |
| | ||||||
* | clean up the extra_ways machinery | Simon Marlow | 2007-06-27 | 1 | -1/+4 | |
| | ||||||
* | Use subprocess.call rather than os.spawnv in the testsuite driver | Ian Lynagh | 2007-07-06 | 1 | -5/+8 | |
| | | | | os.spawnv is broken on non-cygwin Windows (looks like it goes via a shell). | |||||
* | Allow the "< /dev/null" when running tests to be disabled | Ian Lynagh | 2007-06-23 | 1 | -1/+8 | |
| | | | | | 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/+10 | |
| | ||||||
* | Add comments about runCmd | simonpj | 2007-06-06 | 1 | -0/+11 | |
| | ||||||
* | sed-o in the testsuite driver | Ian Lynagh | 2007-05-05 | 1 | -1/+1 | |
| | ||||||
* | Don't dump stderr/stdout before we've split the ghci output | Ian Lynagh | 2007-05-05 | 1 | -7/+7 | |
| | | | | Fixes some framework failures. | |||||
* | Fix comment | Ian Lynagh | 2007-05-04 | 1 | -1/+1 | |
| | ||||||
* | Close 2 files that we open so we know that the writes have actually happened | Ian Lynagh | 2007-04-16 | 1 | -0/+2 | |
| | ||||||
* | Allow tests to be skipped based on whether or not the compiler has a tag | Ian Lynagh | 2007-04-13 | 1 | -0/+16 | |
| | | | | | | 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. | |||||
* | Print stdout/stderr when we get a bad result | Ian Lynagh | 2007-04-13 | 1 | -0/+12 | |
| | ||||||
* | Check stderr output before stdout output | Ian Lynagh | 2007-04-01 | 1 | -4/+4 | |
| | ||||||
* | On failure, diff the normalised test outputs | Ian Lynagh | 2007-04-01 | 1 | -76/+77 | |
| | ||||||
* | Use unified, rather than context, diffs | Ian Lynagh | 2007-03-30 | 1 | -1/+1 | |
| | ||||||
* | MERGED: Add req_profiling to the driver | Ian Lynagh | 2007-03-05 | 1 | -0/+4 | |
| | ||||||
* | Windows: the .ps file is <prog>.exe.ps | Simon Marlow | 2007-02-28 | 1 | -2/+5 | |
| | ||||||
* | Look for .T files in packages too | Simon Marlow | 2007-02-21 | 1 | -2/+5 | |
| | | | | | | | | 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/+9 | |
| | ||||||
* | Don't put double-quotes around the command when passing it to timeout | Simon Marlow | 2007-02-02 | 1 | -3/+1 | |
| | | | | | | | | Fixes the testsuite on Cygwin/MSYS using Cygwin Python. I hope it hasn't broken it using the native Python... if it has, we'll need to revisit. I can't see a good reason for the quotes, anyway. | |||||
* | Ignore output when told to in the ghci way | Ian Lynagh | 2007-01-31 | 1 | -1/+2 | |
| | ||||||
* | fixes to the ignore-output patch | Simon Marlow | 2007-01-16 | 1 | -12/+8 | |
| | ||||||
* | oops, fix bogosity in "ignore_output should be a test option" | Simon Marlow | 2007-01-08 | 1 | -1/+1 | |
| | ||||||
* | ignore_output should be a test option | Simon Marlow | 2007-01-05 | 1 | -41/+20 | |
| | ||||||
* | fail -> broken | Ian Lynagh | 2006-12-19 | 1 | -1/+1 | |
| | ||||||
* | fail -> broken | Ian Lynagh | 2006-12-19 | 1 | -0/+7 | |
| |