Changeset 67ff58 in git


Ignore:
Timestamp:
Nov 21, 1997, 12:37:21 PM (26 years ago)
Author:
Jens Schmidt <schmidt@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
56e166898b90e3f3f8a2caf3316841918a56117b
Parents:
47941c74df79f7bee1025df755774236af21e40e
Message:
	* ftest_util.cc (ftestCheckFlag): new external variable.
	  Declaration added.
	  (ftestGetOpts): sets `ftestCheckFlag'


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

Legend:

Unmodified
Added
Removed
  • factory/ftest/ftest_util.cc

    r47941c r67ff58  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: ftest_util.cc,v 1.12 1997-11-21 10:40:16 schmidt Exp $ */
     2/* $Id: ftest_util.cc,v 1.13 1997-11-21 11:37:21 schmidt Exp $ */
    33
    44//{{{ docu
     
    7070// ftestCircle: set by ftestGetOpts() from commandline, read by
    7171//   main().  Number of test circles.
    72 // ftestAlarm: set by ftestGetOpts() from acommandline, read by
     72// ftestAlarm: set by ftestGetOpts() from commandline, read by
    7373//   main().
     74// ftestCheckFlag: set by ftestGetOpts() from commandline, read by
     75//   main().  False iff checks should not be executed.
    7476// ftestPrintFlag: set by ftestParseOutputType() from
    7577//   commandline, read by ftestPrintResult().  True iff there was
     
    8385int ftestAlarm = 0;
    8486
     87int ftestCheckFlag = 1;
    8588int ftestPrintFlag = 0;
    8689int ftestPrintResultFlag = 0;
     
    787790
    788791    // parse options
    789     while ( (optionChar = getopt( argc, argv, "a:o:c:" )) != -1 ) {
     792    while ( (optionChar = getopt( argc, argv, "a:o:c:t" )) != -1 ) {
    790793        switch ( optionChar ) {
    791794        case 'a': ftestAlarm = (int)strtol( optarg, 0, 0 ); break;
    792795        case 'c': ftestCircle = (int)strtol( optarg, 0, 0 ); break;
    793796        case 'o': outputType = optarg; break;
     797        case 't': ftestCheckFlag = false; break;
    794798        default: ftestError( CommandlineError, 0 );
    795799        }
Note: See TracChangeset for help on using the changeset viewer.