Changeset 46976a6 in git for Tst/regress.cmd


Ignore:
Timestamp:
Jul 1, 1998, 12:20:56 PM (26 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
6b8aae51b2f19300ec8b207348b208eb6b4fe6ba
Parents:
ff8a6bf7c7be4f1ec1339de2dc55a8135db95d1a
Message:
* added status check to regress.cmd
* added tst_status(1); call to each tst file, just before quit


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

Legend:

Unmodified
Added
Removed
  • Tst/regress.cmd

    rff8a6bf r46976a6  
    22
    33#################################################################
    4 # $Id: regress.cmd,v 1.18 1998-06-30 14:47:00 obachman Exp $
     4# $Id: regress.cmd,v 1.19 1998-07-01 10:10:27 obachman Exp $
    55# FILE:    regress.cmd
    66# PURPOSE: Script which runs regress test of Singular
     
    9191# the default settings
    9292#
    93 $singularOptions = "--ticks-per-sec=10 -teqr12345678";
     93$singularOptions = "--ticks-per-sec=100 -teqr12345678";
    9494$keep = "no";
    9595$verbosity = 1;
     
    105105}
    106106# sed scripts which are applied to res files before they are diff'ed
    107 $sed_scripts = "-e '/\\/\\/.*used time:/d' -e '/\\/\\/.*ignore:/d' -e '/error occurred in/d'";
     107$sed_scripts = "-e '/\\/\\/.*used time:/d' -e '/\\/\\/.*tst_ignore:/d' -e '/error occurred in/d'";
    108108# default value (in %) above which differences are reported on -r
    109109$report_val = 10;
     
    178178 
    179179  # clean up time
    180 #  &mysystem("$rm -f $root.res.cleaned $root.new.res.cleaned");
     180  &mysystem("$rm -f $root.res.cleaned $root.new.res.cleaned");
    181181 
    182182  # there seems to be a bug here somewhere: even if diff reported
     
    209209      $prefix = "STDIN $1>";
    210210    }
    211     elsif ($line =~ /\/\/.*ignore:(\w+).*$hostname:(\d+)/ && $checks{$1})
     211    elsif ($line =~ /\/\/.*tst_ignore:(\w+).*$hostname:(\d+)/ && $checks{$1})
    212212    {
    213213      $crit = $1;
    214214      $res = $2;
    215       if ($line =~ /\/\/.*ignore:$crit.*$hostname:(\d+)/)
     215      if ($line =~ /\/\/.*tst_ignore:$crit.*$hostname:(\d+)/)
    216216      {
    217217        $new_res = $1;
     
    259259  while ($line)
    260260  {
    261     if ($new_line =~ /\/\/.*ignore:(\w+).*$hostname:(\d+)/ && $merge{$1})
     261    if ($new_line =~ /\/\/.*tst_ignore:(\w+).*$hostname:(\d+)/ && $merge{$1})
    262262    {
    263263      $crit = $1;
    264264      $new_res = $2;
    265       if ($line =~ /(.*)\/\/(.*)ignore:$crit(.*)$hostname:(\d+)(.*)/)
     265      if ($line =~ /(.*)\/\/(.*)tst_ignore:$crit(.*)$hostname:(\d+)(.*)/)
    266266      {
    267267        print(TEMP_FILE
    268               "$1//$2ignore:$crit$3$hostname:$new_res$4");
    269       }
    270       elsif ($line =~ /(.*)\/\/(.*)ignore:$crit(.*)/)
     268              "$1//$2tst_ignore:$crit$3$hostname:$new_res$4");
     269      }
     270      elsif ($line =~ /(.*)\/\/(.*)tst_ignore:$crit(.*)/)
    271271      {
    272272        print(TEMP_FILE
    273               "$1//$2ignore:$crit$3 $hostname:$new_res\n");
     273              "$1//$2tst_ignore:$crit$3 $hostname:$new_res\n");
    274274      }
    275275      else
Note: See TracChangeset for help on using the changeset viewer.