tests: also make launch_with_config() log to LOGPATH

This commit is contained in:
Michael Stapelberg
2011-09-18 15:35:04 +01:00
parent c88425147e
commit 99168a84a9
2 changed files with 5 additions and 2 deletions

View File

@ -242,7 +242,7 @@ sub take_job {
my $output;
my $parser = TAP::Parser->new({
exec => [ 'sh', '-c', "DISPLAY=$display /usr/bin/perl -It/lib $test" ],
exec => [ 'sh', '-c', qq|DISPLAY=$display LOGPATH="$logpath" /usr/bin/perl -It/lib $test| ],
spool => IO::Scalar->new(\$output),
merge => 1,
});