Dear All,
I've just released version 0.17.2 of C2HS to Hackage. This fixes a number
of regressions that were introduced in the last couple of releases. In
particular, the cuda and hsndfile packages should now build correctly.
To follow up on my recent request for packages for a regression suite for
C2HS, I've now implemented this, so that on every commit Travis builds C2HS
then tries to install a set of "typical" packages (see below). This should
hopefully help to reduce the chances of these kinds of regressions in
future. The regression suite is driven off a little YAML configuration
file and can perform various setup steps before building the regression
packages (mostly installing packages using apt-get, although the setup for
CUDA is a little more complicated).
Note that the regression suite only installs these test packages -- it
doesn't run their tests -- and so far, this is for Linux packages only.
Someone asked me about a MacOS package, and I presume that it ought to be
possible to set up a multi-platform regression suite, but I have no MacOS
machine to test these things on myself and I don't know how to force Travis
to use a MacOS host for Haskell builds. I'd be happy to hear any ideas,
and I'd also be happy to hear of any other candidate packages for
regression testing.
Cheers,
Ian.
Current regression suite packages: CV, gnome-keyring, hnetcdf, hpuz,
hsndfile, hsqml, igraph, cuda, cufft, OpenCL
--
Ian Ross Tel: +43(0)6804451378 ian(a)skybluetrades.net
www.skybluetrades.net
Dear All,
I'm trying to make a list of packages that depend on C2HS, in order to make
a regression suite to test new releases. I slightly broke things in the
last release and only found out about it when people started reporting
regressions when trying to build packages that use C2HS. The number of
moving parts involved make it difficult to write a test suite with full
coverage, so the best approach seems to be to make a list of packages and
make sure that these all build before doing a release.
I've not been able to figure out a way to do reverse dependency searches on
Hackage for build tools, hence the email.
If you have a package that uses C2HS that you'd like added to the
regression suite, let me know.
Cheers,
Ian.
--
Ian Ross Tel: +43(0)6804451378 ian(a)skybluetrades.net
www.skybluetrades.net