ghc.git
6 years agoRemove some cruft
Ian Lynagh [Tue, 4 Jun 2013 19:52:13 +0000 (20:52 +0100)] 
Remove some cruft

6 years agoPerformance test for Trac #7702
Andrew Farmer [Tue, 9 Apr 2013 00:45:07 +0000 (19:45 -0500)] 
Performance test for Trac #7702

6 years agoAdd a test for #7859
Ian Lynagh [Tue, 4 Jun 2013 18:13:29 +0000 (19:13 +0100)] 
Add a test for #7859

6 years agoFix test for Trac #7931
Simon Peyton Jones [Thu, 30 May 2013 14:19:11 +0000 (15:19 +0100)] 
Fix test for Trac #7931

6 years agoRemove CatPairs test.
Austin Seipp [Thu, 30 May 2013 14:18:31 +0000 (09:18 -0500)] 
Remove CatPairs test.

It's causing a failure. It should probably go in the tests for base
anyway.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
6 years agoTest DerivingNewType now passes
Simon Peyton Jones [Thu, 30 May 2013 14:03:41 +0000 (15:03 +0100)] 
Test DerivingNewType now passes

(c.f. Trac #4185)

6 years agoTest Trac #7785
Simon Peyton Jones [Thu, 30 May 2013 13:29:19 +0000 (14:29 +0100)] 
Test Trac #7785

6 years agoMake test for T7903 a bit harder!
Simon Peyton Jones [Thu, 30 May 2013 13:17:13 +0000 (14:17 +0100)] 
Make test for T7903 a bit harder!

6 years agoTest Trac #7809
Simon Peyton Jones [Thu, 30 May 2013 13:16:59 +0000 (14:16 +0100)] 
Test Trac #7809

6 years agoWhoops. :(
Austin Seipp [Thu, 30 May 2013 13:28:11 +0000 (08:28 -0500)] 
Whoops. :(

Signed-off-by: Austin Seipp <aseipp@pobox.com>
6 years agoAdd test for polykinded Control.Category.
Austin Seipp [Thu, 30 May 2013 13:26:14 +0000 (08:26 -0500)] 
Add test for polykinded Control.Category.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
6 years agoTest Trac #4185
Simon Peyton Jones [Thu, 30 May 2013 13:01:29 +0000 (14:01 +0100)] 
Test Trac #4185

6 years agoWibble to error message
Simon Peyton Jones [Thu, 30 May 2013 11:14:34 +0000 (12:14 +0100)] 
Wibble to error message

6 years agoRe-increase the (erratic) max-bytes-used bound for T3294
Simon Peyton Jones [Thu, 30 May 2013 11:09:44 +0000 (12:09 +0100)] 
Re-increase the (erratic) max-bytes-used bound for T3294

6 years agoTest Trac #7797
Simon Peyton Jones [Thu, 30 May 2013 11:09:08 +0000 (12:09 +0100)] 
Test Trac #7797

6 years agoTest Trac #7943
Simon Peyton Jones [Tue, 28 May 2013 13:03:51 +0000 (14:03 +0100)] 
Test Trac #7943

6 years agoTest Trac #7937
Simon Peyton Jones [Tue, 28 May 2013 08:20:12 +0000 (09:20 +0100)] 
Test Trac #7937

6 years agoExplicit kinds in :info command ===> testsuite wibbles
Simon Peyton Jones [Mon, 27 May 2013 16:33:13 +0000 (17:33 +0100)] 
Explicit kinds in :info command ===> testsuite wibbles

6 years agoTest Trac #7931
Simon Peyton Jones [Mon, 27 May 2013 16:32:45 +0000 (17:32 +0100)] 
Test Trac #7931

6 years agoTest Trac #7939
Simon Peyton Jones [Mon, 27 May 2013 16:32:07 +0000 (17:32 +0100)] 
Test Trac #7939

6 years agoImprove test T7916
Simon Peyton Jones [Fri, 24 May 2013 10:12:38 +0000 (11:12 +0100)] 
Improve test T7916

6 years agoTest Trac #7924
Simon Peyton Jones [Wed, 22 May 2013 19:36:33 +0000 (20:36 +0100)] 
Test Trac #7924

6 years agoTest Trac #7916
Simon Peyton Jones [Wed, 22 May 2013 16:44:47 +0000 (17:44 +0100)] 
Test Trac #7916

6 years agoUpdate output for T2604
Jose Pedro Magalhaes [Tue, 21 May 2013 13:46:02 +0000 (14:46 +0100)] 
Update output for T2604

6 years agoAdd test for T5863
Jose Pedro Magalhaes [Tue, 21 May 2013 13:42:34 +0000 (14:42 +0100)] 
Add test for T5863

As apparently there is already a test named T5863,
I named this one T5863a.

6 years agoTest deriving Typeable for promoted data constructors with AutoDeriveTypeable
Jose Pedro Magalhaes [Tue, 21 May 2013 09:13:06 +0000 (10:13 +0100)] 
Test deriving Typeable for promoted data constructors with AutoDeriveTypeable

6 years agoAdd stderr output
Simon Peyton Jones [Tue, 21 May 2013 11:31:55 +0000 (12:31 +0100)] 
Add stderr output

6 years agoWe no longer quantify over an entirely-unused existential type variable
Simon Peyton Jones [Tue, 21 May 2013 11:31:45 +0000 (12:31 +0100)] 
We no longer quantify over an entirely-unused existential type variable

6 years agoImproved error message
Simon Peyton Jones [Tue, 21 May 2013 11:31:23 +0000 (12:31 +0100)] 
Improved error message

6 years agoAdd a test for 2 trailing commas in the module export list
Ian Lynagh [Sun, 19 May 2013 12:38:07 +0000 (13:38 +0100)] 
Add a test for 2 trailing commas in the module export list

6 years agoMerge branch 'master' of http://darcs.haskell.org/testsuite
Ian Lynagh [Fri, 17 May 2013 13:38:05 +0000 (14:38 +0100)] 
Merge branch 'master' of darcs.haskell.org/testsuite

6 years agoMake test cleaning a little more consistent
Ian Lynagh [Fri, 17 May 2013 13:35:44 +0000 (14:35 +0100)] 
Make test cleaning a little more consistent

6 years agoMake the test actually test the bug!
Simon Peyton Jones [Thu, 16 May 2013 11:13:28 +0000 (12:13 +0100)] 
Make the test actually test the bug!

(Thanks to Martijn for correcting this oversight.)

6 years agoTest Trac #7906
Simon Peyton Jones [Wed, 15 May 2013 15:02:42 +0000 (16:02 +0100)] 
Test Trac #7906

6 years agoWibble to simplifier output
Simon Peyton Jones [Wed, 15 May 2013 14:56:02 +0000 (15:56 +0100)] 
Wibble to simplifier output

6 years agoTest Trac #7891 and #7903
Simon Peyton Jones [Wed, 15 May 2013 14:55:44 +0000 (15:55 +0100)] 
Test Trac #7891 and #7903

6 years agoImproved compiler performance! Reason unknown, but hey, it's good news
Simon Peyton Jones [Wed, 15 May 2013 14:55:18 +0000 (15:55 +0100)] 
Improved compiler performance!  Reason unknown, but hey, it's good news

6 years agoUpdate test for application of (->) to Int#
Simon Peyton Jones [Wed, 15 May 2013 13:08:32 +0000 (14:08 +0100)] 
Update test for application of (->) to Int#

6 years agoTest Trac #7892
Simon Peyton Jones [Wed, 15 May 2013 09:37:58 +0000 (10:37 +0100)] 
Test Trac #7892

6 years agoTest Trac #7888
Simon Peyton Jones [Wed, 15 May 2013 09:27:29 +0000 (10:27 +0100)] 
Test Trac #7888

6 years agoTest Trac #7268
Simon Peyton Jones [Wed, 15 May 2013 09:25:03 +0000 (10:25 +0100)] 
Test Trac #7268

6 years agoBetter error message
Simon Peyton Jones [Wed, 15 May 2013 09:22:43 +0000 (10:22 +0100)] 
Better error message

6 years agoWibbles to error messages
Simon Peyton Jones [Wed, 15 May 2013 09:21:44 +0000 (10:21 +0100)] 
Wibbles to error messages

6 years agoUpdate test now that undefined has an OpenKind forall
Simon Peyton Jones [Wed, 15 May 2013 09:20:22 +0000 (10:20 +0100)] 
Update test now that undefined has an OpenKind forall

6 years agoTest Trac #7910
Simon Peyton Jones [Wed, 15 May 2013 09:19:21 +0000 (10:19 +0100)] 
Test Trac #7910

6 years agoChange how we detect what library ways are available
Ian Lynagh [Sun, 12 May 2013 14:15:04 +0000 (15:15 +0100)] 
Change how we detect what library ways are available

We used to use the base package to do the detection. However, base has
    extra-lib-dirs: @ICONV_LIB_DIRS@
in base.buildinfo.in, which means that if ICONV_LIB_DIRS is set then
the package config will have
    library-dirs: [...]base/dist-install/build /path/for/iconv
and, as paths may be double quoted and contains spaces, this makes it
a little tricky to extra the path that we want to look in (the first
path).

We therefore now use the ghc-prim package, which has no such complication.

6 years agoAdd a test for #7373
Ian Lynagh [Fri, 10 May 2013 17:59:52 +0000 (18:59 +0100)] 
Add a test for #7373

6 years agoFix library way detection; fixes the ImpSafeOnly* tests when BINDIST=YES
Ian Lynagh [Fri, 10 May 2013 13:32:32 +0000 (14:32 +0100)] 
Fix library way detection; fixes the ImpSafeOnly* tests when BINDIST=YES

We were checking paths with
    if [ -f '"/path/to/Prelude"' ]
i.e. the " quotes were being quoted by the ' quotes. Now we just
use " quotes (which come from the ghc-pkg output).

6 years agoTidy up the driver slightly
Ian Lynagh [Fri, 10 May 2013 13:30:45 +0000 (14:30 +0100)] 
Tidy up the driver slightly

6 years agounbreak tests (removal of block/unblock)
Simon Marlow [Fri, 10 May 2013 08:41:20 +0000 (09:41 +0100)] 
unbreak tests (removal of block/unblock)

6 years agoAdd a test for shutting down a process with in-calls in progress
Simon Marlow [Wed, 6 Mar 2013 10:37:33 +0000 (10:37 +0000)] 
Add a test for shutting down a process with in-calls in progress

6 years agoAdd test for T7878
Jose Pedro Magalhaes [Thu, 9 May 2013 09:26:57 +0000 (10:26 +0100)] 
Add test for T7878

6 years agoAdjust tests to match -funbox-small-strict-fields change
Johan Tibell [Fri, 3 May 2013 19:04:40 +0000 (12:04 -0700)] 
Adjust tests to match -funbox-small-strict-fields change

One adjustment is to the core output of some tests (false positive).

The other adjustment is due to higher allocation when (now) unboxed
values are put into a polymorphic data structure. This is a problem
with polymorphic data structures in general (e.g. it happens in Java
too) and not about having unboxed fields per say.

6 years agoTest Trac #7865
Simon Peyton Jones [Fri, 3 May 2013 10:43:57 +0000 (11:43 +0100)] 
Test Trac #7865

6 years agoWibble to error message
Simon Peyton Jones [Fri, 3 May 2013 09:05:56 +0000 (10:05 +0100)] 
Wibble to error message

6 years agoTest Trac #7875
Simon Peyton Jones [Fri, 3 May 2013 07:04:48 +0000 (08:04 +0100)] 
Test Trac #7875

6 years agoTest Trac #7873
Simon Peyton Jones [Thu, 2 May 2013 17:04:22 +0000 (18:04 +0100)] 
Test Trac #7873

6 years agoTest Trac #7872
Simon Peyton Jones [Thu, 2 May 2013 16:05:23 +0000 (17:05 +0100)] 
Test Trac #7872

6 years agoTest Trac #7861
Simon Peyton Jones [Thu, 2 May 2013 13:11:13 +0000 (14:11 +0100)] 
Test Trac #7861

6 years agoTest Trac #7869
Simon Peyton Jones [Tue, 30 Apr 2013 14:03:49 +0000 (15:03 +0100)] 
Test Trac #7869

6 years agoTest Trac #7856
Simon Peyton Jones [Mon, 29 Apr 2013 16:48:24 +0000 (17:48 +0100)] 
Test Trac #7856

6 years agoTest Trac #7851
Simon Peyton Jones [Mon, 29 Apr 2013 16:39:37 +0000 (17:39 +0100)] 
Test Trac #7851

6 years agoTest Trac #7778
Simon Peyton Jones [Mon, 29 Apr 2013 16:36:27 +0000 (17:36 +0100)] 
Test Trac #7778

6 years agoWibbles to error messages, following the fix for Trac #7851
Simon Peyton Jones [Mon, 29 Apr 2013 16:33:32 +0000 (17:33 +0100)] 
Wibbles to error messages, following the fix for Trac #7851

In effect, the error context for naked variables now takes up
a "slot" in the context stack; but it is often empty.  So the
context stack becomes one shorter in those cases.  I don't think
this matters; indeed, it's aguably an improvement.  Anyway that's
why so many tests are affected.

6 years agodynamicToo002 now passes
Ian Lynagh [Fri, 26 Apr 2013 18:40:24 +0000 (19:40 +0100)] 
dynamicToo002 now passes

6 years agoMore dynamic-too tests
Ian Lynagh [Fri, 26 Apr 2013 17:31:16 +0000 (18:31 +0100)] 
More dynamic-too tests

6 years agoUpdate Cabal perf expected values following Cabal update
Ian Lynagh [Fri, 26 Apr 2013 01:18:40 +0000 (02:18 +0100)] 
Update Cabal perf expected values following Cabal update

6 years agoFix the dynamicToo002 test
Ian Lynagh [Fri, 26 Apr 2013 01:17:23 +0000 (02:17 +0100)] 
Fix the dynamicToo002 test

6 years agodynamic002 is broken (#7864)
Ian Lynagh [Fri, 26 Apr 2013 01:16:10 +0000 (02:16 +0100)] 
dynamic002 is broken (#7864)

6 years agoAdd a test for "--make -dynamic-too"
Ian Lynagh [Thu, 25 Apr 2013 22:30:22 +0000 (23:30 +0100)] 
Add a test for "--make -dynamic-too"

6 years agoTest Trac #7857
Simon Peyton Jones [Tue, 23 Apr 2013 08:19:47 +0000 (09:19 +0100)] 
Test Trac #7857

6 years agoError message wibbles
Simon Peyton Jones [Tue, 23 Apr 2013 08:14:36 +0000 (09:14 +0100)] 
Error message wibbles

6 years agoPeak-memory usage for T3064 varies depending on whether .hi file exists on not
Simon Peyton Jones [Tue, 23 Apr 2013 08:14:27 +0000 (09:14 +0100)] 
Peak-memory usage for T3064 varies depending on whether .hi file exists on not

Really, the existence or otherwise of the .hi file shouldn't affect validate
output, but it seems to.  Maybe 'make clean' doesn't clean enough?

In ay case peak memory usage is a fragile number because it depends on when
GC happens.

So I increased the range to 20% for now.

6 years agoTest Trac #7786
Simon Peyton Jones [Mon, 22 Apr 2013 11:58:52 +0000 (12:58 +0100)] 
Test Trac #7786

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)