Changeset 863a27 in git for Tst/README
- Timestamp:
- Apr 23, 1998, 10:30:52 AM (25 years ago)
- Branches:
- (u'spielwiese', 'f6c3dc58b0df4bd712574325fe76d0626174ad97')
- Children:
- e4b0ecb335b41553f06500f3237225b9440c8935
- Parents:
- 751c5ca78ac69036cc8a0d6ae34bb24f7be5454c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Tst/README
r751c5c r863a27 22 22 is run. 23 23 5.) If no diffs were found, xx.diff and xx.new.res are rm'ed and 24 xx.res is gzip'ed . Otherwise (i.e., diffs were found), xx.diff and25 xx.new.res are kept, diffs are printed to stdout, and regress.cmd26 exits with exit status != 0.24 xx.res is gzip'ed and uuencoded. Otherwise (i.e., diffs were 25 found), xx.diff and xx.new.res are kept, diffs are printed to 26 stdout, and regress.cmd exits with exit status != 0. 27 27 28 28 Do also 29 29 ../regress.cmd -h 30 for some more details on regress.cmd. 30 and see the source code of ../regress.cmd for some more details on 31 regress.cmd. 31 32 32 33 To add a new test for a library/commando to the test-suite: … … 76 77 "memory" keyword -- // ignore: memory: 77 78 which causes automatic tests to ignore these lines when doing a diff 78 on result files. If possible, short tests should not contain 79 system-dependent output. 79 on result files. 80 81 3.) Time and/or memory-intensive tests should be followed by 82 (tst_ignore'd) time (resp. memory) output, so that we can keep track 83 of the timing (resp. memory) behaviour of Singular. This could be 84 accomplished as shown below: 85 int mytime = timer; 86 /* time/memory intesive computations */ 87 tst_ignore("time", timer - mytime); 88 tst_ignore("memory", memory(0)); 80 89 81 90 * Command for generating *.res files:
Note: See TracChangeset
for help on using the changeset viewer.