validating haskell-platform compiled from source?

51 Views Asked by At

Is there a recommended way to validate Haskell Platform built from source?

I do see a test target in the GHC Makefile, but there doesn't seem to be test section in the platform.sh script.

1

There are 1 best solutions below

0
On

The HP built from source uses a GHC tarball, so that tarball is ideally already validated.

There's no particular validation for the platform itself that is scriptable, as what is built is an installer.

Typically people building the installer fire up a virtual target system and attempt to install something like pandoc that pulls in a large enough chunk of hackage to give the entire system a workout...