[Omake] Tests
Aleksey Nogin
nogin at cs.caltech.edu
Wed Sep 6 19:26:39 PDT 2006
On 04.09.2006 03:22, David Kågedal wrote:
> There is a directory called "tests" in the distribution, and in the
> 0.9.8.x svn branch. But there isn't very much in it. And I don't see
> any way to run all the tests.
>
> I whipped up a quick osh script that will run all tests and print
> FAILED if the exit status wasn't 0. It scans for files or directories
> called Test or Test1..Test9. For files, it runs them through osh, and
> for directories it cd's to them and runs omake.
>
> This is not really functioning, since many of the test scripts are not
> written to test itself, but it's a start.
>
David,
Thanks a lot for looking into this - we definitely need to start
creating some reasonable regression test suite and adding a large number
of unit tests, but for now testing was done in a very ad-hoc manner.
Most (all?) of the tests that are currently in there were written by
Jason, and I am hoping that he would comment on your script and vmount
test once he gets a chance (he is currently away on a trip, I believe).
Aleksey
More information about the Omake
mailing list