ghc.git
6 years agoError message wibbles, following TcErrors refactoring
Simon Peyton Jones [Mon, 22 Apr 2013 11:56:09 +0000 (12:56 +0100)] 
Error message wibbles, following TcErrors refactoring

6 years agoImprove tests slightly
Simon Peyton Jones [Mon, 22 Apr 2013 11:55:22 +0000 (12:55 +0100)] 
Improve tests slightly

6 years agoActually test T4175
Simon Peyton Jones [Mon, 18 Mar 2013 21:48:57 +0000 (21:48 +0000)] 
Actually test T4175

6 years agoFix library flavor detection for the validate script as well
Gabor Pali [Sun, 21 Apr 2013 21:35:48 +0000 (23:35 +0200)] 
Fix library flavor detection for the validate script as well

6 years agoFix detection of library flavors on FreeBSD
Gabor Pali [Sun, 21 Apr 2013 17:19:26 +0000 (19:19 +0200)] 
Fix detection of library flavors on FreeBSD

6 years agoFix tests after #7848
Krzysztof Gogolewski [Fri, 19 Apr 2013 11:25:58 +0000 (13:25 +0200)] 
Fix tests after #7848

6 years agoAdd a test for #7848
Ian Lynagh [Sun, 21 Apr 2013 13:42:24 +0000 (14:42 +0100)] 
Add a test for #7848

6 years agoFix the testsuite config to allow running with GHC 7.6
Ian Lynagh [Sat, 20 Apr 2013 21:18:42 +0000 (22:18 +0100)] 
Fix the testsuite config to allow running with GHC 7.6

6 years agoAdd a multi_cpu_race helper
Ian Lynagh [Wed, 17 Apr 2013 19:43:49 +0000 (20:43 +0100)] 
Add a multi_cpu_race helper

This makes the test run alone, to increase the chance of a
multi-CPU race happening.

6 years agoWhitespace only
Ian Lynagh [Wed, 17 Apr 2013 19:42:03 +0000 (20:42 +0100)] 
Whitespace only

6 years agoTest for #7815
Ryan Yates [Tue, 9 Apr 2013 01:45:22 +0000 (21:45 -0400)] 
Test for #7815

This test differes slightly from the code in the ticket, but the
simplification betters the chances of seeing the error.  Instead of
looking for the error with an additional tranaction, when error appears
only one `reset` can complete and the other is blocked on STM raising an
exception.

6 years agoTest Trac #7586
Simon Peyton Jones [Tue, 16 Apr 2013 09:27:56 +0000 (10:27 +0100)] 
Test Trac #7586

6 years agoTest Trac #7837
Simon Peyton Jones [Tue, 16 Apr 2013 08:54:40 +0000 (09:54 +0100)] 
Test Trac #7837

6 years agoWibbles to "main is not defined in Main" messagse
Simon Peyton Jones [Mon, 15 Apr 2013 16:40:16 +0000 (17:40 +0100)] 
Wibbles to "main is not defined in Main" messagse

6 years agoTest Trac #7827
Patrick Palka [Thu, 11 Apr 2013 20:26:03 +0000 (16:26 -0400)] 
Test Trac #7827

6 years agoBump peak-megabytes (always a wobbly number)
Simon Peyton Jones [Wed, 3 Apr 2013 17:22:00 +0000 (18:22 +0100)] 
Bump peak-megabytes (always a wobbly number)

6 years agoWibbles to error output
Simon Peyton Jones [Wed, 3 Apr 2013 17:21:40 +0000 (18:21 +0100)] 
Wibbles to error output

6 years agoTest Trac #7804
Simon Peyton Jones [Wed, 3 Apr 2013 17:21:12 +0000 (18:21 +0100)] 
Test Trac #7804

6 years agoTest Trac #7805
Simon Peyton Jones [Wed, 3 Apr 2013 12:30:33 +0000 (13:30 +0100)] 
Test Trac #7805

6 years agoSpecConstr infinite specialisation: test for #5550
Amos Robinson [Wed, 3 Apr 2013 06:28:41 +0000 (17:28 +1100)] 
SpecConstr infinite specialisation: test for #5550

6 years agonew test for #7796, also improves a haddock perf
Nicolas Frisby [Thu, 28 Mar 2013 13:58:31 +0000 (13:58 +0000)] 
new test for #7796, also improves a haddock perf

T149 is also an unexpected pass, but it's behaving
nondeterministically, so I'm not changing it for now

