Changeset 863a27 in git for Tst/README


Ignore:
Timestamp:
Apr 23, 1998, 10:30:52 AM (25 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'f6c3dc58b0df4bd712574325fe76d0626174ad97')
Children:
e4b0ecb335b41553f06500f3237225b9440c8935
Parents:
751c5ca78ac69036cc8a0d6ae34bb24f7be5454c
Message:
* switched from gzipprd files to uuencoded files


git-svn-id: file:///usr/local/Singular/svn/trunk@1428 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Tst/README

    r751c5c r863a27  
    2222    is run.
    23235.) 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 and
    25     xx.new.res are kept, diffs are printed to stdout, and regress.cmd
    26     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.
    2727
    2828Do also
    2929   ../regress.cmd -h
    30 for some more details on regress.cmd.
     30and see the source code of ../regress.cmd for some more details on
     31regress.cmd.
    3132
    3233To add a new test for a library/commando to the test-suite:
     
    7677  "memory" keyword -- // ignore: memory:
    7778  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));
    8089
    8190* Command for generating *.res files:
Note: See TracChangeset for help on using the changeset viewer.