[Haskell-cafe] Re: GSoC: Improving Cabal's Test Support
Rogan Creswick
creswick at gmail.com
Tue Apr 6 21:23:04 EDT 2010
On Tue, Apr 6, 2010 at 5:49 PM, Thomas Tuegel <ttuegel at gmail.com> wrote:
>
> Suppose we adopt your suggestion and let test programs be ordinary
> executables in ordinary 'Executable' sections, and make 'Test'
> sections that look like:
>
> > Test foo-1
> > exe-is: foo
> > options: --enable-bar --disable-baz
> >
> > Test foo-2
> > exe-is: foo
> > options: --enable-bar --enable-baz
> >
> > Test some-other-test
> > exe-is: some-other-test
> > options: --something-completely-different
>
> Now we get named sets of options but don't have to worry about parsing
> through to find the executable names! It also solves the problem of
> running test suites with multiple sets of options at runtime.
>
Ah, I like this too, as well as Gregory's suggestion re: "Automatic" options.
--Rogan
> --
> Thomas Tuegel
More information about the Haskell-Cafe
mailing list