Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | add a test for foreign imports in GHCi | Simon Marlow | 2011-10-06 | 1 | -0/+3 | |
| | ||||||
* | Tell python to let us use the "with X:" syntax | Ian Lynagh | 2011-09-25 | 1 | -8/+4 | |
| | | | | This fixes the testsuite driver with python 2.5. Patch from Florian Weimer. | |||||
* | Don't use "with lock" syntax in the driver | Ian Lynagh | 2011-09-24 | 1 | -1/+8 | |
| | | | | | Older versions of python, including that on the Windows nightly builder, throw "SyntaxError: invalid syntax". | |||||
* | Rejig how performance test stats are stored | Ian Lynagh | 2011-09-18 | 1 | -6/+10 | |
| | | | | | | In particular, this allows more specific results to be specified, e.g. if_wordsize(64, stats_num_field('foo', 50, 54)), if_platform('x86_64-apple-darwin', stats_num_field('foo', 62, 66)), | |||||
* | Don't clean tests that we aren't running | Ian Lynagh | 2011-09-05 | 1 | -7/+8 | |
| | | | | | | | | 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. | |||||
* | Improve check-files-written mode | Ian Lynagh | 2011-09-04 | 1 | -20/+48 | |
| | | | | Also look for files that are written but aren't cleaned | |||||
* | Improve the check-files-written testsuite driver code | Ian Lynagh | 2011-09-04 | 1 | -17/+23 | |
| | ||||||
* | Check explicitly for writes to ghci_history | Ian Lynagh | 2011-09-01 | 1 | -4/+16 | |
| | ||||||
* | Improve the check-files-written testsuite driver functionality | Ian Lynagh | 2011-09-01 | 1 | -21/+68 | |
| | ||||||
* | Use True/False rather than 1/0 for opts.alone | Ian Lynagh | 2011-08-08 | 1 | -1/+1 | |
| | ||||||
* | Add support for checking whether files are written by more than one test | Ian Lynagh | 2011-08-07 | 1 | -9/+122 | |
| | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | Testcase for objective-c++ compilation (trac #5150) | Peter Wortmann | 2011-08-06 | 1 | -0/+5 | |
| | ||||||
* | Fix a framework failure on Windows when accepting output, and allow | Simon Marlow | 2011-08-03 | 1 | -13/+8 | |
| | | | | | accepting output when the output file does not exist (it is now created). | |||||
* | support globbing in extra_clean([...]) | Simon Marlow | 2011-08-03 | 1 | -4/+5 | |
| | ||||||
* | fix a bug in displaying diffs when there is no expected output | Simon Marlow | 2011-07-20 | 1 | -2/+2 | |
| | ||||||
* | When the output files differ, present the diffs between the *actual* | Simon Marlow | 2011-07-20 | 1 | -4/+10 | |
| | | | | | | | output, not the normalised output. The latter may have newlines removed, making the diff unreadable. I broke this recently, but it was only working by accident, now it is working by design (and is commented, to boot). | |||||
* | Fix a driver problem with older versions of python | Ian Lynagh | 2011-07-19 | 1 | -1/+3 | |
| | ||||||
* | Fix some (significant!) white space | Ian Lynagh | 2011-07-14 | 1 | -1/+1 | |
| | ||||||
* | Remove used of python 2.5 feature | David Terei | 2011-07-14 | 1 | -12/+15 | |
| | ||||||
* | Make and use a req_interp helper | Ian Lynagh | 2011-07-13 | 1 | -0/+4 | |
| | | | | | Tests can now specify that they require the interpreter (i.e. that they use one of ghci, annotations, TH, etc). | |||||
* | Handle missing stderr files | Ian Lynagh | 2011-07-13 | 1 | -3/+10 | |
| | | | | Sometimes, "prog 2> err" won't actually create err on Windows. | |||||
* | Clean .comp.stats files | Ian Lynagh | 2011-07-08 | 1 | -1/+1 | |
| | ||||||
* | Improvements to testsuite to allow more complex tests | David Terei | 2011-07-06 | 1 | -55/+103 | |
| | ||||||
* | Fix spurious failure in ghcpkg05 in the nightly build | Simon Marlow | 2011-06-28 | 1 | -3/+3 | |
| | ||||||
* | Expect 4006 to fail on msys | Ian Lynagh | 2011-06-23 | 1 | -0/+12 | |
| | | | | | | | In the 65001 codepage, we can't even cat the expected output on msys: $ cat 4006.stdout It works here cat: write error: Permission denied | |||||
* | Print the reason tests fail in the testsuite summary (#5024) | Ian Lynagh | 2011-06-17 | 1 | -6/+36 | |
| | ||||||
* | When tests return 'fail', return a 'reason' too | Ian Lynagh | 2011-06-17 | 1 | -38/+52 | |
| | | | | We don't do anything with the reason yet, but we will shortly... | |||||
* | Show directories in testsuite summary; partially fixes #5024 | Ian Lynagh | 2011-06-15 | 1 | -21/+28 | |
| | ||||||
* | Fix bug in mutlisrc compile not picking up compilation errors. | David Terei | 2011-06-14 | 1 | -1/+3 | |
| | ||||||
* | Add test for new ghc mem* prim ops | David Terei | 2011-05-31 | 1 | -9/+24 | |
| | ||||||
* | Tests for trac #5025. | Austin Seipp | 2011-04-03 | 1 | -0/+5 | |
| | | | | | Also teach the testsuite how to compile objective-c code with .m as a suffix. | |||||
* | cope if the compiler doesn't tell us the "Global Package DB" | Simon Marlow | 2010-12-03 | 1 | -10/+12 | |
| | ||||||
* | Add a framework test for the package cache file being modified | Ian Lynagh | 2010-11-14 | 1 | -1/+17 | |
| | | | | Tests shouldn't touch the compiler's package database | |||||
* | Add 'unless_os' testlib helper | Ian Lynagh | 2010-11-10 | 1 | -0/+6 | |
| | ||||||
* | Add a test for #4255: can't use TH with a profiled compiler | Ian Lynagh | 2010-09-22 | 1 | -0/+6 | |
| | ||||||
* | Add an if_compiler_profiled helper | Ian Lynagh | 2010-09-21 | 1 | -0/+6 | |
| | | | | and use it to skip the th, ghci and debugger tests when GHC is profiled. | |||||
* | when calling ghc-pkg for reqlib(), add --no-user-package-conf | Simon Marlow | 2010-09-20 | 1 | -1/+1 | |
| | ||||||
* | Remove some errmsg normalisation (removing paths from filenames) | Ian Lynagh | 2010-08-08 | 1 | -3/+0 | |
| | | | | This wasn't needed, but was breaking "data/newtype" in an error message | |||||
* | Make the dynlib tests work on Windows | Ian Lynagh | 2010-05-03 | 1 | -0/+16 | |
| | ||||||
* | Fix the ffi002 test | Ian Lynagh | 2010-04-28 | 1 | -1/+14 | |
| | ||||||
* | Fix running hp2ps in a directory containing spaces | Ian Lynagh | 2010-03-04 | 1 | -1/+1 | |
| | ||||||
* | Give more info in the testsuite output | Ian Lynagh | 2010-01-01 | 1 | -1/+4 | |
| | ||||||
* | Check for duplicate test names, and report them as framework failures | Ian Lynagh | 2010-01-01 | 1 | -0/+5 | |
| | ||||||
* | Refactor the cleaning code | Ian Lynagh | 2009-12-19 | 1 | -31/+32 | |
| | ||||||
* | Remove unused clean_o_hi function | Ian Lynagh | 2009-12-19 | 1 | -3/+0 | |
| | ||||||
* | Add clean_cmd to the testsuite, and use it in bug1465 | Ian Lynagh | 2009-12-19 | 1 | -0/+17 | |
| | ||||||
* | Remove debugging print | Ian Lynagh | 2009-12-19 | 1 | -1/+0 | |
| | ||||||
* | Add pre-command support to the testsuite, and fix annrun01 by using it | Ian Lynagh | 2009-12-19 | 1 | -0/+19 | |
| | ||||||
* | Allow tests to behave differently depending on whether the compiler is in-tree | Ian Lynagh | 2009-12-18 | 1 | -0/+12 | |
| | | | | | And skip testwsdeque if it is not in-tree, as we rely on some headers from the build tree. | |||||
* | Print out how many tests we have done and the total when we run a test | Ian Lynagh | 2009-11-28 | 1 | -1/+1 | |
| | | | | | | | This isn't perfect, as it doesn't account for tests that will be skipped in the total. But that's hard to work out, as we might skip a test in only some ways and we currently don't work out which ways to run it until later, so I think this is good enough for now. |