Subject: | Constraint problem while running the tests |
Date: | Tue, 28 Dec 2010 15:51:02 +0200 |
To: | bug-test-run-plugin-alternateinterpreters [...] rt.cpan.org |
From: | Thomas Maier <hayzer [...] gmail.com> |
Hi Shlomi,
I just tried to use Test::Run as follow:
{{{
HARNESS_PLUGINS="ColorSummary ColorFileVerdicts AlternateInterpreters"
runprove t/
}}}
And get the follow error:
{{{
t/001-setup .......................... Attribute
(alternate_interpreters) does not pass the type constraint because:
Validation failed for 'ArrayRef' with value undef at
/usr/local/share/perl/5.10.1/Test/Run/Plugin/AlternateInterpreters.pm
line 44
Test::Run::Plugin::AlternateInterpreters::_init_strap('Test::Run::Iface=HASH(0x9cf5e70)',
'HASH(0x9d2e060)') called at
/usr/local/share/perl/5.10.1/Test/Run/Core.pm line 770
Test::Run::Core::_time_single_test('Test::Run::Iface=HASH(0x9cf5e70)',
'HASH(0x9d2e060)') called at
/usr/local/share/perl/5.10.1/Test/Run/Base.pm line 190
Test::Run::Base::_run_sequence('Test::Run::Iface=HASH(0x9cf5e70)',
'ARRAY(0x9d2e070)') called at
/usr/local/share/perl/5.10.1/Test/Run/Core.pm line 1323
Test::Run::Core::_run_single_test('Test::Run::Iface=HASH(0x9cf5e70)',
'HASH(0x9d2e060)') called at
/usr/local/share/perl/5.10.1/Test/Run/Core.pm line 1589
Test::Run::Core::_run_all_tests_loop('Test::Run::Iface=HASH(0x9cf5e70)')
called at /usr/local/share/perl/5.10.1/Test/Run/Core.pm line 1600
Test::Run::Core::__ANON__() called at
/usr/local/share/perl/5.10.1/Test/Run/Obj/TotObj.pm line 443
Test::Run::Obj::TotObj::benchmark_callback('Test::Run::Core::__HelperObjects::Helpers::Tot=HASH(0x9cffb48)',
'CODE(0x9cfa428)') called at
/usr/local/share/perl/5.10.1/Test/Run/Core.pm line 1602
Test::Run::Core::_run_all_tests__run_loop('Test::Run::Iface=HASH(0x9cf5e70)')
called at /usr/local/share/perl/5.10.1/Test/Run/Base.pm line 190
Test::Run::Base::_run_sequence('Test::Run::Iface=HASH(0x9cf5e70)')
called at /usr/local/share/perl/5.10.1/Test/Run/Core.pm line 1625
Test::Run::Core::_run_all_tests('Test::Run::Iface=HASH(0x9cf5e70)')
called at /usr/local/share/perl/5.10.1/Test/Run/Base.pm line 190
Test::Run::Base::_run_sequence('Test::Run::Iface=HASH(0x9cf5e70)')
called at /usr/local/share/perl/5.10.1/Test/Run/Core.pm line 1420
Test::Run::Core::_real_runtests('Test::Run::Iface=HASH(0x9cf5e70)')
called at /usr/local/share/perl/5.10.1/Test/Run/Core.pm line 1431
eval {...} called at /usr/local/share/perl/5.10.1/Test/Run/Core.pm line 1431
Test::Run::Core::runtests('Test::Run::Iface=HASH(0x9cf5e70)') called
at /usr/local/share/perl/5.10.1/Test/Run/CmdLine.pm line 145
Test::Run::CmdLine::run('Test::Run::CmdLine::Drivers::Default=HASH(0x8f0a550)')
called at /usr/local/share/perl/5.10.1/Test/Run/CmdLine/Iface.pm line
193
Test::Run::CmdLine::Iface::run('Test::Run::CmdLine::Iface=HASH(0x8f0a050)')
called at /usr/local/share/perl/5.10.1/Test/Run/CmdLine/Prove.pm line
315
Test::Run::CmdLine::Prove::_wet_run('Test::Run::CmdLine::Prove=HASH(0x8f09d30)',
'ARRAY(0x8ee5968)') called at
/usr/local/share/perl/5.10.1/Test/Run/CmdLine/Prove.pm line 294
Test::Run::CmdLine::Prove::_actual_run_tests('Test::Run::CmdLine::Prove=HASH(0x8f09d30)',
'ARRAY(0x8ee5968)') called at
/usr/local/share/perl/5.10.1/Test/Run/CmdLine/Prove.pm line 271
Test::Run::CmdLine::Prove::run('Test::Run::CmdLine::Prove=HASH(0x8f09d30)')
called at /usr/local/share/perl/5.10.1/Test/Run/CmdLine/Prove/App.pm
line 23
Test::Run::CmdLine::Prove::App::run() called at /usr/local/bin/runprove line 10
}}}
Regards,
Thomas