ghc.git
7 years agoUpdate output for rnfail055 again
Ian Lynagh [Wed, 22 Feb 2012 01:48:11 +0000 (01:48 +0000)] 
Update output for rnfail055 again

7 years agoRemove type synonym part of Capi_Ctype_001
Ian Lynagh [Wed, 22 Feb 2012 01:45:12 +0000 (01:45 +0000)] 
Remove type synonym part of Capi_Ctype_001

We no longer support CTYPE pragmas on type synonyms

7 years agoFollow more output changes
Ian Lynagh [Tue, 21 Feb 2012 21:59:48 +0000 (21:59 +0000)] 
Follow more output changes

7 years agoAccept output in ccfail004
Ian Lynagh [Tue, 21 Feb 2012 21:46:49 +0000 (21:46 +0000)] 
Accept output in ccfail004

Newtype handling in FFI decls is no longer relaxed

7 years agoAccept update
Ian Lynagh [Tue, 21 Feb 2012 21:39:17 +0000 (21:39 +0000)] 
Accept update

7 years agoFollow change in bindisttest install directory name
Ian Lynagh [Tue, 21 Feb 2012 21:38:57 +0000 (21:38 +0000)] 
Follow change in bindisttest install directory name

7 years agoFix Capi_Ctype_001 on case-sensitive filesystems
Ian Lynagh [Tue, 21 Feb 2012 15:46:03 +0000 (15:46 +0000)] 
Fix Capi_Ctype_001 on case-sensitive filesystems

7 years agoUpdate tests following OldException removal
Ian Lynagh [Sat, 18 Feb 2012 15:23:54 +0000 (15:23 +0000)] 
Update tests following OldException removal

Some redundant test have now been removed

7 years agoAdd another test for CAPI / CTYPE
Ian Lynagh [Fri, 17 Feb 2012 15:55:40 +0000 (15:55 +0000)] 
Add another test for CAPI / CTYPE

This tests that the header given in the CTYPE pragma is handled.

7 years agoRemove some out-of-date normalisation
Ian Lynagh [Thu, 16 Feb 2012 21:37:37 +0000 (21:37 +0000)] 
Remove some out-of-date normalisation

7 years agoAdd optllvm as allowed way in testsuite
David M Peixotto [Tue, 18 Oct 2011 16:58:34 +0000 (11:58 -0500)] 
Add optllvm as allowed way in testsuite

The hooks for the optllvm way were there in the ghc config
file, but there was no entry in config.other_ways so that a
`make WAY=optllvm` would fail with an "unknown way" error
message.

This patch simply adds optllvm to the other_ways list.

7 years agoAdd a CAPI / CTYPE test (Capi_Ctype_001)
Ian Lynagh [Wed, 15 Feb 2012 00:40:47 +0000 (00:40 +0000)] 
Add a CAPI / CTYPE test (Capi_Ctype_001)

7 years agoupdate output
Simon Marlow [Thu, 16 Feb 2012 11:59:56 +0000 (11:59 +0000)] 
update output

7 years agoadd req_smp
Simon Marlow [Thu, 16 Feb 2012 09:58:34 +0000 (09:58 +0000)] 
add req_smp

7 years agoupdate max_bytes_used for T1969
Simon Marlow [Thu, 16 Feb 2012 10:41:33 +0000 (10:41 +0000)] 
update max_bytes_used for T1969

7 years agofix failure in apirecomp001 (IIModule type changed)
Simon Marlow [Thu, 16 Feb 2012 09:50:10 +0000 (09:50 +0000)] 
fix failure in apirecomp001 (IIModule type changed)

7 years agoDisable -dcore-lint for compiler perf tests
Simon Marlow [Wed, 15 Feb 2012 14:36:08 +0000 (14:36 +0000)] 
Disable -dcore-lint for compiler perf tests

We aren't interested in the performance of Core Lint as much as the
performance of the compiler itself, and some of these tests spend more
than half of their time in Core Lint.

