t/data_in_module.t (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: No plan found in TAP output
t/from.t (Wstat: 139 Tests: 0 Failed: 0)
Non-zero wait status: 139
Parse errors: No plan found in TAP output
t/precomp.t (Wstat: 139 Tests: 0 Failed: 0)
Non-zero wait status: 139
Parse errors: No plan found in TAP output
t/use_nested.t (Wstat: 139 Tests: 0 Failed: 0)
Non-zero wait status: 139
Parse errors: No plan found in TAP output
It seems use lib:from called from a file loaded with "use" causes a segfault. Using the OO interface seems to work though:
use Inline::Perl5;
my $p5 = Inline::Perl5.new;
$p5.use("lib", "t/lib");
$p5.use('LookForData');
Hi,
Test Summary Report
t/data_in_module.t (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: No plan found in TAP output
t/from.t (Wstat: 139 Tests: 0 Failed: 0)
Non-zero wait status: 139
Parse errors: No plan found in TAP output
t/precomp.t (Wstat: 139 Tests: 0 Failed: 0)
Non-zero wait status: 139
Parse errors: No plan found in TAP output
t/use_nested.t (Wstat: 139 Tests: 0 Failed: 0)
Non-zero wait status: 139
Parse errors: No plan found in TAP output
It seems use lib:from called from a file loaded with "use" causes a segfault. Using the OO interface seems to work though:
use Inline::Perl5; my $p5 = Inline::Perl5.new; $p5.use("lib", "t/lib"); $p5.use('LookForData');
$p5.call('LookForData::return_data');
best, mik