Running TEST suites
"Geoff Air" <[email protected]> Sat, 24 Dec 2005 10:09:45 +1100
| Newsgroups | gmane.comp.web.html-tidy.devel |
|---|---|
| Message-ID | <[email protected]> |
I am having some PROBLEM getting through the alltest.cmd suite ... 1. Using the binary downloaded from - http://dev.int64.org/tidy.html - in tidy-051106-exe.zip (137,823 bytes), containing tidy.exe, which, when run as, tidy -v, shows - HTML Tidy for Windows released on 1 September 2005 I have modified the onetest.cmd to show a little more than - echo ^^^^FAILED - I modified that line to read - echo *** Failed %1 got %STATUS% vs %EXPECTED% cfg %CFGFILE% out %TIDYFILE% in %INFILE% *** (a) It FAILS on one(1) test - Testing 1027888 *** Failed 1027888 - got 1 expected 0 infile .\input\in_1027888.html *** line 5 column 1 - Warning: </body> isn't allowed in <body> elements Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" Info: Document content looks like HTML 4.01 Strict 1 warning, 0 errors were found! and (b) it 'locks' on 'Testing 1359292' ... that it is FREEZES ... I have to use Ctrl+C to exit ... not sure WHY! 2. When using a binary, I compiled with MSVC7.1, from the LATEST CVS source (23 December 2005), which gives the version (-v) - HTML Tidy for Windows released on 11 November 2005 (a) it FAILS on test 473490 Testing 473490 *** Failed 473490 got 1 vs 0 cfg .\input\cfg_473490.txt out .\tmp\out_473490.html in .\input\in_473490.html *** Changing the input\cfg_473490.txt config from - show-warnings: no quiet: yes to - show-warnings: yes quiet: no Tidy reports line 7 column 1 - Warning: <nolayer> is not approved by W3C Info: Doctype given is "-//W3C//DTD HTML 3.2//EN" Info: Document content looks like HTML Proprietary 1 warning, 0 errors were found! (b) my MSVC7.1 binary EXE has no problem with test 1027888, which the 1SEP2005 showed an warning on, and sails through test 1359292, which the 1SEP2005 binary jammed on, with no problems ... (c) running the xmltest.cmd shows a REPEAT of test 473490, with the same FAILED message, but it also FAILS on test 586555 ... *** Failed 586555 got 1 vs 0 cfg .\input\cfg_586555.txt out .\tmp\out_586555.html in .\input\in_586555.html *** Again, altering the input\cfg_586555.txt to - show-warnings: yes quiet: no Tidy reports line 11 column 1 - Warning: <area> lacks "alt" attribute Info: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN" Info: Document content looks like XHTML 1.0 Strict 1 warning, 0 errors were found! SUMMARY: My binary, compiled from a current CVS, using MSVC7.1 shows - 1. alltest.cmd, using testcases.txt, FAILS on 473490 2. xmltest.cmd, using xmlcases.txt, FAILS on 586555, as well as repeating 473490 Can anybody shed some light on these 'test' case problems ... I understood it should breeze through these test cases ... sans problem ... Regards, Geoff. PS: OT: There appears no WIN32 CMD/BAT file for testing the accesscases.txt? Copying this to accesscasesa.txt, and removing the first line, I have created an acctest.cmd, and an onetesta.cmd to run these tests in WIN32 ... I get NO PROBLEMS ... I guess the problem was the lack of 'grep' in normal windows, but WIN32 has a 'find' utility, which does much the same thing as 'grep' ... if anyone is interested in adding this test to CVS I can send them these 3 files ... 1. accesscasesa.txt - same is accesscases.txt minus the first line. 2. acctest.cmd - to process the list in accesscasesa.txt, and 3. onetesta.cmd - using 'find' instead of 'grep' This would allow WIN32 users to also do the 'accessTest' suite ;=)) EOF _________________________________________________________________ realestate.com.au: the biggest address in property http://ninemsn.realestate.com.au ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click