Merge branch 'master' of http://darcs.haskell.org//testsuite

Conflicts:
	tests/polykinds/all.T
Test Trac #7276
Arrow wibbles
Add a -static way, enabled only if dynlibs are used by default
Fix the T5252 tests

They could remove each others .o/.hi files when run in parallel.
Fix ghcilink002 and others when dynamic-by-default

It was linking base etc, but not the RTS, which was causing
    "undefined symbol: stg_newByteArrayzh"
Fix a couple of tests when dynlibs-by-default is on
Make some perf tests always use -static

Compiling with -dynamic (perhaps due to -fPIC being enabled?) seems
to require significantly more allocation:

=====> T1969(normal) 1 of 14 [0, 0, 0]
cd . && '/home/ian/ghc/git/ghc/inplace/bin/ghc-stage2' -fforce-recomp -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -c T1969.hs   +RTS -V0 -tT1969.comp.stats --machine-readable -RTS -dcore-lint >T1969.comp.stderr 2>&1
bytes allocated 669128520 is more than 1% greater than the expected value, 641959976 648379575.76
*** unexpected failure for T1969(normal)

=====> T4801(normal) 3 of 14 [0, 1, 0]
cd . && '/home/ian/ghc/git/ghc/inplace/bin/ghc-stage2' -fforce-recomp -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -c T4801.hs   +RTS -V0 -tT4801.comp.stats --machine-readable -RTS  >T4801.comp.stderr 2>&1
max_bytes_used 26928312 is more than 15% greater than the expected value, 18500000 21275000.0
peak_megabytes_allocated 66 is more than 20% greater than the expected value, 50 60.0
bytes allocated 522280144 is more than 10% greater than the expected value, 360243576 396267933.6
*** unexpected failure for T4801(normal)

=====> T783(normal) 9 of 14 [0, 2, 0]
cd . && '/home/ian/ghc/git/ghc/inplace/bin/ghc-stage2' -fforce-recomp -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -c T783.hs   +RTS -V0 -tT783.comp.stats --machine-readable -RTS  >T783.comp.stderr 2>&1
bytes allocated 506284808 is more than 10% greater than the expected value, 436927840 480620624.0
*** unexpected failure for T783(normal)
Test Trac #7050
Error message wibbles now that we do less defaulting when there are insolubles
I've changed the error reporting so that with -fdefer-type-errors
you get *all* type errors as warnings, rather than some being suppressed
Merge branch 'master' of http://darcs.haskell.org/testsuite
Don't use the dyn way if we're dynamic by default

'normal' and 'optasm' are using dynamic libs anyway, so no point
having another way for it.
Driver: Define have_shared_libs correctly
Merge branch 'master' of darcs.haskell.org:/srv/darcs//testsuite
2228 is broken on x86_64-unknown-linux

(technically, broken if dynamic-by-default is enabled)
Test Trac #7293
Test Trac #7294
Test Trac #7280
Commit missing stderr file