Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Add a composes function to the driver | Ian Lynagh | 2006-12-15 | 1 | -0/+3 | |
| | ||||||
* | More infrastructure for 'broken' | Ian Lynagh | 2006-12-15 | 1 | -0/+6 | |
| | ||||||
* | add 'broken' variant of expect_broken_if_platform | Ian Lynagh | 2006-12-14 | 1 | -0/+7 | |
| | ||||||
* | Start ok 'broken' infrastructure | Ian Lynagh | 2006-12-14 | 1 | -0/+6 | |
| | ||||||
* | add support for tests consisting of a C source file | Simon Marlow | 2006-12-14 | 1 | -1/+6 | |
| | ||||||
* | Check running ghci with -hide-package haskell98 works. Tests trac #1001. | Ian Lynagh | 2006-12-09 | 1 | -1/+1 | |
| | ||||||
* | add tests for heap profiles and hp2ps | ravi | 2006-09-18 | 1 | -3/+66 | |
| | ||||||
* | removing .tix files before running tests | andy | 2006-10-25 | 1 | -0/+1 | |
| | ||||||
* | Allow literate tests | Ian Lynagh | 2006-10-13 | 1 | -3/+13 | |
| | ||||||
* | Allow testsuite to run under MSYS/MinGW using native Python (not Cygwin Python). | brianlsmith | 2006-09-17 | 1 | -9/+13 | |
| | | | | | | | | | | | | | This patch is based on a similar one "Enable timeout in Windows and don't require cygwin python" by Esa Ilari Vuokko. It seems like timeout is always built on Windows so I rearranged the logic there to make the code clearer, Esa's patch required the user to uncomment the MinGW-specific logic in order for it to work; this patch does not have the MinGW-specific logic commented out. I tested this on the trunk in Ubuntu 6.06 on i686 (VMWare). I tested this on the trunk and ghc-6.6 branch on Windows i686. | |||||
* | Catch exceptions while cleaning rather than checking for existence first | Ian Lynagh | 2006-09-10 | 1 | -1/+3 | |
| | | | | | As well as being generally a good idea, os.access('foo') seems to return true if foo.exe exists on Windows. | |||||
* | Add cleaning for .exe files | Ian Lynagh | 2006-09-10 | 1 | -3/+3 | |
| | ||||||
* | add skip_if_platform | Simon Marlow | 2006-08-30 | 1 | -0/+9 | |
| | ||||||
* | Allow threading to be completely disabled with USETHREADS=0 | Ian Lynagh | 2006-08-29 | 1 | -181/+42 | |
| | | | | | | | 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. | |||||
* | Clean .hp files | Ian Lynagh | 2006-08-29 | 1 | -1/+1 | |
| | ||||||
* | Driver: Add THREADS-support | Esa Ilari Vuokko | 2006-08-22 | 1 | -42/+93 | |
| | ||||||
* | Fix driver not to normalise output when using platform specific output files | Esa Ilari Vuokko | 2006-08-13 | 1 | -9/+13 | |
| | ||||||
* | fix for GHCi tests that raise exceptions or exit | Simon Marlow | 2006-03-20 | 1 | -1/+1 | |
| | | | | | | | | | | | | We need to call GHC.TopHandler.runIOFastExit instead of GHC.TopHandler.runIO. Recent fixes to the shutdown code have meant that when a thread invokes shutdownHaskellAndExit(), other main threads get a chance to exit (as they should), but this means that we might have a race between the child thread trying to exit the program and the main thread doing the same. In the case of GHCi, if we're running an interpreted computation that needs to exit (as some tests do), then we really want this child thread to exit the program rather than the main thread. |