[Po4a-devel] Test failing for the sgml module.

Didier Spaier didier.spaier at epsm.fr
Thu Jul 11 20:26:25 UTC 2013


Hello,

./Build test of po4a-044 fails on my Slackware64-14.0

To get more information I did this:

./Build test -verbose=1 --test-files t/20-sgml.t --debug=1

Output I got is here:
http://pastebin.com/KQF8hm9k

I have SGMLS (1.03ii) installed (included in package linux-docs
in Slackware but not
sp (1.3.4): James Clark's SGML parsing tools
Instead I have OpenSP-1.5.2 (shipped in linux-docs package as well.

I am not able to fiddle with Jams Clark sp's Makefile and would
prefer not to install it or would need guidnace to do that
(I don't know if failing test is related to this dependency missing).

Thanks for any clue, I find po4a awesome and would like to help
others installing it cleanly on Slackware.

Thank for any clue.

Didier

PS in case this list's users prefer have it right in the post here is
end of output of
./Build test -verbose=1 --test-files t/20-sgml.t --debug=1

<end of output begins here>
Starting ACTION_test
Starting ACTION_code
Starting ACTION_config_data
Finished ACTION_config_data
Finished ACTION_code
defined(@array) is deprecated at /tmp/SBo/po4a-0.44/blib/lib/Locale/Po4a/Sgml.pm line 369.
         (Maybe you should just omit the defined()?)
defined(@array) is deprecated at /tmp/SBo/po4a-0.44/blib/lib/Locale/Po4a/Sgml.pm line 369.
         (Maybe you should just omit the defined()?)
Files data-20/test2.pot and tmp/po4a-normalize.po differ at line 63:
-#. type: <para></para>
+#. type: <refname></refname>


#   Failed test 'normalisation test returns what is expected'
#   at t/20-sgml.t line 61.
# Failed (retval=6400) on:
# perl compare-po.pl data-20/test2.pot tmp/po4a-normalize.po && perl compare-po.pl data-20/test2-normalized.sgml tmp/po4a-normalize.output
# Was created with:
# perl -I../lib cd tmp && perl ../../po4a-normalize -f sgml ../data-20/test2.sgml
# Looks like you failed 1 test of 4.
t/20-sgml.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests

Test Summary Report
-------------------
t/20-sgml.t (Wstat: 256 Tests: 4 Failed: 1)
   Failed test:  4
   Non-zero exit status: 1
Files=1, Tests=4, 16 wallclock secs ( 0.05 usr  0.00 sys +  1.22 cusr  0.19 csys =  1.46 CPU)
Result: FAIL
Failed 1/1 test programs. 1/4 subtests failed.



More information about the Po4a-devel mailing list