ghc.git
7 years agoMove base and unix tests to respective packages; part of #1161.
Paolo Capriotti [Fri, 9 Mar 2012 13:11:08 +0000 (13:11 +0000)] 
Move base and unix tests to respective packages; part of #1161.

7 years agoUpdate perf bounds for i386.
Paolo Capriotti [Thu, 8 Mar 2012 11:29:47 +0000 (11:29 +0000)] 
Update perf bounds for i386.

7 years agoAccept changed debug output from Simon's changes to GHC
Max Bolingbroke [Wed, 7 Mar 2012 20:29:54 +0000 (20:29 +0000)] 
Accept changed debug output from Simon's changes to GHC

7 years agoUpdate .gitignore.
Paolo Capriotti [Tue, 6 Mar 2012 10:57:35 +0000 (10:57 +0000)] 
Update .gitignore.

7 years agoFix llvm check
David Terei [Tue, 6 Mar 2012 11:25:39 +0000 (03:25 -0800)] 
Fix llvm check

7 years agoDisable threads with python 2.7.2.
Paolo Capriotti [Tue, 6 Mar 2012 09:33:06 +0000 (09:33 +0000)] 
Disable threads with python 2.7.2.

7 years agoTest Trac #5716
Simon Peyton Jones [Mon, 5 Mar 2012 17:10:33 +0000 (17:10 +0000)] 
Test Trac #5716

7 years agoWibbles to testsuite/mk/boilerplate.mk
Simon Peyton Jones [Mon, 5 Mar 2012 10:28:12 +0000 (10:28 +0000)] 
Wibbles to testsuite/mk/boilerplate.mk

...after consulting with Simon M on a conflict

7 years agoTest Trac #5881
Simon Peyton Jones [Mon, 5 Mar 2012 09:51:35 +0000 (09:51 +0000)] 
Test Trac #5881

7 years agoTest Trac #5892
Simon Peyton Jones [Sun, 4 Mar 2012 09:38:28 +0000 (09:38 +0000)] 
Test Trac #5892

7 years agoTest Trac #5912
Simon Peyton Jones [Sun, 4 Mar 2012 09:04:05 +0000 (09:04 +0000)] 
Test Trac #5912

7 years agoTest Trac #5862
Simon Peyton Jones [Sun, 4 Mar 2012 08:26:35 +0000 (08:26 +0000)] 
Test Trac #5862

7 years agoMerge branch 'master' of http://darcs.haskell.org//testsuite
Simon Peyton Jones [Fri, 2 Mar 2012 20:06:35 +0000 (20:06 +0000)] 
Merge branch 'master' of darcs.haskell.org//testsuite

Conflicts:
mk/boilerplate.mk

7 years agoTest Trac #5717
Simon Peyton Jones [Fri, 2 Mar 2012 17:49:30 +0000 (17:49 +0000)] 
Test Trac #5717

7 years agoRemove unnecessary import
Simon Peyton Jones [Fri, 2 Mar 2012 17:13:47 +0000 (17:13 +0000)] 
Remove unnecessary import

7 years agoModified error output and new tests for PolyKinds commit
Simon Peyton Jones [Fri, 2 Mar 2012 16:35:42 +0000 (16:35 +0000)] 
Modified error output and new tests for PolyKinds commit

7 years agofix test for the new TASKS stats output
Simon Marlow [Fri, 2 Mar 2012 11:42:25 +0000 (11:42 +0000)] 
fix test for the new TASKS stats output

7 years agoadd missing file
Simon Marlow [Thu, 1 Mar 2012 14:03:41 +0000 (14:03 +0000)] 
add missing file

7 years agoaccept output
Simon Marlow [Thu, 1 Mar 2012 13:49:28 +0000 (13:49 +0000)] 
accept output

7 years agoupdate ghci024 following changes to :set
Simon Marlow [Wed, 29 Feb 2012 15:15:09 +0000 (15:15 +0000)] 
update ghci024 following changes to :set

7 years agoadd a test for :seti
Simon Marlow [Wed, 29 Feb 2012 15:14:48 +0000 (15:14 +0000)] 
add a test for :seti

7 years agoupdate 32-bit results
Simon Marlow [Wed, 29 Feb 2012 11:12:10 +0000 (11:12 +0000)] 
update 32-bit results

