From: Chris Marshall Date: Thu, 13 May 2010 02:29:42 +0000 (-0400) Subject: skip Interrupt test on win32 and rm NewLineHack X-Git-Tag: v1.003015~38 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-REPL.git;a=commitdiff_plain;h=cf5bf787506fc67d858509cd5e29045239166124 skip Interrupt test on win32 and rm NewLineHack Since the Interrupt plugin depends on Sys::SigAction which is not available for win32, we skip that test for MSWin32 systems. Also removed the test for NewLineHack which has been deprecated. --- diff --git a/t/load_core.t b/t/load_core.t old mode 100644 new mode 100755 index 21d8e0e..93dd3b2 --- a/t/load_core.t +++ b/t/load_core.t @@ -10,8 +10,10 @@ use_ok('Devel::REPL::Plugin::DumpHistory'); use_ok('Devel::REPL::Plugin::FancyPrompt'); use_ok('Devel::REPL::Plugin::FindVariable'); use_ok('Devel::REPL::Plugin::History'); -use_ok('Devel::REPL::Plugin::Interrupt'); -use_ok('Devel::REPL::Plugin::NewlineHack'); +# Interrupt depends on Sys::SigAction which +# is not available on win32 so we skip the +# test there +use_ok('Devel::REPL::Plugin::Interrupt') unless $^O eq 'MSWin32'; use_ok('Devel::REPL::Plugin::OutputCache'); use_ok('Devel::REPL::Plugin::Packages'); use_ok('Devel::REPL::Plugin::Peek');