tcl-websh-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Hefti <he...@netcetera.ch>
Subject websh3.5 build experiences (against tcl8.4b2, on Red Hat Linux 7.3 2.96-110
Date Tue, 20 Aug 2002 17:32:01 GMT
Hi there,

it seems that the build process is not yet quite clean (if
under somewhat special conditions). This is what I encountered:

1) autoconf required to get a configure script
  -> I suggest to include a autoconf'ed configure in the package
2) tcl8.4 not found:
--> change in configure.in to:
AC_PATH_PROGS(TCLSH_PROG, tclsh8.4${EXEEXT} tclsh84${EXEEXT} tclsh8.3${EXEEXT} tclsh83${EXEEXT}
tclsh8.2${EXEEXT} tclsh82${EXEEXT}, :, \
  :${TCL_PACKAGE_PATH}/../bin:.:${prefix}:${exec_prefix}:${PATH})
3) 5 tests not passing (when compiled against 8.4b2) (see below)
  One seems to be a UTF/Unicode problem. The other a fixed
  "tclsh8.3" string.
4) make install: tries (and fails) to install quickref.html and
  quickref.txt

test output:
Test configuration:
+ Tcl 8.4b2
+ /home/hefti/projects/tdom/src/websh-3.5.0/src/tests/../unix/websh3.5.0
+ logfile: webtest.log
+ quiet mode
+ working dir: /home/hefti/projects/tdom/src/websh-3.5.0/src/tests
+ only running tests that match: *
+ skipping test files that match: l.*.test

Tests began at Tue Aug 20 07:28:38 PM CEST 2002

==== dehtmlify-2.1 test numeric entities FAILED
==== Contents of test case:

    web::dehtmlify " !&#34;#\$%&#38;'()*+,-./0123456789:;&#60;=&#62;?@ABCDEFGHIJKLMNOPQRSTUVWXYZ\[\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~&#160;&#161;&#162;&#163;&#164;&#165;&#166;&#167;&#168;&#169;&#170;&#171;&#172;&#173;&#174;&#175;&#176;&#177;&#178;&#179;&#180;&#181;&#182;&#183;&#184;&#185;&#186;&#187;&#188;&#189;&#190;&#191;&#192;&#193;&#194;&#195;&#196;&#197;&#198;&#199;&#200;&#201;&#202;&#203;&#204;&#205;&#206;&#207;&#208;&#209;&#210;&#211;&#212;&#213;&#214;&#215;&#216;&#217;&#218;&#219;&#220;&#221;&#222;&#223;&#224;&#225;&#226;&#227;&#228;&#229;&#230;&#231;&#232;&#233;&#234;&#235;&#236;&#237;&#238;&#239;&#240;&#241;&#242;&#243;&#244;&#245;&#246;&#247;&#248;&#249;&#250;&#251;&#252;&#253;&#254;&#255;"

---- Result was:
 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢£?¥?§?©ª«¬­®¯°±²³?µ¶·?¹º»???¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ
---- Result should have been (exact matching):
 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ
==== dehtmlify-2.1 FAILED

will delete logfilter0, logdest0
filters are: logfilter0 *.alert-debug
dests   are: logdest0 *.alert-debug
testing file locking: 10 concurrent processes with 100 file locks each
(this may take a while...) done

==== htmlify-1.3 websh3_htmlify: test complete charset FAILED
==== Contents of test case:

    set in " !\"#\$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ\[\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
    set out [web::htmlify -numeric $in]

---- Result was:
 !&#34;#$%&#38;'()*+,-./0123456789:;&#60;=&#62;?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~&#160;&#161;&#162;&#163;&#165;&#167;&#169;&#170;&#171;&#172;&#173;&#174;&#175;&#176;&#177;&#178;&#179;&#181;&#182;&#183;&#185;&#186;&#187;&#191;&#192;&#193;&#194;&#195;&#196;&#197;&#198;&#199;&#200;&#201;&#202;&#203;&#204;&#205;&#206;&#207;&#208;&#209;&#210;&#211;&#212;&#213;&#214;&#215;&#216;&#217;&#218;&#219;&#220;&#221;&#222;&#223;&#224;&#225;&#226;&#227;&#228;&#229;&#230;&#231;&#232;&#233;&#234;&#235;&#236;&#237;&#238;&#239;&#240;&#241;&#242;&#243;&#244;&#245;&#246;&#247;&#248;&#249;&#250;&#251;&#252;&#253;&#254;&#255;
---- Result should have been (exact matching):
 !&#34;#$%&#38;'()*+,-./0123456789:;&#60;=&#62;?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~&#160;&#161;&#162;&#163;&#164;&#165;&#166;&#167;&#168;&#169;&#170;&#171;&#172;&#173;&#174;&#175;&#176;&#177;&#178;&#179;&#180;&#181;&#182;&#183;&#184;&#185;&#186;&#187;&#188;&#189;&#190;&#191;&#192;&#193;&#194;&#195;&#196;&#197;&#198;&#199;&#200;&#201;&#202;&#203;&#204;&#205;&#206;&#207;&#208;&#209;&#210;&#211;&#212;&#213;&#214;&#215;&#216;&#217;&#218;&#219;&#220;&#221;&#222;&#223;&#224;&#225;&#226;&#227;&#228;&#229;&#230;&#231;&#232;&#233;&#234;&#235;&#236;&#237;&#238;&#239;&#240;&#241;&#242;&#243;&#244;&#245;&#246;&#247;&#248;&#249;&#250;&#251;&#252;&#253;&#254;&#255;
