From: Janne H. <ja...@hy...> - 2004-12-18 11:47:36
|
> How about lots of tiny test programs (test1.ml, test2.ml, > test_string_exists.ml, ...) which are linked together into a main > program. The main program (test.ml) would be generated by the > Makefile and would basically consist of something like: > > let () = > Test1.test (); > Test2.test (); > Test_string_exists.test (); > (* ... *) > print_endline "Tests OK" This is pretty much what I was proposing, although I'd probably put more tests into one .ml file. I will make an initial test today and post a link to the results here. Perhaps interested people could take a look and we could continue after the initial review. I'm considering the use of OMake for the tester. I wonder if people are much against that? At least it works on all platforms and is much much nicer than GNU Make. ciao, janne |