[html-formfu] make test fails on install
Trevor Vallender
tsv at tsv.me.uk
Wed Aug 11 16:52:10 GMT 2010
I am trying to install HTML::FormFu from CPAN on Debian, but the test is
failing. It looks to me like I am hitting a known bug, which to my
reading should already be fixed.
The bug I refer to:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591120
My actual output is:
Test Summary Report
-------------------
t/elements/recaptcha.t (Wstat: 256
Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=386, Tests=2161, 245 wallclock secs ( 2.44 usr 6.20 sys + 91.94
cusr 143.94 csys = 244.52 CPU)
Result: FAIL
Failed 1/386 test programs. 1/2161 subtests failed.
make: *** [test_dynamic] Error 255
CFRANKS/HTML-FormFu-0.07002.tar.gz
make test -- NOT OK
//hint// to see the cpan-testers results for installing this module,
try:
reports CFRANKS/HTML-FormFu-0.07002.tar.gz
Running make install
make test had returned bad status, won't install without force
And scrolling up to see the failed output shows us:
t/elements/recaptcha.t ......................................... 1/1
# Failed test 'stringified form'
# at t/elements/recaptcha.t line 28.
# got: '<form action="" method="post">
# <div class="recaptcha">
# <span class="elements">
# <script type="text/javascript">
# //<![CDATA[
# var RecaptchaOptions = {};
# //]]>
# </script>
# <script src="http://www.google.com/recaptcha/api/challenge?k=xxx"
type="text/javascript"></script>
# <noscript><iframe frameborder="0" height="300"
src="http://www.google.com/recaptcha/api/noscript?k=xxx"
width="500"></iframe><textarea cols="40"
name="recaptcha_challenge_field" rows="3"></textarea><input
name="recaptcha_response_field" type="hidden"
value="manual_challenge" /></noscript>
# </span>
# </div>
# </form>
# '
# expected: '<form action="" method="post">
# <div class="recaptcha">
# <span class="elements">
# <script type="text/javascript">
# //<![CDATA[
# var RecaptchaOptions = {};
# //]]>
# </script>
# <script src="http://api.recaptcha.net/challenge?k=xxx"
type="text/javascript"></script>
# <noscript><iframe frameborder="0" height="300"
src="http://api.recaptcha.net/noscript?k=xxx"
width="500"></iframe><textarea cols="40"
name="recaptcha_challenge_field" rows="3"></textarea><input
name="recaptcha_response_field" type="hidden"
value="manual_challenge" /></noscript>
# </span>
# </div>
# </form>
# '
# Looks like you failed 1 test of 1.
t/elements/recaptcha.t .........................................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
Is there some way I can fix this? Or is it safe to force install in this
situation?
Thanks.
More information about the HTML-FormFu
mailing list