I've updated the 64-bit bounds for now, the 32-bit bounds still need to
be updated.

7 years agoAllow perf bounds to be specified as base + percentage deviation
Simon Marlow [Wed, 15 Feb 2012 14:33:36 +0000 (14:33 +0000)] 
Allow perf bounds to be specified as base + percentage deviation

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)

7 years agoMake the compiler_always_flags modifiable on a per-test basis
Simon Marlow [Wed, 15 Feb 2012 14:29:53 +0000 (14:29 +0000)] 
Make the compiler_always_flags modifiable on a per-test basis

Motivation: we wanted to disable -dcore-lint for the perf tests

7 years agoFix up safe haskell test outputs
David Terei [Tue, 14 Feb 2012 20:25:05 +0000 (12:25 -0800)] 
Fix up safe haskell test outputs

7 years agotest #5836
Simon Marlow [Tue, 7 Feb 2012 13:30:47 +0000 (13:30 +0000)] 
test #5836

7 years agoAdd stdout for T5820
Ian Lynagh [Fri, 10 Feb 2012 21:54:21 +0000 (21:54 +0000)] 
Add stdout for T5820

7 years agoUpdate gitignore
David Terei [Fri, 10 Feb 2012 19:58:50 +0000 (11:58 -0800)] 
Update gitignore

7 years agoAdd some tests for ghci under -XSafe
David Terei [Fri, 10 Feb 2012 19:40:26 +0000 (11:40 -0800)] 
Add some tests for ghci under -XSafe

7 years agoMerge branch 'master' of http://darcs.haskell.org/testsuite
David Terei [Fri, 10 Feb 2012 18:35:40 +0000 (10:35 -0800)] 
Merge branch 'master' of darcs.haskell.org/testsuite

7 years agoMerge branch 'master' of http://darcs.haskell.org/testsuite
Simon Peyton Jones [Fri, 10 Feb 2012 15:34:39 +0000 (15:34 +0000)] 
Merge branch 'master' of darcs.haskell.org/testsuite

7 years agoTest Trac #5820
Simon Peyton Jones [Fri, 10 Feb 2012 11:02:31 +0000 (11:02 +0000)] 
Test Trac #5820

7 years agoAccept error message changes in response to Trac #5860
Simon Peyton Jones [Fri, 10 Feb 2012 10:36:25 +0000 (10:36 +0000)] 
Accept error message changes in response to Trac #5860

7 years agoRemove some Makefile debugging code
Ian Lynagh [Fri, 10 Feb 2012 02:16:40 +0000 (02:16 +0000)] 
Remove some Makefile debugging code

7 years agoFilter colons out of ghc-config-mk
Ian Lynagh [Fri, 10 Feb 2012 00:08:57 +0000 (00:08 +0000)] 
Filter colons out of ghc-config-mk

Otherwise the colon confuses make on Windows

7 years agoDon't use TOP_ABS in Makefile rules
Ian Lynagh [Thu, 9 Feb 2012 23:49:05 +0000 (23:49 +0000)] 
Don't use TOP_ABS in Makefile rules

The : in c:/foo/bar on Windows confuses make.

7 years agoAdd some safe haskell test for '-trust' flag.
David Terei [Thu, 9 Feb 2012 22:56:21 +0000 (14:56 -0800)] 
Add some safe haskell test for '-trust' flag.

7 years agoAdd test for 'distrust-all-packages' flag
David Terei [Thu, 9 Feb 2012 00:19:32 +0000 (16:19 -0800)] 
Add test for 'distrust-all-packages' flag

7 years agoMerge branch 'master' of http://darcs.haskell.org/testsuite
Simon Peyton Jones [Mon, 6 Feb 2012 08:44:10 +0000 (08:44 +0000)] 
Merge branch 'master' of darcs.haskell.org/testsuite

