Changeset 2ae411d in git


Ignore:
Timestamp:
Dec 14, 2000, 9:29:07 AM (23 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
fab637db590ce271fa2bc6e34fdc339c16105a21
Parents:
cf8dcc3a44f401ab4c54ac417f5d44e39e834353
Message:
* clean up


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

Legend:

Unmodified
Added
Removed
  • Tst/regress.cmd

    rcf8dcc r2ae411d  
    22
    33#################################################################
    4 # $Id: regress.cmd,v 1.35 2000-12-05 14:26:27 obachman Exp $
     4# $Id: regress.cmd,v 1.36 2000-12-14 08:29:07 obachman Exp $
    55# FILE:    regress.cmd
    66# PURPOSE: Script which runs regress test of Singular
     
    198198
    199199  # doo the diff call
    200   if ($verbosity > 0 && ! $WINNT)
    201   {
    202     $exit_status = &mysystem("$diff -w -b $root.res.cleaned $root.new.res.cleaned | $tee $root.diff");
    203   }
    204   else
    205   {
    206     $exit_status = &mysystem("$diff -w -b $root.res.cleaned $root.new.res.cleaned > $root.diff 2>&1");
    207   }
     200  $exit_status = &mysystem("$diff -w -b $root.res.cleaned $root.new.res.cleaned > $root.diff 2>&1");
    208201
    209202  # clean up time
     
    466459        if ($exit_status)
    467460        {
     461          unless ($verbosity == 0)
     462          {
     463            print "\n";
     464            mysystem("$cat $root.diff");
     465          }
    468466          $error_cause = "Differences in res files";
    469467        }
     
    496494  if ($exit_status)
    497495  {
    498     print (STDERR "!!! $root : $error_cause\n");
     496    if (! -e "$root.diff")
     497    {
     498      open (DIFF_FILE, ">$root.diff");
     499      print DIFF_FILE "!!! $root : $error_cause\n";
     500      print "\n";
     501    }
     502    print STDERR "!!! $root : $error_cause\n";
    499503  }
    500504  else
     
    531535  }
    532536  # und tschuess
    533   unless ($verbosity == 0)
     537  unless ($verbosity == 0 || $exit_status)
    534538  {
    535539    if ($verbosity > 1 || $timings_only)
     
    543547    print " \n";
    544548  }
    545   $total_checks_pass++ unless $exit_code;
     549  $total_checks_pass++ unless $exit_status;
    546550  return ($exit_status);
    547551}
Note: See TracChangeset for help on using the changeset viewer.