Running GHC Tests for Cross-Compiler?

Erik de Castro Lopo mle+hs at
Thu Jun 20 01:53:09 CEST 2013

Stephen Paul Weber wrote:

> Anyone know the best way to build the GHC test suite so that it can be run 
> on another device (so that I can run them for my cross-compiler)?

I can't answer the question for GHC, but for one of my projects (libsndfile)
I have make target that builds a testsuite binary tarball which includes all
the test programs (as binaries), the required test data and a single script
to run the whole test suite. Works like a charm.

Erik de Castro Lopo

More information about the ghc-devs mailing list