From: <re...@in...> - 2001-11-22 11:25:59
|
Dear Fyodor, > I did not find a way to get the CVS archived copy. > Could you send me archive containing current files of the project? > I can then repeat testing and submit an official report. I can do. What kind of archive do you prefer? Can I send you a zip file containing the whole testsuite? It will be around 60KB. > In general, Oberon 1 compiler that accepts ASSERT supersets the > language. I offer to add in each test that contains ASSERT the > following text just after const/var/type declarations: > > PROCEDURE ASSERT(condition:BOOLEAN); > BEGIN > IF ~condition THEN > HALT(99); > END; > END ASSERT; > > The only trouble of this solution is that it does not accepts > different error codes. But it is better than to expect implementation > of ASSERT in Oberon 1 compiler. Furthermore, this procedure allows to > count its calls in global variable and to show this number after test > finish thus allowing to check if all ASSERTs were reached or not. This is of course a possible solution. If it would be up to me, I would rather spend my time adding new tests to the test-suite. Anyway such a change shall be submitted to the mailing-list, to see if anybody has objections or comments to your proposal. > How should author of a test for Hostess mention himself in test text? I usually put my name or initials in a comment after the module name. > Can creation date be mentioned? Sure! > Why test aim is not reflected in test text? The test aim is usually part of the test schedule testcases.xml, which describes the test, conformancy, and expected results. -Patrik -- Patrik Reali, re...@in... http://www.inf.ethz.ch/personal/reali/ http://www.oberon.ethz.ch/jaos/ http://www.oberon.ethz.ch/native/ |