diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-10-26 08:17:01 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-10-26 08:17:01 +0000 |
commit | 6c12c5d87ac0b0163de11bf1f61fac4e602e0d2e (patch) | |
tree | d614615174a27c6972d31f6ee2bef5433c0aff26 /lib | |
parent | 61e93bc15fbccaa9e8319384224db3335a4a5358 (diff) |
Test checking technology using configuration directories
Cactus/154
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1103 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sbin/Runtest.pl | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/sbin/Runtest.pl b/lib/sbin/Runtest.pl index f83421e3..375775df 100644 --- a/lib/sbin/Runtest.pl +++ b/lib/sbin/Runtest.pl @@ -266,8 +266,12 @@ else sub runtest { my ($inpf,$inthorn,$num) = @_; + # File name from thorn $inpf = "arrangements/$inthorn/test/$inpf"; - $tsttop = ".${sep}TEST"; + + # Directory for output + $tsttop = ".${sep}TEST${sep}$config"; + mkdir (TEST,0755); mkdir ($tsttop,0755); $tp = $inpf; @@ -300,7 +304,7 @@ sub runtest { close LOG; close CMD; - chdir (".."); + chdir ("../.."); $retcode = $? >> 8 if($retcode==0); @@ -317,7 +321,6 @@ sub runtest { $indir = $inpf; $indir =~ s:.par:${sep}:g; @oldout = <$indir${sep}*.*l>; - $blewit = 0; $reallyblewit = 0; $nfiles = 0; |