From e2e2d030c6969ff0b557982a8f1424142c1654d9 Mon Sep 17 00:00:00 2001 From: Jay Allen Date: Mon, 11 Oct 2010 10:39:44 -0700 Subject: [PATCH] Melody v0.9.22 - Many Melody Cleanup checkins from byrnereese, tima, mikert and new contributor therigu. See latest test results in t/results/prove-v0.9.22.log --- build/mt-dists/default.mk | 2 +- lib/MT.pm | 4 +- php/mt.php | 4 +- t/results/prove-v0.9.22.log | 266 ++++++++++++++++++++++++++++++++++++ 4 files changed, 271 insertions(+), 5 deletions(-) create mode 100644 t/results/prove-v0.9.22.log diff --git a/build/mt-dists/default.mk b/build/mt-dists/default.mk index aa6991fa8..58546eca5 100644 --- a/build/mt-dists/default.mk +++ b/build/mt-dists/default.mk @@ -1,5 +1,5 @@ PRODUCT_NAME = Melody -PRODUCT_VERSION = 0.9.21 +PRODUCT_VERSION = 0.9.22 SCHEMA_VERSION = 4.0077 # Corresponds to MT 4.34 (plus Melody enhancements) API_VERSION = 4.34 diff --git a/lib/MT.pm b/lib/MT.pm index 346fd6625..f0e11a8d0 100644 --- a/lib/MT.pm +++ b/lib/MT.pm @@ -35,13 +35,13 @@ BEGIN { # the Melody version for the dist name and other variables while # still maintaining the API version ($VERSION) for plugins to # test against for compatibility (i.e. "use MT 4.33;") - use version; our $VERSION = qv('0.9.21'); # MakeMaker stops here + use version; our $VERSION = qv('0.9.22'); # MakeMaker stops here $PRODUCT_VERSION = $VERSION; # The rightful resting place $VERSION = '4.34'; # The true API version $SCHEMA_VERSION = '4.0077'; $PRODUCT_NAME = 'Melody'; $PRODUCT_CODE = 'OM'; - $VERSION_ID = '0.9.21 (MT 4.34+)'; + $VERSION_ID = '0.9.22 (MT 4.34+)'; $PORTAL_URL = 'http://openmelody.org'; } else { diff --git a/php/mt.php b/php/mt.php index 9ef8fcb5f..db886c508 100644 --- a/php/mt.php +++ b/php/mt.php @@ -7,8 +7,8 @@ if('__MAKE_ME__' == '__MAKE_' . 'ME__') { # If make is not run define('VERSION', '4.34'); - define('VERSION_ID', '0.9.21 (MT 4.34+)'); - define('PRODUCT_VERSION', '0.9.21'); + define('VERSION_ID', '0.9.22 (MT 4.34+)'); + define('PRODUCT_VERSION', '0.9.22'); define('PRODUCT_NAME', 'Melody'); } else { define('VERSION', '__API_VERSION__'); diff --git a/t/results/prove-v0.9.22.log b/t/results/prove-v0.9.22.log new file mode 100644 index 000000000..4ea9e52f7 --- /dev/null +++ b/t/results/prove-v0.9.22.log @@ -0,0 +1,266 @@ +$ prove -lw t/*.t 2>&1 | tee prove-v0.9.22.log +t/00-compile.t ........... ok +t/01-serialize.t ......... ok +Can't locate object method "clear_cache" via package "MT::ObjectDriver::Driver::DBI" at t/02-meta-new.t line 16. +# Looks like your test exited with 255 before it could output anything. +t/02-meta-new.t .......... +Dubious, test returned 255 (wstat 65280, 0xff00) +Failed 7/7 subtests +Can't locate object method "clear_cache" via package "MT::ObjectDriver::Driver::DBI" at t/03-meta-new-author.t line 16. +# Looks like your test exited with 255 before it could output anything. +t/03-meta-new-author.t ... +Dubious, test returned 255 (wstat 65280, 0xff00) +Failed 6/6 subtests +t/04-config.t ............ ok +t/05-errorhandler.t ...... ok +t/07-builder.t ........... ok +t/08-util.t .............. ok +t/09-image.t ............. ok +t/10-filemgr.t ........... ok +Variable "$system_perms" is not available at lib/MT/App.pm line 173. +Variable "$system_perms" is not available at lib/MT/App.pm line 173. +Variable "$system_perms" is not available at lib/MT/App.pm line 173. +Variable "$system_perms" is not available at lib/MT/App.pm line 173. +Variable "$system_perms" is not available at lib/MT/App.pm line 173. +Variable "$system_perms" is not available at lib/MT/App.pm line 173. +Variable "$system_perms" is not available at lib/MT/App.pm line 173. +Variable "$system_perms" is not available at lib/MT/App.pm line 173. +t/100-cms_search.t ....... ok + +# Failed test 'Send email to label is present' +# at t/101-email.t line 36. + +# Failed test 'The email address where you want to send test email to label is present' +# at t/101-email.t line 37. + +# Failed test 'Send test email button is present' +# at t/101-email.t line 38. +# Looks like you planned 5 tests but ran 4. +# Looks like you failed 3 tests of 4 run. +t/101-email.t ............ +Dubious, test returned 3 (wstat 768, 0x300) +Failed 4/5 subtests +t/11-sanitize.t .......... ok +t/12-dsa.t ............... ok +t/13-dirify.t ............ ok +Use of uninitialized value in sprintf at /opt/local/lib/perl5/vendor_perl/5.10.1/Archive/Tar.pm line 1294. +Use of uninitialized value in sprintf at /opt/local/lib/perl5/vendor_perl/5.10.1/Archive/Tar.pm line 1294. +Use of uninitialized value in pack at /opt/local/lib/perl5/vendor_perl/5.10.1/Archive/Tar.pm line 1295. +Use of uninitialized value in pack at /opt/local/lib/perl5/vendor_perl/5.10.1/Archive/Tar.pm line 1295. +Use of uninitialized value in pack at /opt/local/lib/perl5/vendor_perl/5.10.1/Archive/Tar.pm line 1295. +Use of uninitialized value in pack at /opt/local/lib/perl5/vendor_perl/5.10.1/Archive/Tar.pm line 1295. +Use of uninitialized value in pack at /opt/local/lib/perl5/vendor_perl/5.10.1/Archive/Tar.pm line 1295. +t/14-archive.t ........... ok +t/15-import-export.t ..... +No subtests run +t/20-setup.t ............. ok +t/21-app-callbacks.t ..... ok +t/21-callbacks.t ......... ok +# meta field tests +t/22-author.t ............ ok +t/23-entry.t ............. ok +Can't locate object method "clear_cache" via package "MT::ObjectDriver::Driver::DBI" at t/24-meta-entry-save.t line 16. +# Looks like your test exited with 255 before it could output anything. +t/24-meta-entry-save.t ... +Dubious, test returned 255 (wstat 65280, 0xff00) +Failed 13/13 subtests +t/26-pings.t ............. skipped: Needs rewrite and/or mt-test-rpc.cgi script from 6A. +t/27-context.t ........... ok +t/28-xmlrpc.t ............ skipped: Broken test. This functionality should probably get moved to a plugin. +t/29-cleanup.t ........... ok +# Saving error: constraint failed +# columns multikey_fkey, multikey_type are not unique +t/32-ddl.t ............... ok +Use of uninitialized value $ENV{"MT_CONFIG"} in concatenation (.) or string at t/33-driver.t line 20. +Can't call method "meta_pkg" on an undefined value at t/lib/MT/Test.pm line 327. +BEGIN failed--compilation aborted at t/33-driver.t line 24. +t/33-driver.t ............ +Dubious, test returned 255 (wstat 65280, 0xff00) +No subtests run + +# Failed test 'perl test 14' +# at t/35-tags.t line 93. +# got: 'UTF-8' +# expected: 'utf-8' + +# Failed test 'perl test 129' +# at t/35-tags.t line 93. +# got: 'bar: foo: subfoo: ' +# expected: 'bar: http://narnia.na/cgi-bin/mt-tb.cgi/2 foo: subfoo: ' +Use of uninitialized value $key in hash element at lib/MT/Template/ContextHandlers.pm line 5911. +# Looks like you failed 2 tests of 434. +t/35-tags.t .............. +Dubious, test returned 2 (wstat 512, 0x200) +Failed 2/434 subtests +t/41-atom.t .............. skipped: Broken test. XML::Atom requires XML::LibXML which is not a listed as a prerequisite of MT and requires compiling. This functionality should probably get moved to a plugin and/or an alternative with a pure Perl fallback. +t/43-localua.t ........... ok +t/44-spider.t ............ skipped: Enable spider test with MT_TEST_SPIDER environment variable +t/45-datetime.t .......... ok +t/46-i18n-en.t ........... ok +Subroutine Jcode::ucs2_euc redefined at /Users/jay/code/omt/openmelody/extlib/Jcode/Unicode/NoXS.pm line 56. +Subroutine Jcode::euc_ucs2 redefined at /Users/jay/code/omt/openmelody/extlib/Jcode/Unicode/NoXS.pm line 71. +Subroutine Jcode::euc_utf8 redefined at /Users/jay/code/omt/openmelody/extlib/Jcode/Unicode/NoXS.pm line 87. +Subroutine Jcode::utf8_euc redefined at /Users/jay/code/omt/openmelody/extlib/Jcode/Unicode/NoXS.pm line 94. +Subroutine Jcode::ucs2_utf8 redefined at /Users/jay/code/omt/openmelody/extlib/Jcode/Unicode/NoXS.pm line 101. +Subroutine Jcode::utf8_ucs2 redefined at /Users/jay/code/omt/openmelody/extlib/Jcode/Unicode/NoXS.pm line 124. +t/47-i18n-ja.t ........... ok +t/48-cache.t ............. ok +t/49-tagsplit.t .......... ok +t/54-usersgroupsroles.t .. skipped: Groups are unavailable for testing. +t/61-to_from_xml.t ....... skipped: These tests are so broken that we have to skip them for now. Really this functionality should be re-implemented in some form that is more effective and reliable than what exists. +Reference found where even-sized list expected at lib/MT/Asset/Image.pm line 99. +t/62-asset.t ............. ok +t/63-objectclasses.t ..... ok +# saving object +# object saved +t/64-objectmeta.t ........ ok +t/65-ssi.t ............... ok +t/66-templatecache.t ..... ok +DEPRECATION WARNING: Direct assignment to $app->{query} in main at line 129 will break in the near future. Use $app->query( OBJ ) instead. See MT::App POD for details. +DEPRECATION WARNING: Direct access to $app->{query} in main at line 131 will break in the near future. Use $app->query instead. See MT::App POD for details. +DEPRECATION WARNING: Use of $app->param to fetch a hash of query parameters in main at line 160 will break in the future. Use $app->query->param instead. +DEPRECATION WARNING: Use of $app->param to fetch the CGI query object in main at line 171 will break in the future. Use $app->query instead. +DEPRECATION WARNING: Use of $app->param to get/set query object properties in main at line 178 will break in the future. Use $app->query->param() instead. +DEPRECATION WARNING: Use of $app->param to get/set query object properties in main at line 181 will break in the future. Use $app->query->param() instead. +DEPRECATION WARNING: Direct assignment to $app->{query} in main at line 129 will break in the near future. Use $app->query( OBJ ) instead. See MT::App POD for details. +DEPRECATION WARNING: Direct access to $app->{query} in main at line 131 will break in the near future. Use $app->query instead. See MT::App POD for details. +DEPRECATION WARNING: Use of $app->param to fetch a hash of query parameters in main at line 160 will break in the future. Use $app->query->param instead. +DEPRECATION WARNING: Use of $app->param to fetch the CGI query object in main at line 171 will break in the future. Use $app->query instead. +DEPRECATION WARNING: Use of $app->param to get/set query object properties in main at line 178 will break in the future. Use $app->query->param() instead. +DEPRECATION WARNING: Use of $app->param to get/set query object properties in main at line 181 will break in the future. Use $app->query->param() instead. +t/70-app-query.t ......... ok + +# Failed test 'Returns the structure that matches Data::Dumper's' +# at t/80-serialize.t line 110. +# got: '[1,{'a'=>'value-a','b'=>[1],'c'=>['array',$VAR1->[1]{'b'},\3,2],'d'=>1,'z'=>$VAR1},undef]' +# expected: '[1,{'a'=>'value-a','b'=>[1],'c'=>['array',$VAR1->[1]{'b'},\'3',2],'d'=>1,'z'=>$VAR1},undef]' + +# Failed test 'Returns the structure that matches Data::Dumper's' +# at t/80-serialize.t line 110. +# got: '[1,{'a'=>'value-a','b'=>[1],'c'=>['array',$VAR1->[1]{'b'},\3,2],'d'=>1,'z'=>$VAR1},undef]' +# expected: '[1,{'a'=>'value-a','b'=>[1],'c'=>['array',$VAR1->[1]{'b'},\'3',2],'d'=>1,'z'=>$VAR1},undef]' +# Looks like you planned 112 tests but ran 106. +# Looks like you failed 2 tests of 106 run. +t/80-serialize.t ......... +Dubious, test returned 2 (wstat 512, 0x200) +Failed 8/112 subtests + (less 12 skipped subtests: 92 okay) +t/81-pagination.t ........ skipped: (no reason given) + +# Failed test 'POD test for lib/MT/Callback.pod' +# at /opt/local/lib/perl5/vendor_perl/5.10.1/Test/Pod.pm line 182. +# lib/MT/Callback.pod (764): =back without =over + +# Failed test 'POD test for addons/MultiBlog.plugin/lib/MultiBlog/Melody.pm' +# at /opt/local/lib/perl5/vendor_perl/5.10.1/Test/Pod.pm line 182. +# addons/MultiBlog.plugin/lib/MultiBlog/Melody.pm (48): =over should be: '=over' or '=over positive_number' +# addons/MultiBlog.plugin/lib/MultiBlog/Melody.pm (48): You can't have =items (as at line 81) unless the first thing after the =over is an =item + +# Failed test 'POD test for plugins/ThemeExport/lib/MT/Theme/Exporter.pm' +# at /opt/local/lib/perl5/vendor_perl/5.10.1/Test/Pod.pm line 182. +# plugins/ThemeExport/lib/MT/Theme/Exporter.pm (622): You can't have =items (as at line 627) unless the first thing after the =over is an =item +# plugins/ThemeExport/lib/MT/Theme/Exporter.pm (704): Unterminated L<...> sequence + +# Failed test 'POD test for plugins/ThemeExport/lib/MT/Theme/Util.pm' +# at /opt/local/lib/perl5/vendor_perl/5.10.1/Test/Pod.pm line 182. +# plugins/ThemeExport/lib/MT/Theme/Util.pm (43): Unterminated L<...> sequence +# Looks like you failed 4 tests of 325. +t/89-pod.t ............... +Dubious, test returned 4 (wstat 1024, 0x400) +Failed 4/325 subtests +Can't locate Melody/Util/Test.pm in @INC (@INC contains: t/inc/lib extlib lib /Users/jay/code/omt/openmelody/lib /opt/local/lib/perl5/vendor_perl/5.10.1/darwin-multi-2level /opt/local/lib/perl5/vendor_perl/5.10.1 /opt/local/lib/perl5/5.10.1/darwin-multi-2level /opt/local/lib/perl5/5.10.1 /opt/local/lib/perl5/site_perl/5.10.1/darwin-multi-2level /opt/local/lib/perl5/site_perl/5.10.1 /usr/local/lib/perl5/5.10.1/darwin-multi-2level /usr/local/lib/perl5/5.10.1 /usr/local/lib/perl5/darwin-multi-2level /usr/local/lib/perl5/site_perl/5.10.1/darwin-multi-2level /usr/local/lib/perl5/site_perl/5.10.1 /opt/local/lib/perl5/site_perl/5.8.9 /opt/local/lib/perl5/site_perl/5.8.8 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl/5.8.9 /opt/local/lib/perl5/vendor_perl/5.8.8 /opt/local/lib/perl5/vendor_perl .) at t/90-podcoverage.t line 12. +BEGIN failed--compilation aborted at t/90-podcoverage.t line 12. +t/90-podcoverage.t ....... +Dubious, test returned 2 (wstat 512, 0x200) +No subtests run +# Checking for tag documentation for component core +# Reading module lib/MT/Template/ContextHandlers.pm +# Reading module lib/MT/Template/Context/Search.pm + +# Failed test 'component core, function tag EntryAuthorNickname' +# at t/91-tagcoverage.t line 95. + +# Failed test 'component core, function tag AuthorEntriesCount' +# at t/91-tagcoverage.t line 95. + +# Failed test 'component core, function tag AuthorCommentCount' +# at t/91-tagcoverage.t line 95. + +# Failed test 'component core, block tag CategoryTags' +# at t/91-tagcoverage.t line 105. +# Checking for tag documentation for component multiblog +# Reading module /Users/jay/code/omt/openmelody/addons/MultiBlog.plugin/lib/MultiBlog/Tags.pm + +# Failed test 'component multiblog, block tag OtherBlog' +# at t/91-tagcoverage.t line 105. + +# Failed test 'component multiblog, block tag MultiBlog' +# at t/91-tagcoverage.t line 105. + +# Failed test 'component multiblog, block tag MultiBlogLocalBlog' +# at t/91-tagcoverage.t line 105. + +# Failed test 'component multiblog, block tag MultiBlogIfLocalBlog' +# at t/91-tagcoverage.t line 105. +# Looks like you failed 8 tests of 513. +t/91-tagcoverage.t ....... +Dubious, test returned 8 (wstat 2048, 0x800) +Failed 8/513 subtests +Use of uninitialized value in string eq at /Users/jay/code/omt/openmelody/addons/ConfigAssistant.plugin/lib/ConfigAssistant/Init.pm line 20. +Use of uninitialized value in join or string at (eval 429) line 2. +t/92-pubqueue.t .......... ok +t/93-plugins.t ........... ok +t/95-templateset.t ....... ok +t/96-static.t ............ ok +t/97-impexp.t ............ ok +t/98-check.t ............. skipped: These tests should be run before the rest of the testing suite since +t/99-includeblogs.t ...... ok +t/meta.t ................. ok +# test MT::CMS::Blog::_update_finfos +# test basic condition (not used by app) +# test template map presence as used in app +t/mt_cms_blog.t .......... ok +# test MT::CMS::Blog::list_tag_for() +t/mt_cms_tag.t ........... ok +# test MT::CMS::Tools::upgrade +# Object types are: entry, page, placement, ts_exitstatus, file, asset.image, objectasset, asset.file, templatemap, session, user, category, ping_cat, tag, asset, tbping, plugindata, awesome, log.ping, ts_funcmap, video, template, ipbanlist, permission, banlist, awesome_image, ping, log.entry, fileinfo, touch, custom_field, role, asset.video, objectscore, trackback, entry.page, asset.audio, author, log.comment, category.folder, folder, audio, ts_error, log, association, ts_job, blog, image, log.system, notification, comment, objecttag, commenter, config +t/mt_cms_tools.t ......... ok + +Test Summary Report +------------------- +t/02-meta-new.t (Wstat: 65280 Tests: 0 Failed: 0) + Non-zero exit status: 255 + Parse errors: Bad plan. You planned 7 tests but ran 0. +t/03-meta-new-author.t (Wstat: 65280 Tests: 0 Failed: 0) + Non-zero exit status: 255 + Parse errors: Bad plan. You planned 6 tests but ran 0. +t/101-email.t (Wstat: 768 Tests: 4 Failed: 3) + Failed tests: 2-4 + Non-zero exit status: 3 + Parse errors: Bad plan. You planned 5 tests but ran 4. +t/15-import-export.t (Wstat: 0 Tests: 0 Failed: 0) + Parse errors: No plan found in TAP output +t/24-meta-entry-save.t (Wstat: 65280 Tests: 0 Failed: 0) + Non-zero exit status: 255 + Parse errors: Bad plan. You planned 13 tests but ran 0. +t/33-driver.t (Wstat: 65280 Tests: 0 Failed: 0) + Non-zero exit status: 255 + Parse errors: No plan found in TAP output +t/35-tags.t (Wstat: 512 Tests: 434 Failed: 2) + Failed tests: 17, 132 + Non-zero exit status: 2 +t/80-serialize.t (Wstat: 512 Tests: 106 Failed: 2) + Failed tests: 39, 55 + Non-zero exit status: 2 + Parse errors: Bad plan. You planned 112 tests but ran 106. +t/89-pod.t (Wstat: 1024 Tests: 325 Failed: 4) + Failed tests: 18, 228, 307-308 + Non-zero exit status: 4 +t/90-podcoverage.t (Wstat: 512 Tests: 0 Failed: 0) + Non-zero exit status: 2 + Parse errors: No plan found in TAP output +t/91-tagcoverage.t (Wstat: 2048 Tests: 513 Failed: 8) + Failed tests: 126, 142, 262, 345, 502-503, 505-506 + Non-zero exit status: 8 +Files=62, Tests=5110, 116 wallclock secs ( 0.73 usr 0.30 sys + 87.92 cusr 8.45 csys = 97.40 CPU) +Result: FAIL