
18 Oct
2013
18 Oct
'13
5:28 a.m.
Hi.
On 18 October 2013 08:07, Sven Panne
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