Make the linker_unload test less fragile
authorSimon Marlow <smarlow@fb.com>
Tue, 20 Jan 2015 11:59:25 +0000 (03:59 -0800)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 20 Jan 2015 12:39:41 +0000 (12:39 +0000)
commit6108d95a73f93d486223064ad72bf6bedc116cbd
treea69335a13fceac701dcbf27f2ab4d6ebd4701cc4
parent9894f6a5b4883ea87fd5f280a2eb4a8abfbd2a6b
Make the linker_unload test less fragile

Summary:
Now it invokes the GHC API to load packages, rather than trying to do it
manually.  This should fix most of the issues we've had with this test,
and might make it work on Windows too.
testsuite/tests/rts/LinkerUnload.hs [new file with mode: 0644]
testsuite/tests/rts/Makefile
testsuite/tests/rts/linker_unload.c
testsuite/tests/rts/linker_unload.stdout