6 years agoFix a framework error when using a non-dynamic GHC
Ian Lynagh [Tue, 19 Mar 2013 15:37:13 +0000 (15:37 +0000)] 
Fix a framework error when using a non-dynamic GHC

6 years agoMerge branch 'master' of http://darcs.haskell.org/testsuite
Simon Peyton Jones [Mon, 18 Mar 2013 12:51:32 +0000 (12:51 +0000)] 
Merge branch 'master' of darcs.haskell.org/testsuite

6 years agoMake T7319 run in all ways
Simon Peyton Jones [Mon, 18 Mar 2013 12:50:48 +0000 (12:50 +0000)] 
Make T7319 run in all ways

It used to give different answers because of different
exceptoin behaviour (cf #7737) but now it's fine

6 years agoAdd a test for #7776
Ian Lynagh [Mon, 18 Mar 2013 10:13:29 +0000 (10:13 +0000)] 
Add a test for #7776

6 years agoT5313 is broken (#7774)
Ian Lynagh [Sat, 16 Mar 2013 23:51:31 +0000 (23:51 +0000)] 
T5313 is broken (#7774)

6 years agoMerge branch 'master' of darcs.haskell.org:/srv/darcs//testsuite
Ian Lynagh [Sat, 16 Mar 2013 22:54:22 +0000 (22:54 +0000)] 
Merge branch 'master' of darcs.haskell.org:/srv/darcs//testsuite

6 years agoFix plugins02 with dynamic GHC
Ian Lynagh [Sat, 16 Mar 2013 21:08:48 +0000 (21:08 +0000)] 
Fix plugins02 with dynamic GHC

6 years agoFix T5555 with dynamic ghci
Ian Lynagh [Sat, 16 Mar 2013 20:29:52 +0000 (20:29 +0000)] 
Fix T5555 with dynamic ghci

6 years agoInitial test for Trac #4175
Simon Peyton Jones [Fri, 15 Mar 2013 15:53:34 +0000 (15:53 +0000)] 
Initial test for Trac #4175

6 years agoTweak test as a result of fixing #4175
Patrick Palka [Thu, 14 Mar 2013 19:01:54 +0000 (15:01 -0400)] 
Tweak test as a result of fixing #4175

The test calls ":info" on an associate type, so now the output also
contains the associated type's instances.

6 years agoFix ghci058 with dynamic GHC
Ian Lynagh [Fri, 15 Mar 2013 00:39:59 +0000 (00:39 +0000)] 
Fix ghci058 with dynamic GHC

6 years agoFix tests for dynamic ghc
Ian Lynagh [Thu, 14 Mar 2013 16:56:23 +0000 (16:56 +0000)] 
Fix tests for dynamic ghc

6 years agoTests for nullary type classes (#7642)
Krzysztof Gogolewski [Mon, 11 Mar 2013 12:32:58 +0000 (13:32 +0100)] 
Tests for nullary type classes (#7642)

6 years agoUpdate haddock.Cabal bounds
Ian Lynagh [Wed, 13 Mar 2013 02:00:05 +0000 (02:00 +0000)] 
Update haddock.Cabal bounds

I assume that Cabal has just been growing, so haddock needs more memory
for the newer sources.

6 years agoAdd a simple test for compiling and running a program that uses the GHC API
Ian Lynagh [Sun, 10 Mar 2013 23:16:27 +0000 (00:16 +0100)] 
Add a simple test for compiling and running a program that uses the GHC API

6 years agoStop T2507 failing on Windows
Ian Lynagh [Mon, 11 Mar 2013 23:42:18 +0000 (23:42 +0000)] 
Stop T2507 failing on Windows

The testsuite doesn't know how to set a non-Unicode locale on Windows

6 years agoRevert "Accept unicode quotes in T2507"
Ian Lynagh [Sun, 10 Mar 2013 15:41:48 +0000 (15:41 +0000)] 
Revert "Accept unicode quotes in T2507"

T2507 sets LC_ALL=C, so doesn't run in a Unicode locale, and shouldn't
have unicode quotes.

6 years agoTest Trac #7748
Simon Peyton Jones [Sat, 9 Mar 2013 16:31:04 +0000 (16:31 +0000)] 
Test Trac #7748

6 years agoMerge branch 'master' of http://darcs.haskell.org/testsuite
Simon Peyton Jones [Fri, 8 Mar 2013 12:17:15 +0000 (12:17 +0000)] 
Merge branch 'master' of darcs.haskell.org/testsuite

6 years agoAdd a test for AutoDeriveTypeable
Jose Pedro Magalhaes [Fri, 8 Mar 2013 10:41:17 +0000 (10:41 +0000)] 
Add a test for AutoDeriveTypeable

6 years agoAdd test for T7704
Jose Pedro Magalhaes [Fri, 8 Mar 2013 08:31:35 +0000 (08:31 +0000)] 
Add test for T7704

6 years agoUpdate test output
Jose Pedro Magalhaes [Fri, 8 Mar 2013 08:27:14 +0000 (08:27 +0000)] 
Update test output

6 years agoplugins01 should be using $(TEST_HC_OPTS), not $(HC_OPTS)
Ian Lynagh [Thu, 7 Mar 2013 14:21:45 +0000 (14:21 +0000)] 
plugins01 should be using $(TEST_HC_OPTS), not $(HC_OPTS)

Removes the need to explicitly pass it -fforce-recomp

6 years agoForce recompilation to ensure plugin output, fixes #7597
Edward Z. Yang [Thu, 7 Mar 2013 06:01:33 +0000 (22:01 -0800)] 
Force recompilation to ensure plugin output, fixes #7597

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
6 years agoAccept unicode quotes in T2507
Simon Peyton Jones [Tue, 5 Mar 2013 09:21:30 +0000 (09:21 +0000)] 
Accept unicode quotes in T2507

6 years agoupdate T5045 for new typing of arrow forms
Ross Paterson [Mon, 4 Mar 2013 13:23:09 +0000 (13:23 +0000)] 
update T5045 for new typing of arrow forms

6 years agoMerge branch 'master' of http://darcs.haskell.org/testsuite
Simon Peyton Jones [Mon, 4 Mar 2013 09:42:21 +0000 (09:42 +0000)] 
Merge branch 'master' of darcs.haskell.org/testsuite

6 years agoWibbles from new arrow typechecking code
Simon Peyton Jones [Mon, 4 Mar 2013 09:41:36 +0000 (09:41 +0000)] 
Wibbles from new arrow typechecking code
Refactored to solve Trac #5609

6 years agoMerge branch 'master' of http://darcs.haskell.org/testsuite
Amos Robinson [Mon, 4 Mar 2013 02:54:11 +0000 (13:54 +1100)] 
Merge branch 'master' of darcs.haskell.org/testsuite

6 years agoTrac #7736: Parallel array enumeration causes compiler panic (enumFromToP), expected...
Amos Robinson [Mon, 4 Mar 2013 02:53:42 +0000 (13:53 +1100)] 
Trac #7736: Parallel array enumeration causes compiler panic (enumFromToP), expected fail

6 years agoTest Trac #7696, #7697
Simon Peyton Jones [Sun, 3 Mar 2013 23:13:41 +0000 (23:13 +0000)] 
Test Trac #7696, #7697

6 years agoTest Trac #7641
Simon Peyton Jones [Sun, 3 Mar 2013 23:08:45 +0000 (23:08 +0000)] 
Test Trac #7641

6 years agoWibbles to error messages following fixing Trac #7696 and #7697
Simon Peyton Jones [Sun, 3 Mar 2013 23:07:43 +0000 (23:07 +0000)] 
Wibbles to error messages following fixing Trac #7696 and #7697

6 years agoUpdate drvfail011.stderr following #7734 fix; patch from monoidal
Ian Lynagh [Sun, 3 Mar 2013 16:31:52 +0000 (16:31 +0000)] 
Update drvfail011.stderr following #7734 fix; patch from monoidal

6 years agoAdd a test for #7734
Ian Lynagh [Sun, 3 Mar 2013 16:05:43 +0000 (16:05 +0000)] 
Add a test for #7734

6 years agoMerge branch 'master' of http://darcs.haskell.org/testsuite
Simon Peyton Jones [Fri, 1 Mar 2013 18:04:47 +0000 (18:04 +0000)] 
Merge branch 'master' of darcs.haskell.org/testsuite

6 years agoTest Trac #7729
Simon Peyton Jones [Fri, 1 Mar 2013 18:04:35 +0000 (18:04 +0000)] 
Test Trac #7729

6 years agoRemove redundant SafeHaskell tests
Ian Lynagh [Fri, 1 Mar 2013 15:18:22 +0000 (15:18 +0000)] 
Remove redundant SafeHaskell tests

6 years agoT7671 / #7671 is now fixed
Ian Lynagh [Tue, 26 Feb 2013 01:26:26 +0000 (01:26 +0000)] 
T7671 / #7671 is now fixed

6 years agoAdd a couple of tests for #7627
Ian Lynagh [Mon, 25 Feb 2013 21:39:59 +0000 (21:39 +0000)] 
Add a couple of tests for #7627

6 years agoFix T6037.stderr; it uses LC_ALL=C, so won't actually get unicode quotes
Ian Lynagh [Sun, 24 Feb 2013 15:55:00 +0000 (15:55 +0000)] 
Fix T6037.stderr; it uses LC_ALL=C, so won't actually get unicode quotes

6 years agoAdd a test for #2507; we should get `' quotes if unicode quotes don't work
Ian Lynagh [Sun, 24 Feb 2013 15:54:20 +0000 (15:54 +0000)] 
Add a test for #2507; we should get `' quotes if unicode quotes don't work

6 years agoUpdate T3103.stderr following unicode quote change
Ian Lynagh [Sun, 24 Feb 2013 15:38:56 +0000 (15:38 +0000)] 
Update T3103.stderr following unicode quote change

6 years agoAccept T3950 output following unicode quotes change
Ian Lynagh [Sun, 24 Feb 2013 15:36:45 +0000 (15:36 +0000)] 
Accept T3950 output following unicode quotes change

6 years agoAccept T3208b output following unicode quotes change
Ian Lynagh [Sun, 24 Feb 2013 15:35:24 +0000 (15:35 +0000)] 
Accept T3208b output following unicode quotes change

6 years agoAccept Defer02 output following unicode quotes change
Ian Lynagh [Sun, 24 Feb 2013 15:34:16 +0000 (15:34 +0000)] 
Accept Defer02 output following unicode quotes change

6 years agoFix line endings in Defer02.stderr
Ian Lynagh [Sun, 24 Feb 2013 15:30:48 +0000 (15:30 +0000)] 
Fix line endings in Defer02.stderr

6 years agoUpdate outputs following the unicode quote change in GHC's output
Ian Lynagh [Sun, 24 Feb 2013 14:48:43 +0000 (14:48 +0000)] 
Update outputs following the unicode quote change in GHC's output

6 years agoAdd a test for #6037
Ian Lynagh [Sat, 23 Feb 2013 22:45:45 +0000 (22:45 +0000)] 
Add a test for #6037

6 years agoAdd a test for #7671
Ian Lynagh [Sat, 23 Feb 2013 19:13:49 +0000 (19:13 +0000)] 
Add a test for #7671

6 years agoTest #7710
Jose Pedro Magalhaes [Thu, 21 Feb 2013 09:40:47 +0000 (09:40 +0000)] 
Test #7710

6 years agoThe "unblock" was important here
Simon Marlow [Wed, 20 Feb 2013 09:26:27 +0000 (09:26 +0000)] 
The "unblock" was important here

Because catch implicitly masks the exception handler.

6 years agosmall tidyup
Simon Marlow [Wed, 20 Feb 2013 09:25:43 +0000 (09:25 +0000)] 
small tidyup

6 years agouse unsafeUnmask instead of an IORef containing restore
Simon Marlow [Wed, 20 Feb 2013 09:19:54 +0000 (09:19 +0000)] 
use unsafeUnmask instead of an IORef containing restore

This is much closer to how the test originally worked, so it's more
likely that the test is still testing what it was testing before :-)

6 years agoRevert "Update T3279 to use mask rather than block"
Simon Marlow [Wed, 20 Feb 2013 09:16:52 +0000 (09:16 +0000)] 
Revert "Update T3279 to use mask rather than block"

This reverts commit a6d80ce5fb2211af8dafc425705fefb316702802.

6 years agoFollow the removal of blocked in base
Ian Lynagh [Tue, 19 Feb 2013 19:20:21 +0000 (19:20 +0000)] 
Follow the removal of blocked in base

6 years agoUpdate a few more tests to use mask rather than block/unblock
Ian Lynagh [Tue, 19 Feb 2013 18:50:49 +0000 (18:50 +0000)] 
Update a few more tests to use mask rather than block/unblock

6 years agoUpdate a couple of tests to use mask rather than block/unblock
Ian Lynagh [Tue, 19 Feb 2013 18:47:48 +0000 (18:47 +0000)] 
Update a couple of tests to use mask rather than block/unblock

6 years agoUpdate T3279 to use mask rather than block
Ian Lynagh [Tue, 19 Feb 2013 18:46:40 +0000 (18:46 +0000)] 
Update T3279 to use mask rather than block

I'm not 100% sure that this is still testing what it's meant to be
testing, but the test still passes.

6 years agoTest #7689
Jan Stolarek [Thu, 14 Feb 2013 12:07:26 +0000 (13:07 +0100)] 
Test #7689

Tests primitive bitwise `andI#`, `orI#`, `notI#`, `xorI#`
operations on Int#

6 years agoaccept output
Simon Marlow [Tue, 19 Feb 2013 09:40:40 +0000 (09:40 +0000)] 
accept output

I think the change to compile top-level indirections more efficiently
removed the "CAF" entries from the stack.  That's a surprising
side-effect, but it's not really a problem.

6 years agounsafePerformIO moved
Simon Marlow [Tue, 19 Feb 2013 09:39:38 +0000 (09:39 +0000)] 
unsafePerformIO moved

6 years agoupdate T3064 max_bytes_used (up a little)
Simon Marlow [Mon, 18 Feb 2013 10:42:23 +0000 (10:42 +0000)] 
update T3064 max_bytes_used (up a little)

6 years agoRevert "Significant (15%) bytes-allocated reduction in haddock.Cabal and haddock...
Simon Marlow [Mon, 18 Feb 2013 10:40:29 +0000 (10:40 +0000)] 
Revert "Significant (15%) bytes-allocated reduction in haddock.Cabal and haddock.base"

This reverts commit c3c9babf10990ccc36451b3758d6f19d749b879d.

6 years agoMerge branch 'master' of darcs.haskell.org:/srv/darcs//testsuite
Ian Lynagh [Tue, 19 Feb 2013 14:44:02 +0000 (14:44 +0000)] 
Merge branch 'master' of darcs.haskell.org:/srv/darcs//testsuite

6 years agoFixed dph-classes
Manuel M T Chakravarty [Mon, 18 Feb 2013 10:33:53 +0000 (21:33 +1100)] 
Fixed dph-classes

6 years agoRemove compose
Ian Lynagh [Sun, 17 Feb 2013 23:07:36 +0000 (23:07 +0000)] 
Remove compose

6 years agoFix T6145; MatchGroup was renamed to MG and altered
Ian Lynagh [Sun, 17 Feb 2013 21:55:42 +0000 (21:55 +0000)] 
Fix T6145; MatchGroup was renamed to MG and altered

6 years agoFix T4891 following GHC API changes
Ian Lynagh [Sun, 17 Feb 2013 21:51:30 +0000 (21:51 +0000)] 
Fix T4891 following GHC API changes

6 years agoFix prog003 after forkOnIO was removed
Ian Lynagh [Sun, 17 Feb 2013 21:48:16 +0000 (21:48 +0000)] 
Fix prog003 after forkOnIO was removed

6 years agoFollow the unsafePerformIO change in base
Ian Lynagh [Sun, 17 Feb 2013 21:24:37 +0000 (21:24 +0000)] 
Follow the unsafePerformIO change in base

6 years agoAdd extra cleaning for print035
Ian Lynagh [Sat, 16 Feb 2013 23:28:15 +0000 (23:28 +0000)] 
Add extra cleaning for print035

6 years agoAdd extra cleaning for ccfail004
Ian Lynagh [Sat, 16 Feb 2013 23:26:27 +0000 (23:26 +0000)] 
Add extra cleaning for ccfail004

6 years agoUpdate GoodImport03
Ian Lynagh [Sat, 16 Feb 2013 17:20:57 +0000 (17:20 +0000)] 
Update GoodImport03

6 years agoRemove Dep0{3,4}
Ian Lynagh [Sat, 16 Feb 2013 14:15:16 +0000 (14:15 +0000)] 
Remove Dep0{3,4}

I'm not sure what they're supposed to test

6 years agoRemove BadImport04 and BadImport09
Ian Lynagh [Sat, 16 Feb 2013 14:09:05 +0000 (14:09 +0000)] 
Remove BadImport04 and BadImport09

They are now redundant

6 years agoBadImport04: Follow changes in base
Ian Lynagh [Sat, 16 Feb 2013 14:07:21 +0000 (14:07 +0000)] 
BadImport04: Follow changes in base

6 years agoT4978: Follow changes in base
Ian Lynagh [Sat, 16 Feb 2013 14:06:01 +0000 (14:06 +0000)] 
T4978: Follow changes in base

6 years agomask002: Follow changes in base
Ian Lynagh [Sat, 16 Feb 2013 14:01:13 +0000 (14:01 +0000)] 
mask002: Follow changes in base