
I think the parallel build requirement was a concern in the initial
mail, if it is a single executable I assume it's going to be trickier.
On Fri, Oct 18, 2013 at 11:28 AM, Ozgur Akgun
Hi.
On 18 October 2013 08:07, Sven Panne
wrote: The only missing part is some way to build tons of executables in parallel without writing a .cabal file of roughly the same size as "The Lord of the Rings" or a typical Stephen King novel...
If you have so many tests, why wouldn't you generate a single executable which takes the name of the test as an argument and runs that test?
Something like the following, with additional error checking and etc.
data Test = Foo | Bar | ... runTest :: Test -> IO () main = do (t:_) <- getArgs runTest (read t)
This is a pretty simple idea, just wanted to know why you don't go down this path instead.
HTH, Ozgur
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe