theory/sqitch — pull request #47 by arhuman (2012-10-12 23:19:35+00:00)
Title: Test i18n

I've fixed most of the I18N issues in the tests that now pass on my system.

Find below the remaining failures :
Some are linked to a localized regex
Some are relating to a warning (!?)

dzil test
[DZ] building test distribution under .build/nhJFWu9y3t
[DZ] beginning to build App-Sqitch
[DZ] guessing dist's main_module is lib/App/Sqitch.pm
[VersionFromModule] dist version 0.939 (from lib/App/Sqitch.pm)
[DZ] extracting distribution abstract from lib/App/Sqitch.pm
[LocaleTextDomain] Compiling language files in po
[DZ] writing App-Sqitch in .build/nhJFWu9y3t
[LocaleTextDomain] po/de.po: 0 message traduit, 1 traduction approximative, 162 messages non traduits.

[LocaleTextDomain] po/fr.po: 162 messages traduits, 1 traduction approximative.

Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'App-Sqitch' version '0.939'
Building App-Sqitch
t/add.t ............ ok.....
t/base.t ........... 39/99.
# Failed test 'The error message should be one of the I/O messages'
# at t/base.t line 310.
# '/home/arnaud/perl5/perlbrew/perls/perl-5.16.1/bin/perl a retourné de manière inattendue la valeur 255'
# doesn't match '(?^:\/home\/arnaud\/perl5\/perlbrew\/perls\/perl\-5\.16\.1\/bin\/perl unexpectedly returned exit value |Error\ closing\ pipe\ to)'

# Failed test 'Error message should be about inability to exec'
# at t/base.t line 318.
# 'Impossible d'exécuter --nosuchscript.ply-- : Aucun fichier ou dossier de ce type'
# doesn't match '(?^:Cannot\ exec\ \-\-nosuchscript\.ply\-\-\:|Error\ closing\ pipe\ to\ \-\-nosuchscript\.ply\-\-\:)'
# Looks like you failed 2 tests of 99.
t/base.t ........... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/99 subtests.
t/blank.t .......... ok.....
t/bundle.t ......... ok.......
t/change.t ......... ok.....
t/changelist.t ..... ok.......
t/command.t ........ ok.....
t/config.t ......... ok.......
t/configuration.t .. ok.....
t/datetime.t ....... ok.....
t/depend.t ......... ok.......
t/deploy.t ......... ok....
t/engine.t ......... ok.......
t/help.t ........... ok.....
t/init.t ........... ok.......
t/linelist.t ....... ok.....
t/log.t ............ syntax error at t/log.t line 511, near "]"
Global symbol "$format" requires explicit package name at t/log.t line 536.
Global symbol "$spec" requires explicit package name at t/log.t line 537.
syntax error at t/log.t line 542, near "}"
Execution of t/log.t aborted due to compilation errors.
t/log.t ............ 1/?.
# Failed test 'no warnings'
# at /home/arnaud/perl5/perlbrew/perls/perl-5.16.1/lib/site_perl/5.16.1/Test/NoWarnings.pm line 45.
# There were 4 warning(s)
# Previous test 0 ''
# "my" variable $CLASS masks earlier declaration in same scope at t/log.t line 535.
# at t/log.t line 535.
#.
# ----------
# Previous test 0 ''
# "my" variable $config masks earlier declaration in same scope at t/log.t line 535.
# at t/log.t line 535.
#.
# ----------
# Previous test 0 ''
# "my" variable $spec masks earlier declaration in same statement at t/log.t line 535.
# at t/log.t line 535.
#.
# ----------
# Previous test 0 ''
# "my" variable $log masks earlier declaration in same scope at t/log.t line 536.
# at t/log.t line 536.
#.
# Looks like you failed 1 test of 1.
# Looks like your test exited with 255 just after 1.
t/log.t ............ Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests.
t/options.t ........ ok.....
t/pg.t ............. ok....
t/plan.t ........... ok.....
t/pod-coverage.t ... skipped: Test::Pod::Coverage 1.08 required for testing POD coverage
t/pod.t ............ skipped: Test::Pod 1.41 required for testing POD
t/pragma.t ......... ok.....
t/revert.t ......... ok....
t/rework.t ......... ok.....
t/sqlite.t ......... ok.....
t/status.t ......... ok.....
t/tag.t ............ ok....
t/tag_cmd.t ........ ok.....
t/x.t .............. ok....

Test Summary Report
-------------------
t/base.t (Wstat: 512 Tests: 99 Failed: 2)
Failed tests: 94, 98
Non-zero exit status: 2
t/log.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Files=30, Tests=3055, 34 wallclock secs ( 1.01 usr 0.12 sys + 32.16 cusr 1.32 csys = 34.61 CPU)
Result: FAIL