| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
This allows them to give framework failures.
I also had to change how setTestOpts works. Now, rather than applying
the options to the directory's "default options", it just stores the
options to be applied for each test (i.e. once we know the test name).
|
|
|
|
|
| |
We now deepcopy the options for each test, which means that the test
helpers don't need to worry about sharing.
|
| |
|
|
|
|
| |
This will reduce the number of helper functions that we need
|
| |
|
|
|
|
|
| |
This gives hte list of tests with unexpected results, so that you can
easily run them again.
|
| |
|
|
|
|
| |
We now use *_range_field everywhere instead
|
|
|
|
|
|
|
| |
We were getting a
Creating library file: dist\build\libHStest-1.0-ghc7.7.20130205.dll.a
message on stderr. We can't turn it off, so now the test just normalises
it away.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This means that hitting ^C now stops the testsuite from running,
rather than just killing the current test.
|
| |
|
|
|
|
|
| |
All tests used to use .hpc, which caused failures when running in
parallel.
|
| |
|
|
|
|
|
| |
We now get a framework failure if a test name doesn't match
^[a-zA-Z0-9][a-zA-Z0-9._/-]*$
|
| |
|
|
|
|
|
|
| |
Fixes Trac #7573.
Signed-off-by: Austin Seipp <mad.one@gmail.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
arrowfail001 currently fails only when DEBUG is defined.
|
| |
|
|
|
|
| |
We get a reference to memcpy@plt rather than memcpy
|
|
|
|
| |
dynamic ghci can't load .a files
|
|
|
|
|
| |
This is more efficient than having to wait for all threads to finish
before each 'alone' test.
|
|
|
|
| |
They are mutable values, so altering them affects other tests too
|
| |
|
|
|
|
|
| |
This makes it possible to share source files between tests, without
having the .o/.hi files overlap
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This test framework feature is inspired by a similar feature in LLVM.
The programmer writes a bit of Cmm
#include "Cmm.h"
// Large memcpy's should lower to calls.
callMemcpy
{
W_ dst, src;
prim %memcpy(dst "ptr", src "ptr", 1024, 4) [];
}
and asserts what the generated assembly should look like, modulo
register naming.
callMemcpy:
movq ; Move arguments into place
movq
movl
movl
call memcpy
Patch edited and updated by Simon Marlow, and I also added a test for
unrolling memcpy and a simple constant-propagation test.
|
|
|
|
|
|
| |
stats_range_fields perf tests
I fixed this in a plausible looking way, similar to compiler_stats_range/num fields.
|
|
|
|
|
|
| |
tighten up #367 test.
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This handles the case where we redirect stdout/stderr to a file, but
the command fails quickly and the file is not actually created.
|
| |
|
|
|
|
|
|
|
|
|
| |
Added an option to combine stdout and stderr into a single file. This is
useful for ghci scripts that produce interleaved errors and normal
output.
Also modified check_stderr_ok so that it normalizes stderr in the same
way as compile tests.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes it much easier to update the bounds. Instead of coming up
with a suitable (min,max) pair, you just give e.g. (base, 10) to allow
10% deviation from the base figure, which can be pasted from the
error.
e.g. previously:
- # expected value: 458700632 (amd64/Linux):
- if_wordsize(64,
- compiler_stats_num_field('bytes allocated', 440000000,
- 480000000)),
now:
+ if_wordsize(64, # sample from amd64/Linux 15/2/2012
+ compiler_stats_range_field('bytes allocated', 360243576, 10)),
Note: use stats_range_field rather than stats_num_field. I left
support for the old way for now so that we can do a gradual migration.
(next I suppose we should make it so that 'make accept' works for perf
tests, but that's for another day)
|
|
|
|
| |
Motivation: we wanted to disable -dcore-lint for the perf tests
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OVERALL SUMMARY for test run started at Fri Jan 6 09:46:46 GMT 2012
82 total tests, which gave rise to
820 test cases, of which
0 caused framework failures
818 were skipped
0 expected passes
2 had missing libraries <---
0 expected failures
0 unexpected passes
0 unexpected failures
|