Add regression test for #8103
Add a regression test (see #8116)

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Add a regression test (see #7953)

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Add testcase for #8138
Fix test for #8116.

This caused a failure on some 32bit builds due to floating point
(in)accuracy. But Complex is already strict in both its components, and
we really just want to know the code works, so an easier solution is to
simply use `seq` to force evaluation.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Test case for #7901.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Improved performanace
Add test cases for T457

(fixes #457)
Add regression test for #8142
Rellocate test for T7689 to different directory

This test is testing primops, so it should be in the primops/
directory and not numeric.
minor: update test case to go along with atomic_inc change
Add a basic test for casArray#.
Omit hpc for CAS test.  HPC breaks CAS currently.
Update casArray# test and add simple casMutVar# test.
Add a test for unloading object files in the linker (#8039)
linker_unload fails when using dynamic GHCi.

This is because dynamic GHCi can't load archive files, and linker_unload
explicitly does this via loadArchive().

Signed-off-by: Austin Seipp <aseipp@pobox.com>
remove debugging cruft
Fix atomicinc

I think the change in optimisation levels due to
d06083739a310c36e9e6dc82107c8c4b03210e56 had the side effect of not
inlining atomic_inc(), which together with the broken way the test was
set up made it fail.
The linker can still be used when DYNAMIC_GHC_PROGRAMS=YES
Add regression test for #8113

Depends on fix in 3229eadbff857b110f20ffddb80d5f7abd5d7216 to pass