You can't use prove -vl

-b only

On 12 December 2011 05:49, Gabor Szabo <szab...@gmail.com> wrote:
> Hi Peter and everyone,
> I first I thought sure, go ahead but then I remembered I hardly used Padre
> recently so I though I'll give it a spin:
>
> After a long time I ran svn up, installed all the prerequisites that
> Makefile.PL told me to
> and then I was trying to run the tests.
>
> make realclean
> perl Makefile.PL
> make
> make test
>
> t/01_compile.t ............. 1/34 # Tests find Wx: 0.9902 wxWidgets 2.8.11
> t/01_compile.t ............. ok
> t/02_new.t ................. Undefined subroutine &Wx::gettext called
> at /home/gabor/work/padre/Padre/blib/lib/Padre/PluginHandle.pm line
> 22.
> Compilation failed in require at
> /home/gabor/work/padre/Padre/blib/lib/Padre/PluginManager.pm line 34.
> BEGIN failed--compilation aborted at
> /home/gabor/work/padre/Padre/blib/lib/Padre/PluginManager.pm line 34.
> Compilation failed in require at
> /home/gabor/work/padre/Padre/blib/lib/Padre.pm line 150.
> t/02_new.t ................. 1/63 # Looks like you planned 63 tests but ran 1.
> # Looks like your test exited with 255 just after 1.
> t/02_new.t ................. Dubious, test returned 255 (wstat 65280, 0xff00)
> Failed 62/63 subtests
> t/03_wx.t .................. skipped: Sometimes fails for unknown
> reasons, skipping for release till fixed
> t/04_config.t .............. ok
> t/05_project.t ............. 1/16 Undefined subroutine &Wx::gettext
> called at /home/gabor/work/padre/Padre/blib/lib/Padre/PluginHandle.pm
> line 22.
> Compilation failed in require at
> /home/gabor/work/padre/Padre/blib/lib/Padre/PluginManager.pm line 34.
> BEGIN failed--compilation aborted at
> /home/gabor/work/padre/Padre/blib/lib/Padre/PluginManager.pm line 34.
> Compilation failed in require at
> /home/gabor/work/padre/Padre/blib/lib/Padre.pm line 150.
> # Looks like you planned 16 tests but ran 2.
> # Looks like your test exited with 255 just after 2.
> t/05_project.t ............. Dubious, test returned 255 (wstat 65280, 0xff00)
> Failed 14/16 subtests
> t/06_utils.t ............... ok
> t/07_version.t ............. 1/4 Perl Application Development and
> Refactoring Environment 0.93
>
>
> #   Failed test 'Version string text'
> #   at t/07_version.t line 22.
> #                   ''
> #     doesn't match '(?-xism:Perl Application Development and
> Refactoring Environment)'
>
> #   Failed test 'Version number'
> #   at t/07_version.t line 23.
> #                   ''
> #     doesn't match '(?-xism:0.93)'
> # Looks like you failed 2 tests of 4.
> t/07_version.t ............. Dubious, test returned 2 (wstat 512, 0x200)
> Failed 2/4 subtests
> t/08_style.t ............... ok
> t/09_search.t .............. ok
> t/10_delta.t ............... 1/5 Can't locate object method "to_lines"
> via package "Padre::Delta" at t/10_delta.t line 93.
> # Looks like your test exited with 255 just after 5.
> t/10_delta.t ............... Dubious, test returned 255 (wstat 65280, 0xff00)
> All 5 subtests passed
> t/11_mime.t ................ ok
> t/14_warnings.t ............ ok
> t/15_locale.t .............. Undefined subroutine &Wx::gettext called
> at /home/gabor/work/padre/Padre/blib/lib/Padre/PluginHandle.pm line
> 22.
> Compilation failed in require at
> /home/gabor/work/padre/Padre/blib/lib/Padre/PluginManager.pm line 34.
> BEGIN failed--compilation aborted at
> /home/gabor/work/padre/Padre/blib/lib/Padre/PluginManager.pm line 34.
> Compilation failed in require at
> /home/gabor/work/padre/Padre/blib/lib/Padre.pm line 150.
> t/15_locale.t .............. 1/7 # Looks like you planned 7 tests but ran 1.
> # Looks like your test exited with 255 just after 1.
> t/15_locale.t .............. Dubious, test returned 255 (wstat 65280, 0xff00)
> Failed 6/7 subtests
> t/16_messages.t ............ ok
> ...
>
>
> Trying to investigate:
> =======================
>
> $ prove -vl t/01_compile.t
> t/01_compile.t ..
> 1..34
> ok 1 - use Wx;
> # Tests find Wx: 0.9902 wxWidgets 2.8.11
> ok 2 - use t::lib::Padre;
> ok 3 - use Padre::Util;
> not ok 4 - use Padre::Config;
>
> #   Failed test 'use Padre::Config;'
> #   at t/01_compile.t line 26.
> #     Tried to use 'Padre::Config'.
> #     Error:  Invalid or empty options for config 'editor_style' at
> /home/gabor/work/padre/Padre/lib/Padre/Config.pm line 87
> # Compilation failed in require at (eval 33) line 2.
> # BEGIN failed--compilation aborted at (eval 33) line 2.
> ok 5 - use Padre::DB::Timeline;
> ok 6 - use Padre::DB;
> ok 7 - use Padre::Project;
> ok 8 - use Padre::Wx;
> ok 9 - use Padre::Wx::HtmlWindow;
> ok 10 - use Padre::Wx::Printout;
> ok 11 - use Padre::Wx::Dialog::PluginManager;
> not ok 12 - use Padre::Wx::Dialog::Preferences;
>
> #   Failed test 'use Padre::Wx::Dialog::Preferences;'
> #   at t/01_compile.t line 34.
> #     Tried to use 'Padre::Wx::Dialog::Preferences'.
> #     Error:  Attempt to reload Padre/Config.pm aborted.
> # Compilation failed in require at
> /home/gabor/work/padre/Padre/lib/Padre/Locale.pm line 47.
> # BEGIN failed--compilation aborted at
> /home/gabor/work/padre/Padre/lib/Padre/Locale.pm line 47.
> # Compilation failed in require at
> /home/gabor/work/padre/Padre/lib/Padre/Wx/Dialog/Preferences.pm line
> 6.
> # BEGIN failed--compilation aborted at
> /home/gabor/work/padre/Padre/lib/Padre/Wx/Dialog/Preferences.pm line
> 6.
> # Compilation failed in require at (eval 1860) line 2.
> # BEGIN failed--compilation aborted at (eval 1860) line 2.
> ok 13 - use Padre::Wx::History::TextEntryDialog;
> ok 14 - use Padre::Wx::History::ComboBox;
> ...
>
> ============================================
>
> $ prove -vl t/02_new.t
> t/02_new.t ..
> 1..63
> Invalid or empty options for config 'editor_style' at
> /home/gabor/work/padre/Padre/lib/Padre/Config.pm line 87
> Compilation failed in require at
> /home/gabor/work/padre/Padre/lib/Padre.pm line 32.
> BEGIN failed--compilation aborted at
> /home/gabor/work/padre/Padre/lib/Padre.pm line 32.
> Compilation failed in require at t/02_new.t line 16.
> BEGIN failed--compilation aborted at t/02_new.t line 16.
> ok 1 - no warnings
> # Looks like you planned 63 tests but ran 1.
> # Looks like your test exited with 2 just after 1.
> Dubious, test returned 2 (wstat 512, 0x200)
> Failed 62/63 subtests
>
> Test Summary Report
> -------------------
> t/02_new.t (Wstat: 512 Tests: 1 Failed: 0)
>  Non-zero exit status: 2
>  Parse errors: Bad plan.  You planned 63 tests but ran 1.
> Files=1, Tests=1,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.16 cusr
> 0.02 csys =  0.20 CPU)
> Result: FAIL
>
>
> regards
>   Gabor
> _______________________________________________
> Padre-dev mailing list
> Padre-dev@perlide.org
> http://mail.perlide.org/mailman/listinfo/padre-dev
_______________________________________________
Padre-dev mailing list
Padre-dev@perlide.org
http://mail.perlide.org/mailman/listinfo/padre-dev

Reply via email to