Changeset 2ae411d in git
- Timestamp:
- Dec 14, 2000, 9:29:07 AM (22 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '00e2e9c41af3fde1273eb3633f4c0c7c3db2579d')
- Children:
- fab637db590ce271fa2bc6e34fdc339c16105a21
- Parents:
- cf8dcc3a44f401ab4c54ac417f5d44e39e834353
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Tst/regress.cmd
rcf8dcc r2ae411d 2 2 3 3 ################################################################# 4 # $Id: regress.cmd,v 1.3 5 2000-12-05 14:26:27 obachman Exp $4 # $Id: regress.cmd,v 1.36 2000-12-14 08:29:07 obachman Exp $ 5 5 # FILE: regress.cmd 6 6 # PURPOSE: Script which runs regress test of Singular … … 198 198 199 199 # 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"); 208 201 209 202 # clean up time … … 466 459 if ($exit_status) 467 460 { 461 unless ($verbosity == 0) 462 { 463 print "\n"; 464 mysystem("$cat $root.diff"); 465 } 468 466 $error_cause = "Differences in res files"; 469 467 } … … 496 494 if ($exit_status) 497 495 { 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"; 499 503 } 500 504 else … … 531 535 } 532 536 # und tschuess 533 unless ($verbosity == 0 )537 unless ($verbosity == 0 || $exit_status) 534 538 { 535 539 if ($verbosity > 1 || $timings_only) … … 543 547 print " \n"; 544 548 } 545 $total_checks_pass++ unless $exit_ code;549 $total_checks_pass++ unless $exit_status; 546 550 return ($exit_status); 547 551 }
Note: See TracChangeset
for help on using the changeset viewer.