Skip to content

Commit

Permalink
Actually pass test options (e.g. timing) to test command
Browse files Browse the repository at this point in the history
  • Loading branch information
qris committed Jan 21, 2018
1 parent 007ec3b commit 8ee03a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtest.pl.in
Expand Up @@ -266,7 +266,7 @@ sub runtest
open LOG, ">$logfile" or die "$logfile: $!";
chdir("$base_dir/$test_mode/test/$t");

open TEE, "$test_dst_exe |"
open TEE, "$test_dst_exe $test_options |"
or die "$test_dst_dir/$test_dst_exe: $!";

while (my $line = <TEE>)
Expand All @@ -281,7 +281,7 @@ sub runtest
else
{
chdir($base_dir);
$test_res = system("cd $test_mode/test/$t ; sh t 2>&1 " .
$test_res = system("cd $test_mode/test/$t; sh t $test_options 2>&1 " .
"| tee ../../../$logfile");
}

Expand Down

0 comments on commit 8ee03a0

Please sign in to comment.