7 years agoMinor wibbles in error message ordering
Simon Peyton Jones [Mon, 6 Feb 2012 08:43:52 +0000 (08:43 +0000)] 
Minor wibbles in error message ordering

7 years agoA couple of compiler performance tests have improved :-)
Simon Peyton Jones [Mon, 6 Feb 2012 08:43:34 +0000 (08:43 +0000)] 
A couple of compiler performance tests have improved :-)

7 years agoRemove Regex tests; part of #1161
Ian Lynagh [Sat, 4 Feb 2012 00:00:21 +0000 (00:00 +0000)] 
Remove Regex tests; part of #1161

I've sent them upstream here:
    https://sourceforge.net/tracker/?func=detail&aid=3484051&group_id=163236&atid=826945

7 years agoMove lib/Time tests into the old-time package
Ian Lynagh [Fri, 3 Feb 2012 23:35:11 +0000 (23:35 +0000)] 
Move lib/Time tests into the old-time package

7 years agoText.Printf tests have moved to base; part of #1161
Ian Lynagh [Fri, 3 Feb 2012 23:29:48 +0000 (23:29 +0000)] 
Text.Printf tests have moved to base; part of #1161

7 years agoRemove the tests/lib/PrettyPrint tests; part of #1161
Ian Lynagh [Fri, 3 Feb 2012 21:35:25 +0000 (21:35 +0000)] 
Remove the tests/lib/PrettyPrint tests; part of #1161

I'll send them to pretty upstream.

7 years agoRemove the Data.ByteString tests; part of #1161
Ian Lynagh [Fri, 3 Feb 2012 20:26:58 +0000 (20:26 +0000)] 
Remove the Data.ByteString tests; part of #1161

I've sent them to the upstream bytestring bug report addresses

7 years agoTest Trac #5792
Simon Peyton Jones [Thu, 2 Feb 2012 11:40:36 +0000 (11:40 +0000)] 
Test Trac #5792

7 years agoAdd dph-nbody test with the dph-lifted-copy library
Ben Lippmeier [Thu, 2 Feb 2012 01:48:42 +0000 (12:48 +1100)] 
Add dph-nbody test with the dph-lifted-copy library

7 years agodph-diophantine is fixed
Ben Lippmeier [Thu, 2 Feb 2012 01:38:55 +0000 (12:38 +1100)] 
dph-diophantine is fixed

7 years agoTest Trac #5798
Simon Peyton Jones [Wed, 1 Feb 2012 16:47:54 +0000 (16:47 +0000)] 
Test Trac #5798

7 years agoMake posix003 a little more portable
Ian Lynagh [Mon, 30 Jan 2012 21:10:38 +0000 (21:10 +0000)] 
Make posix003 a little more portable

On OS X, /tmp is a symlink to /private/tmp, so the test prints the wrong
output. I've changed it to use /dev instead, which is hopefully less
likely to be a symlink.

7 years agoTweak TH_Depends
Ian Lynagh [Mon, 30 Jan 2012 20:14:25 +0000 (20:14 +0000)] 
Tweak TH_Depends

It was explicitly removing the program inbetween the two runs, but
I don't see why that should be necessary.

7 years agoMake TH_Depends more portable
Ian Lynagh [Mon, 30 Jan 2012 20:12:50 +0000 (20:12 +0000)] 
Make TH_Depends more portable

We now just sleep for 2 seconds, rather than using
    touch --date="now + 3 seconds"
which doesn't work on OS X. OS X does have "touch -A", but that doesn't
work on Linux.

7 years agoFix mod175: Tell make to be quiet
Ian Lynagh [Sun, 29 Jan 2012 21:24:39 +0000 (21:24 +0000)] 
Fix mod175: Tell make to be quiet

7 years agoobjc-hi and objcpp-hi fail the ghci way
Ian Lynagh [Sun, 29 Jan 2012 20:20:09 +0000 (20:20 +0000)] 
objc-hi and objcpp-hi fail the ghci way