==== htmlify-1.3 FAILED


==== htmlify-2.1 websh3_htmlify: test complete charset, non-numeric FAILED
==== Contents of test case:

    set in    " !\"#\$%&'()*+,-./0123456789:;<=>?@"
    append in "ABCDEFGHIJKLMNOPQRSTUVWXYZ\[\\\]^_`abcdefghijklmnopqrstuvwxyz"
    append in "{|}~ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ"
    append in "×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
    set out [web::htmlify $in]

---- Result was:
 !&quot;#$%&amp;'()*+,-./0123456789:;&lt;=&gt;?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~&nbsp;&iexcl;&cent;&pound;&yen;&sect;&copy;&ordf;&laquo;&not;&shy;&reg;&macr;&deg;&plusmn;&sup2;&sup3;&micro;&para;&middot;&sup1;&ordm;&raquo;&iquest;&Agrave;&Aacute;&Acirc;&Atilde;&Auml;&Aring;&AElig;&Ccedil;&Egrave;&Eacute;&Ecirc;&Euml;&Igrave;&Iacute;&Icirc;&Iuml;&ETH;&Ntilde;&Ograve;&Oacute;&Ocirc;&Otilde;&Ouml;&times;&Oslash;&Ugrave;&Uacute;&Ucirc;&Uuml;&Yacute;&THORN;&szlig;&agrave;&aacute;&acirc;&atilde;&auml;&aring;&aelig;&ccedil;&egrave;&eacute;&ecirc;&euml;&igrave;&iacute;&icirc;&iuml;&eth;&ntilde;&ograve;&oacute;&ocirc;&otilde;&ouml;&divide;&oslash;&ugrave;&uacute;&ucirc;&uuml;&yacute;&thorn;&yuml;
---- Result should have been (exact matching):
 !&quot;#$%&amp;'()*+,-./0123456789:;&lt;=&gt;?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~&nbsp;&iexcl;&cent;&pound;&curren;&yen;&brvbar;&sect;&uml;&copy;&ordf;&laquo;&not;&shy;&reg;&macr;&deg;&plusmn;&sup2;&sup3;&acute;&micro;&para;&middot;&cedil;&sup1;&ordm;&raquo;&frac14;&frac12;&frac34;&iquest;&Agrave;&Aacute;&Acirc;&Atilde;&Auml;&Aring;&AElig;&Ccedil;&Egrave;&Eacute;&Ecirc;&Euml;&Igrave;&Iacute;&Icirc;&Iuml;&ETH;&Ntilde;&Ograve;&Oacute;&Ocirc;&Otilde;&Ouml;&times;&Oslash;&Ugrave;&Uacute;&Ucirc;&Uuml;&Yacute;&THORN;&szlig;&agrave;&aacute;&acirc;&atilde;&auml;&aring;&aelig;&ccedil;&egrave;&eacute;&ecirc;&euml;&igrave;&iacute;&icirc;&iuml;&eth;&ntilde;&ograve;&oacute;&ocirc;&otilde;&ouml;&divide;&oslash;&ugrave;&uacute;&ucirc;&uuml;&yacute;&thorn;&yuml;
==== htmlify-2.1 FAILED


==== htmlify-2.2 "websh3_htmlify: is deHtmlify(htmlify(in)) == in ?, except for nbsp" FAILED
==== Contents of test case:

    set in    " !\"#\$%&'()*+,-./0123456789:;<=>?@"
    append in "ABCDEFGHIJKLMNOPQRSTUVWXYZ\[\\\]^_`abcdefghijklmnopqrstuvwxyz"
    append in "{|}~¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ"
    append in "×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
    string compare [web::dehtmlify [web::htmlify $in]] $in

---- Result was:
-1
---- Result should have been (exact matching):
0
==== htmlify-2.2 FAILED

08/20/2002 07:28:40 PM [31161] user.debug: test
08/20/2002 07:28:40 PM [31161] user.debug: test
08/20/2002 07:28:40 PM [31161] user.debug: test
08/20/2002 07:28:40 PM [31161] user.debug: test

==== mintest-1.1 create an interpreter, load websh3 FAILED
==== Contents of test case:

    set fn "mintest1_1.tcl"
    set fh [open $fn "w"]
    puts $fh {catch {web::copyright} msg}
    puts $fh {set res $msg}
    puts $fh {load $env(WEB_LIBRARY)}
    puts $fh {catch {web::encrypt test} msg}
    puts $fh {lappend res $msg}
    puts $fh {puts $res}
    close $fh
    set res ""
    catch {
	##  fixme: use variable for tclsh8.3
	set res [exec tclsh8.3 $fn]
    }
    file delete -force $fn
    set res

---- Result was:

---- Result should have been (exact matching):
invalid command name web::copyright XDq3pUAU8b
==== mintest-1.1 FAILED

Tests ended at Tue Aug 20 07:28:42 PM CEST 2002

webtest.ws3:	Total	418	Passed	405	Skipped	8	Failed	5
Sourced 28 Test Files.
Files with failing tests: dehtmlify.test htmlify.test mintest.test
Number of tests skipped for each constraint:
	6	emptyTest
	1	pcOnly
	1	unixOnly, emptyTest

... works for me !

Simon.

------------------------------------------------------------------------
Simon Hefti                                     simon.hefti@netcetera.ch
Netcetera AG, 8040 Zuerich    phone +41 1 247 79 47  fax +41 1 247 70 75


---------------------------------------------------------------------
To unsubscribe, e-mail: websh-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-dev-help@tcl.apache.org


Mime
View raw message