projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
daaf7ac
)
Make t/porting/buildtoc.t use runperl for portability.
author
Craig A. Berry
<craigberry@mac.com>
Tue, 25 Jan 2011 00:58:35 +0000
(18:58 -0600)
committer
Craig A. Berry
<craigberry@mac.com>
Tue, 25 Jan 2011 00:58:35 +0000
(18:58 -0600)
t/porting/buildtoc.t
patch
|
blob
|
history
diff --git
a/t/porting/buildtoc.t
b/t/porting/buildtoc.t
index
47fa4a7
..
4fbcac9
100644
(file)
--- a/
t/porting/buildtoc.t
+++ b/
t/porting/buildtoc.t
@@
-6,6
+6,10
@@
BEGIN {
}
use strict;
+require 't/test.pl';
-my $dotslash = $^O eq "MSWin32" ? ".\\" : "./";
-system("${dotslash}perl -f -Ilib -I../lib pod/buildtoc --build-toc -q --test --build-all");
+my $result = runperl(switches => ['-f', '-Ilib'],
+ progfile => 'pod/buildtoc',
+ args => ['--build-toc', '-q', '--test', '--build-all']);
+
+print $result;