projects
/
perl
/
modules
/
Test-Valgrind.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
1a45e7f
)
Better wrap XSLoader in an eval STRING so that it does its jobs at run time
author
Vincent Pit <vince@profvince.com>
Tue, 9 Sep 2008 22:01:35 +0000 (
00:01
+0200)
committer
Vincent Pit <vince@profvince.com>
Tue, 9 Sep 2008 22:01:35 +0000 (
00:01
+0200)
t/30-bad.t
patch
|
blob
|
history
diff --git
a/t/30-bad.t
b/t/30-bad.t
index a86ccbb126b2b3f1ed348aac837dbec4b5c9a744..2237a7e47f425a986e48c177a8da26cb6c6b72cc 100644
(file)
--- a/
t/30-bad.t
+++ b/
t/30-bad.t
@@
-29,10
+29,10
@@
sub tester {
return $passed;
}
-eval
{
+eval
"
require XSLoader;
XSLoader::load('Test::Valgrind', 0.051);
-
}
;
+
"
;
if ($@) {
plan skip_all => "XS test code not available ($@)";
} else {