Testsuite run dynamic and not

Edward Z. Yang ezyang at MIT.EDU
Sun Sep 8 20:30:25 UTC 2013


Hey folks,

I'm writing a test for #5435 but I don't really know how to structure it
properly.  I have a C file and an HS file, and I'd like to run the test
twice: once dynamic (so the C should be compiled with -fPIC) and once
not.  Furthermore, I'd like both ways to run when doing 'make fast'
(unless dynamic libraries are not available).  How do I spell this?
The easy thing is to list the test twice in all.T but this seems wrong.

Edward




More information about the ghc-devs mailing list