[WM] WebMake-2.3 tests fail

Joern Clausen joern.TechFak.Uni-Bielefeld.DE
Fri Nov 2 00:38:02 GMT 2001


Hi!

> Did you run "make test" before or after "make install".  I've almost
> always had errors when running the test suite before installation, and
> then had a clean test run after installing.

The reason for this is that the Perl scripts (e.g. webmake itself) state
"/usr/bin/perl" as interpreter, which might be wrong. I have Perl
installed in a completely different directory. Until recently, this path
was fixed only at "make install", so during "make test", it was still
wrong. This behaviour was changed in version 2.2 of WebMake, now the
path is fixed during "make".

But "make test" still produces a lot of errors. I have appended the
output on my machine (Solaris 2.8, Perl 5.6.1, WebMake 2.2). Is this the
usual level of noise that other people get, especially Justin?



---8<---snip-------------------------------------------------------------

PERL_DL_NONLAZY=1 /vol/perl-5.6/bin/perl -Iblib/arch -Iblib/lib -I/vol/perl-5.6/lib/5.6.1/sparc-sun-solaris2.5.1 -I/vol/perl-5.6/share/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/attrdefault.......ok
t/basic.............ok
t/breadcrumbs.......ok
t/breadcrumbs2......${crumbs}: need a root content for <breadcrumbs>!
${crumbs}: need a root content for <breadcrumbs>!
${crumbs}: need a root content for <breadcrumbs>!
${crumbs}: need a root content for <breadcrumbs>!
${crumbs}: need a root content for <breadcrumbs>!
${crumbs}: need a root content for <breadcrumbs>!
${crumbs}: need a root content for <breadcrumbs>!
	Not found: mainpage =  [ <a href="../log/breadcrumbs2.html">site map</a> / &nbsp; -- &nbsp; <a
href="../log/breadcrumbs2.html">Map</a> <hr /> <li> <a
href="../log/breadcrumbs2.html">site map</a>: Map of the site<br /> <ul> <li> <a
href="../log/breadcrumbs2_story_1.html">Story 1, blah blah</a>: Story 1, just
another story.<br /> <ul> <li> <a href="../log/breadcrumbs2_story_2.html">Story
2, blah blah</a>: Story 2, just another story.<br /> <ul> <li> <a
href="../log/breadcrumbs2_story_3.html">Hot! story 3, etc etc.</a>: Story 3, the
highest-scored story.<br /> <ul> <li> <a
href="../log/breadcrumbs2_story_5.html">Story 5, zzz blah blah</a>: Story 5,
nothing much here.<br /> <ul> <li> <a
href="../log/breadcrumbs2_story_6.html">Story 6, blah blah</a>: Story 6, just
another story.<br /> 
	Not found: story6 =  [ <a href="../log/breadcrumbs2.html">site map</a> /<a
href="../log/breadcrumbs2_story_1.html">Story 1, blah blah</a> /<a
href="../log/breadcrumbs2_story_2.html">Story 2, blah blah</a> /<a
href="../log/breadcrumbs2_story_3.html">Hot! story 3, etc etc.</a> /<a
href="../log/breadcrumbs2_story_5.html">Story 5, zzz blah blah</a> /<a
href="../log/breadcrumbs2_story_6.html">Story 6, blah blah</a> ] &nbsp; --
&nbsp; <a href="../log/breadcrumbs2.html">Map</a> <hr /> <p>

This is story 6.
	Not found: story4 =  [ <a href="../log/breadcrumbs2.html">site map</a> /<a
href="../log/breadcrumbs2_story_1.html">Story 1, blah blah</a> /<a
href="../log/breadcrumbs2_story_2.html">Story 2, blah blah</a> /<a
href="../log/breadcrumbs2_story_4.html">Story 4, zzzzzzz</a> ] &nbsp; -- &nbsp;
<a href="../log/breadcrumbs2.html">Map</a> <hr /> <p>

This is story 4. It's astoundingly boring, which is why it's down here.
	Not found: story1 =  [ <a href="../log/breadcrumbs2.html">site map</a> /<a
href="../log/breadcrumbs2_story_1.html">Story 1, blah blah</a> ] &nbsp; --
&nbsp; <a href="../log/breadcrumbs2.html">Map</a> <hr /> <p>

This is story 1.
	Not found: story3 = [ <a href="../log/breadcrumbs2.html">site map</a> /<a
href="../log/breadcrumbs2_story_1.html">Story 1, blah blah</a> /<a
href="../log/breadcrumbs2_story_2.html">Story 2, blah blah</a> /<a
href="../log/breadcrumbs2_story_3.html">Hot! story 3, etc etc.</a> ] &nbsp; --
&nbsp; <a href="../log/breadcrumbs2.html">Map</a> <hr /> <p>

Breaking news! this is story 3.
FAILED tests 2-11
	Failed 10/11 tests, 9.09% okay
t/clean.............should get an 'unbalanced tags' warning here:
HTML cleaner: unbalanced tags found in log/clean.html
ok
t/contentsfind......ok
t/contentsfind2.....ok
t/contentsfind3.....Use of uninitialized value in hash element at t/WMTest.pm line 114, <IN> line 1.
Use of uninitialized value in hash element at t/WMTest.pm line 114, <IN> line 1.
ok
t/contenttable......ok
t/csvtable..........ok
t/deeplinks.........ok
t/deferred_refs.....ok
t/deftags...........ok
t/defwmktags........ok
t/download_tag......ok
t/etglossary........IMGSIZE warning can be ignored here
${IMGSIZE}: cannot find image file "ntk.gif" in "(html-cleaner)"
	Not found: img_safe = Here's another one. <img src="../ntk.gif" />.
FAILED tests 8-9
	Failed 2/17 tests, 88.24% okay
t/etoptions.........ok
t/example_news_site.ok
t/example_sitemap...ok
t/htmlcleanerimgs...${IMGSIZE}: cannot find image file "../data/test.gif" in "(html-cleaner)"
${IMGSIZE}: cannot find image file "../../data/test.gif" in "(html-cleaner)"
	Not found: level2 = **Test bar.** <img src="../../data/test.gif" alt="logo" border="0" width="6"
height="55" />
	Not found: level1 = **Test foo.** <img src="../data/test.gif" alt="logo" border="0" width="6"
height="55" />
FAILED tests 2-3, 6-7
	Failed 4/9 tests, 55.56% okay
t/imgsize...........${IMGSIZE}: cannot find image file "../../data/test.gif" in "logo"
${IMGSIZE}: cannot find image file "../../data/test.gif" in "(html-cleaner)"
	Not found: level2 = **Test bar.** <img src="../../data/test.gif" alt="logo" border="0" width="6"
height="55" />
FAILED tests 2-3
	Failed 2/7 tests, 71.43% okay
t/implicitmetas.....	Not found: winners = The winners are:
 - This is foo
 - This is bar
 - this is baz
 - This is blag
 - This is gab
 - This is boo
 - This is floo
 
	Not found: winners = The winners are:
 - This is foo
 - This is bar
 - this is baz
 - This is blag
 - This is gab
 - This is boo
 - This is floo
 
FAILED tests 2-3, 19-20
	Failed 4/34 tests, 88.24% okay
t/meta..............ok
t/metacache.........ok
t/metadefault.......ok
t/metadefvalues.....ok
t/metatable.........ok
t/metatablexml......ok
t/navlinks..........ok
t/navlinks_warning..should get a 'content should only be used etc.' warning here...
webmake: error: content ${navlinks} should only be used as $[navlinks] in "OUT:map".
ok
t/navlinks_with_pod.ok
t/paramrefs.........	Not found: gotit = Expanding :::foo!:::
FAILED tests 2-3
	Failed 2/3 tests, 33.33% okay
t/perllib...........	Not found: seen_foo_value = 
  Content: <strong>"foo"</strong><br />
  <blockquote>
    <!--etsafe-->
    <pre>
Foo!  </pre>
<!--/etsafe-->
  </blockquote>

FAILED tests 2-3
	Failed 2/9 tests, 77.78% okay
t/perlout...........ok
t/pod...............ok
t/safetag...........	Not found: etsafe =  <!--etsafe--> <pre> &lt;cache file="../webmake.cache" /&gt; </pre><!--/etsafe-->

FAILED tests 2-3
	Failed 2/3 tests, 33.33% okay
t/sitemap_with_metatable.ok
t/sitetree..........ok
t/svfile............ok
t/use...............	Not found: seen_foo_value = 
  Content: <strong>"foo"</strong><br />
  <blockquote>
    <!--etsafe-->
    <pre>
Foo!  </pre>
<!--/etsafe-->
  </blockquote>

FAILED tests 2-3
	Failed 2/9 tests, 77.78% okay
Failed Test         Status Wstat Total Fail  Failed  List of Failed
--------------------------------------------------------------------------------
t/breadcrumbs2.t   	              11   10  90.91%  2-11
t/etglossary.t     	              17    2  11.76%  8-9
t/htmlcleanerimgs.t	               9    4  44.44%  2-3, 6-7
t/imgsize.t        	               7    2  28.57%  2-3
t/implicitmetas.t  	              34    4  11.76%  2-3, 19-20
t/paramrefs.t      	               3    2  66.67%  2-3
t/perllib.t        	               9    2  22.22%  2-3
t/safetag.t        	               3    2  66.67%  2-3
t/use.t            	               9    2  22.22%  2-3
Failed 9/40 test scripts, 77.50% okay. 30/419 subtests failed, 92.84% okay.
make: *** [test_dynamic] Error 29

--->8---snap-------------------------------------------------------------

-- 
 Joern Clausen                                joern at TechFak.Uni-Bielefeld.DE
 Faculty of Technology           http://www.TechFak.Uni-Bielefeld.DE/~joern/
 University of Bielefeld, Germany                        +49 (0)521/106-2905




More information about the Webmake-talk mailing list