cvs commit: hugs98/tools hugs-hc

Ross Paterson ross at soi.city.ac.uk
Fri Nov 12 11:39:20 EST 2004


On Fri, Nov 12, 2004 at 03:24:52PM -0000, Simon Marlow wrote:
> That wasn't how I initially envisioned running the testsuite using
> different compilers, but I guess various ghc-specific bits have crept
> into the allegedly portable parts of the framework :-(

Just a little.  The following options are used:

	+RTS --make -C -Di386_unknown_linux -O -W -Wall -c -cpp
	-fglasgow-exts -fno-warn-incomplete-patterns -funbox-strict-fields
	-fwarn-unused-binds -fwarn-unused-matches -no-hs-main -o
	-package -v0

most of which are ignorable.  A wrapper for Hugs has to pretend to
generate .o files and executables, which won't be a problem for nhc98.
You'll have to skip a lot more tests, though.

The timeout patch also makes several tests GHC-only; perhaps it could
be wrapped up somehow.  (Not that Hugs doesn't need a timeout sometimes.)


More information about the Cvs-hugs mailing list