Changeset a7bb142 in git
- Timestamp:
- Sep 22, 2011, 8:41:47 PM (12 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 8940570905a602941da734a473ebc2ff0bd9238d
- Parents:
- 5ff885162d38fce9782dd8498f084c9021c200a6
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-09-22 20:41:47+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:12:52+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Tst/regress.cmd
r5ff885 ra7bb142 28 28 [-m] -- add status result for current version to result file 29 29 [-t] -- compute and call system("mtrack", 1) at the end, no diffs 30 [-A num] -- set timeout [in sec.] for executed Singular 30 31 [-tt max] -- compute and call system("mtrack", max) at the end 31 32 [-T] -- simply compute and determine timmings, no diffs … … 115 116 $singular = $curr_dir."/../Singular$ext"; 116 117 } 118 # timeout for Singular execution (in seconds!) 119 $timeout = 0; 117 120 # sed scripts which are applied to res files before they are diff'ed 118 121 $sed_scripts = "-e '/used time:/d' -e '/tst_ignore:/d' -e '/Id[:\$]/d' -e '/error occurred in/d' -e '/tst_status/d' -e'/init >>/d' -e 's/\\[[0-9]*:[0-9]*\\]//g'"; … … 589 592 $mtrack = shift; 590 593 } 594 elsif (/^-A/) 595 { 596 $timeout = shift; 597 } 591 598 elsif(/^-t$/) 592 599 { … … 718 725 719 726 727 if ($timeout > 0) 728 { 729 $singular = "perl -e 'alarm $timeout; exec \@ARGV' $singular"; 730 print ("Set exec timeout to $timeout sec.\n") if ($verbosity > 1); 731 # die; 732 } 720 733 # now do the work 721 734 foreach (@ARGV)
Note: See TracChangeset
for help on using the changeset viewer.