7 years agomod175 now passes: #437 is fixed
Ian Lynagh [Sun, 29 Jan 2012 19:22:01 +0000 (19:22 +0000)] 
mod175 now passes: #437 is fixed

7 years agoAdd a perf test for #5642
Ian Lynagh [Sun, 29 Jan 2012 13:49:17 +0000 (13:49 +0000)] 
Add a perf test for #5642

7 years agoAdd a perf test for #5536
Ian Lynagh [Sat, 28 Jan 2012 22:22:38 +0000 (22:22 +0000)] 
Add a perf test for #5536

7 years agoGeneralise the integerToInt_smallInteger test (now fromToInteger)
Ian Lynagh [Thu, 26 Jan 2012 13:57:44 +0000 (13:57 +0000)] 
Generalise the integerToInt_smallInteger test (now fromToInteger)

7 years agoAdd a test for the integerToInt/smallInteger rule
Ian Lynagh [Thu, 26 Jan 2012 13:45:03 +0000 (13:45 +0000)] 
Add a test for the integerToInt/smallInteger rule

7 years agoMark dph-diophantine-copy-opt as broken (#5817)
Ian Lynagh [Wed, 25 Jan 2012 17:46:07 +0000 (17:46 +0000)] 
Mark dph-diophantine-copy-opt as broken (#5817)

8 years agoaccept output
Simon Marlow [Thu, 19 Jan 2012 09:00:33 +0000 (09:00 +0000)] 
accept output

8 years agoAdd missing stdout for T5742
Simon Peyton Jones [Thu, 19 Jan 2012 09:10:12 +0000 (09:10 +0000)] 
Add missing stdout for T5742

8 years agoMerge branch 'master' of http://darcs.haskell.org/testsuite
Simon Peyton Jones [Wed, 18 Jan 2012 15:33:01 +0000 (15:33 +0000)] 
Merge branch 'master' of darcs.haskell.org/testsuite

8 years agoTest Trac #5742
Simon Peyton Jones [Wed, 18 Jan 2012 15:30:22 +0000 (15:30 +0000)] 
Test Trac #5742

8 years agoAdd test for #5785.
David Terei [Wed, 18 Jan 2012 01:33:52 +0000 (01:33 +0000)] 
Add test for #5785.

8 years agoUpdate .gitignore.
David Terei [Tue, 17 Jan 2012 20:56:40 +0000 (12:56 -0800)] 
Update .gitignore.

8 years agoMerge branch 'master' of http://darcs.haskell.org/testsuite
Simon Peyton Jones [Tue, 17 Jan 2012 16:02:59 +0000 (16:02 +0000)] 
Merge branch 'master' of darcs.haskell.org/testsuite

8 years agoAdd stderr for warning (arising from Trac #5779)
Simon Peyton Jones [Tue, 17 Jan 2012 16:02:48 +0000 (16:02 +0000)] 
Add stderr for warning (arising from Trac #5779)

8 years agofix (non-fast) validate
Simon Marlow [Tue, 17 Jan 2012 12:25:28 +0000 (12:25 +0000)] 
fix (non-fast) validate

8 years agoExpect failure for numrun012(ghci) on Windows
Simon Marlow [Mon, 16 Jan 2012 16:17:19 +0000 (16:17 +0000)] 
Expect failure for numrun012(ghci) on Windows

8 years agoforeignInterruptible: expect_fail on Windows
Simon Marlow [Mon, 16 Jan 2012 15:53:24 +0000 (15:53 +0000)] 
foreignInterruptible: expect_fail on Windows

8 years agoSkip conc036 entirely (see comments)
Simon Marlow [Mon, 16 Jan 2012 15:49:39 +0000 (15:49 +0000)] 
Skip conc036 entirely (see comments)

8 years ago3429: We should be using +RTS -C0.001 not +RTS -i0.001
Simon Marlow [Mon, 16 Jan 2012 15:36:15 +0000 (15:36 +0000)] 
3429: We should be using +RTS -C0.001 not +RTS -i0.001

This apparently made no difference before, but it looks like I fixed
it in my time overhaul, which made this test suddenly run a lot
slower.

8 years agoAdd normalise_exe for removing ".exe" extensions in output on Windows
Simon Marlow [Mon, 16 Jan 2012 15:10:02 +0000 (15:10 +0000)] 
Add normalise_exe for removing ".exe" extensions in output on Windows

8 years agoMerge branch 'master' of http://darcs.haskell.org/testsuite
Simon Peyton Jones [Tue, 17 Jan 2012 12:14:04 +0000 (12:14 +0000)] 
Merge branch 'master' of darcs.haskell.org/testsuite

8 years agoTest Trac #5776
Simon Peyton Jones [Tue, 17 Jan 2012 11:32:00 +0000 (11:32 +0000)] 
Test Trac #5776

8 years agoRevert "The LLVM backend now only works with 2.9+, don't try it if we have 2.7"
David Terei [Tue, 17 Jan 2012 08:30:33 +0000 (00:30 -0800)] 
Revert "The LLVM backend now only works with 2.9+, don't try it if we have 2.7"

This reverts commit 0114212f8588211d3dd6735d55127bce2cc1dad7.

8 years agoAdapt test output
Jose Pedro Magalhaes [Mon, 16 Jan 2012 17:38:48 +0000 (18:38 +0100)] 
Adapt test output

8 years agoTest Trac #5745
Simon Peyton Jones [Mon, 16 Jan 2012 15:43:03 +0000 (15:43 +0000)] 
Test Trac #5745

8 years agoThe LLVM backend now only works with 2.9+, don't try it if we have 2.7
Simon Marlow [Mon, 16 Jan 2012 12:40:51 +0000 (12:40 +0000)] 
The LLVM backend now only works with 2.9+, don't try it if we have 2.7

This fix is very wrong, but I'm drowning in optllvm failures and need
to fix this ASAP (it's somewhat suboptimal that I won't be able to run
the LLVM tests here until I upgrade the OS or install a later LLVM
manually).

8 years agoParse the ghc --info values using a Haskell program, and cache the results
Simon Marlow [Mon, 16 Jan 2012 11:48:00 +0000 (11:48 +0000)] 
Parse the ghc --info values using a Haskell program, and cache the results

Should improve startup time of make in the testsuite, and it is
simpler.

8 years agoUse the new flag -XDataKinds
Jose Pedro Magalhaes [Mon, 16 Jan 2012 13:19:16 +0000 (14:19 +0100)] 
Use the new flag -XDataKinds

8 years agoWibble to recomp006 error
Simon Peyton Jones [Mon, 16 Jan 2012 13:15:01 +0000 (13:15 +0000)] 
Wibble to recomp006 error

I think this didn't show up before with --fast?

8 years agoMerge branch 'master' of http://darcs.haskell.org/testsuite
Simon Peyton Jones [Mon, 16 Jan 2012 13:13:38 +0000 (13:13 +0000)] 
Merge branch 'master' of darcs.haskell.org/testsuite

8 years agoAdd Defer02.stdout
Simon Peyton Jones [Mon, 16 Jan 2012 13:13:28 +0000 (13:13 +0000)] 
Add Defer02.stdout

8 years agoAdapt DPH tests to classes in the DPH library
Manuel M T Chakravarty [Mon, 16 Jan 2012 02:01:16 +0000 (13:01 +1100)] 
Adapt DPH tests to classes in the DPH library

8 years agoAdapt 'dph-classes' to class support in dph-lifted-vseg
Manuel M T Chakravarty [Sun, 15 Jan 2012 11:12:19 +0000 (22:12 +1100)] 
Adapt 'dph-classes' to class support in dph-lifted-vseg

8 years agoUpdate tests after instances are moved out of Control.Monad.Instances
Ian Lynagh [Sat, 14 Jan 2012 02:14:26 +0000 (02:14 +0000)] 
Update tests after instances are moved out of Control.Monad.Instances

The instance-leaks test is now gone, as we now expect the instances to
leak into haskell98.

8 years agoAdd encodeInteger{Double,Float} to the integerConstantFolding test
Ian Lynagh [Fri, 13 Jan 2012 18:58:57 +0000 (18:58 +0000)] 
Add encodeInteger{Double,Float} to the integerConstantFolding test

8 years agoAdd {double,float}FromInteger to the integerConstantFolding test
Ian Lynagh [Fri, 13 Jan 2012 18:54:32 +0000 (18:54 +0000)] 
Add {double,float}FromInteger to the integerConstantFolding test

8 years agoUpdate error message
Simon Peyton Jones [Fri, 13 Jan 2012 15:51:17 +0000 (15:51 +0000)] 
Update error message

8 years agoFix T5430, make output independent of user timezone
David Terei [Fri, 13 Jan 2012 00:31:21 +0000 (16:31 -0800)] 
Fix T5430, make output independent of user timezone

8 years agoMore .gitignore updates.
David Terei [Thu, 12 Jan 2012 23:56:12 +0000 (15:56 -0800)] 
More .gitignore updates.

8 years agoUpdate .gitignore to include generated test files
David Terei [Thu, 12 Jan 2012 22:35:27 +0000 (14:35 -0800)] 
Update .gitignore to include generated test files

8 years agoTest Trac #5658b
Simon Peyton Jones [Thu, 12 Jan 2012 18:19:41 +0000 (18:19 +0000)] 
Test Trac #5658b

8 years agoMerge branch 'master' of http://darcs.haskell.org/testsuite
Simon Peyton Jones [Thu, 12 Jan 2012 18:15:48 +0000 (18:15 +0000)] 
Merge branch 'master' of darcs.haskell.org/testsuite

Conflicts:
tests/typecheck/should_run/all.T

8 years agoMerge branch 'master' of http://darcs.haskell.org/testsuite
Simon Peyton Jones [Thu, 12 Jan 2012 16:31:12 +0000 (16:31 +0000)] 
Merge branch 'master' of darcs.haskell.org/testsuite

8 years agoLots of error message wibbling, following the
Simon Peyton Jones [Thu, 12 Jan 2012 15:13:32 +0000 (15:13 +0000)] 
Lots of error message wibbling, following the
major TcErrors refactoring

8 years agowiden peak_megablocks_allocated for T4801 (64bit/Linux)
Simon Marlow [Wed, 11 Jan 2012 10:57:04 +0000 (10:57 +0000)] 
widen peak_megablocks_allocated for T4801 (64bit/Linux)

I checked and there's no regression here, just timing of GCs.

8 years agowiden max_bytes_used for T4801
Simon Marlow [Wed, 11 Jan 2012 10:45:13 +0000 (10:45 +0000)] 
widen max_bytes_used for T4801

8 years agoadd reqlib('random')
Simon Marlow [Mon, 9 Jan 2012 11:59:18 +0000 (11:59 +0000)] 
add reqlib('random')

8 years agoAdd quot and rem to the integerConstantFolding test
Ian Lynagh [Tue, 10 Jan 2012 23:17:43 +0000 (23:17 +0000)] 
Add quot and rem to the integerConstantFolding test

8 years agoMerge branch 'master' of http://darcs.haskell.org/testsuite
Simon Peyton Jones [Tue, 10 Jan 2012 08:14:14 +0000 (08:14 +0000)] 
Merge branch 'master' of darcs.haskell.org/testsuite

8 years agoTest Trac #5759
Simon Peyton Jones [Tue, 10 Jan 2012 08:09:51 +0000 (08:09 +0000)] 
Test Trac #5759