On Tue, Apr 6, 2010 at 5:49 PM, Thomas Tuegel <ttue...@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
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to