7 years agoWibbles to error messages
Simon Peyton Jones [Tue, 28 Feb 2012 10:03:37 +0000 (10:03 +0000)] 
Wibbles to error messages

7 years agoadd test for #5866
Simon Marlow [Mon, 27 Feb 2012 14:42:10 +0000 (14:42 +0000)] 
add test for #5866

7 years agoTest changing the -main-is function name, not just the module
Simon Marlow [Thu, 16 Feb 2012 12:17:35 +0000 (12:17 +0000)] 
Test changing the -main-is function name, not just the module

7 years agoMove test array01 into the array package
Ian Lynagh [Sun, 26 Feb 2012 18:43:11 +0000 (18:43 +0000)] 
Move test array01 into the array package

7 years agoAdd a test for a "value" FFI import with a function type
Ian Lynagh [Sun, 26 Feb 2012 12:49:48 +0000 (12:49 +0000)] 
Add a test for a "value" FFI import with a function type

7 years agoAdd a test that you can't import "value"s using ccall
Ian Lynagh [Sun, 26 Feb 2012 01:00:59 +0000 (01:00 +0000)] 
Add a test that you can't import "value"s using ccall

"value"s can only be imported using capi.

7 years agoAdd a test for CAPI value imports
Ian Lynagh [Sun, 26 Feb 2012 00:38:05 +0000 (00:38 +0000)] 
Add a test for CAPI value imports

7 years agoAdd a test for FFI decl parsing
Ian Lynagh [Sat, 25 Feb 2012 17:57:00 +0000 (17:57 +0000)] 
Add a test for FFI decl parsing

We were parsing "staticfoo" as "static foo".

7 years agoUse 64bit args in mul2
Ian Lynagh [Fri, 24 Feb 2012 01:54:58 +0000 (01:54 +0000)] 
Use 64bit args in mul2

7 years agoAdd 32bit output for mul2
Ian Lynagh [Fri, 24 Feb 2012 01:50:08 +0000 (01:50 +0000)] 
Add 32bit output for mul2

7 years agoAdd a test for 2-word-multiply
Ian Lynagh [Fri, 24 Feb 2012 00:34:11 +0000 (00:34 +0000)] 
Add a test for 2-word-multiply

7 years agoAdd 32-bit output for add2
Ian Lynagh [Thu, 23 Feb 2012 22:14:45 +0000 (22:14 +0000)] 
Add 32-bit output for add2

7 years agoAdd a test for add-with-carry
Ian Lynagh [Thu, 23 Feb 2012 22:10:27 +0000 (22:10 +0000)] 
Add a test for add-with-carry

7 years agoUpdate test outputs now the bytestring version number has changed
Ian Lynagh [Wed, 22 Feb 2012 20:38:34 +0000 (20:38 +0000)] 
Update test outputs now the bytestring version number has changed

These really ought to be normalised, but this gets them passing
again for now.

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 agoMerge branch 'master' of http://darcs.haskell.org//testsuite
Simon Peyton Jones [Mon, 30 Jan 2012 21:54:39 +0000 (21:54 +0000)] 
Merge branch 'master' of darcs.haskell.org//testsuite

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)

7 years agoMerge branch 'master' of http://darcs.haskell.org//testsuite
Simon Peyton Jones [Fri, 20 Jan 2012 22:44:06 +0000 (22:44 +0000)] 
Merge branch 'master' of darcs.haskell.org//testsuite

7 years agoDon't fail if "ar command" is not found
Simon Peyton Jones [Fri, 20 Jan 2012 10:49:43 +0000 (10:49 +0000)] 
Don't fail if "ar command" is not found

7 years agoFix for Windows, and delete the .mk file if ghc-config fails
Simon Peyton Jones [Fri, 20 Jan 2012 10:49:22 +0000 (10:49 +0000)] 
Fix for Windows, and delete the .mk file if ghc-config fails

7 years agoDon't read boilerplate.mk on 'make maintainer-clean'
Simon Peyton Jones [Fri, 20 Jan 2012 10:47:55 +0000 (10:47 +0000)] 
Don't read boilerplate.mk on 'make maintainer-clean'

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

7 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

7 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