Changeset d2b2a7 in git for Singular/LIB/tst.lib


Ignore:
Timestamp:
May 5, 1998, 1:55:40 PM (26 years ago)
Author:
Kai Krüger <krueger@…>
Branches:
(u'spielwiese', '379ec2d037299db64c43fe3550b5ba8fe508dbe5')
Children:
97f92aa6d280f6022eaae47195ccc02503ccb984
Parents:
4996f5286c7671191ad22e654499fd8b752fe4f0
Message:
Modified Files:
	libparse.l utils.cc LIB/classify.lib LIB/deform.lib
	LIB/elim.lib LIB/factor.lib LIB/fastsolv.lib LIB/finvar.lib
	LIB/general.lib LIB/hnoether.lib LIB/homolog.lib LIB/inout.lib
	LIB/invar.lib LIB/makedbm.lib LIB/matrix.lib LIB/normal.lib
	LIB/poly.lib LIB/presolve.lib LIB/primdec.lib LIB/primitiv.lib
	LIB/random.lib LIB/ring.lib LIB/sing.lib LIB/standard.lib
	LIB/tex.lib LIB/tst.lib
Changed help section o procedures to have an quoted help-string between
proc-definition and proc-body.


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

Legend:

Unmodified
Added
Removed
  • Singular/LIB/tst.lib

    r4996f52 rd2b2a7  
    1 // $Id: tst.lib,v 1.3 1998-04-03 22:47:15 krueger Exp $
     1// $Id: tst.lib,v 1.4 1998-05-05 11:55:40 krueger Exp $
    22//(obachman, last modified 2/13/98)
    33///////////////////////////////////////////////////////////////////////////////
    44
    5 version="$Id: tst.lib,v 1.3 1998-04-03 22:47:15 krueger Exp $";
     5version="$Id: tst.lib,v 1.4 1998-05-05 11:55:40 krueger Exp $";
    66info="
    77LIBRARY:  tst.lib      PROCEDURES FOR RUNNING AUTOMATIC TST TESTS
     
    1717
    1818proc tst_system(string s)
    19 USAGE:    tst_system(s); s string
    20 RETURN:   string which is stdout and stderr of system("sh", s)
     19"USAGE:    tst_system(s); s string
     20RETURN:   string which is stdout \x and stderr of system(\"sh\", s)
    2121EXAMPLE:  example tst_system; shows examples
     22"
    2223{
    2324  string tmpfile = "/tmp/tst_" + string(system("pid"));
     
    3940 
    4041proc tst_ignore
    41 USAGE:    tst_ignore(any,[keyword], [link])
     42"USAGE:    tst_ignore(any,[keyword], [link])
    4243            any     -- valid argument to string()
    43             keyword -- one of "time" or "memory"
     44            keyword -- one of \"time\" or \"memory\"
    4445            link    -- a link which can be written to
    4546RETURN:   none; writes string(any) to link (or stdout, if no link given),
    46           prepending prefix "// ignore:", or "// ignore: time:",
    47           "//ignore: memory:"  if called with the respective keywords;
     47          prepending prefix \"// ignore:\", or \"// ignore: time:\",
     48          \"//ignore: memory:\"  if called with the respective keywords;
    4849          should be used in tst files to output system dependent data
    49           (like date, pathnames) and timings With the keyword "time",
    50           resp. memory usgae with the keyword "memory"
     50          (like date, pathnames) { and timings With the keyword \"time\",
     51          resp. memory usage with the keyword \"memory\"
    5152EXAMPLE:  example tst_ignore; shows examples
     53"
    5254{
    5355  string s;
     
    130132
    131133proc tst_init
    132 USAGE:   tst_init()
     134"USAGE:   tst_init()
    133135RETURN:  none; writes some identification data to stdout;
    134136         should be called as first routine in a tst file
    135137EXAMPLE: example tst_init; shows example
     138"
    136139{
    137140  tst_ignore("USER    : " + system("getenv", "USER"));
Note: See TracChangeset for help on using the changeset viewer.