[xml] Re: --tests working in win32---hi all thank you for your wonderfull support----



Hi,

On Wed, 2006-01-18 at 20:40 +0530, venkat naidu wrote:

[...]

later one of my friend said we require even testapi.exe ( most
important) for testing.. 

so again i gone through MakeFile.msvc , some where in utils: task i
have added testapi.exe

Yes, we need to add "testapi.exe" to the 3 win32/Makefile.xxx files.

thats all when i ran again with command  c:\.....>nmake /f
Makefile.msvc utils unfortunately there was an error displaying
testapi.c : error snprintf cannot be resolved, later i have changed it
to _snprintf  ( i have added underscore to it) , then i have ran it
again with 
command   c:\.....>nmake /f Makefile.msvc utils  now fortunately
testapi.exe was created ...

Yes, we need to add something like the following to "testapi.c":

#if defined(_WIN32) && !defined(__CYGWIN__)
#define snprintf _snprintf
#endif

luckily , wow i jumped ...  then i executed testapi , runsuite ,
runtest  ...

coool man all tests has worked and there was only 1 error  and  0
leaks

i am attaching a file the results what i have got...... 

Please avoid sending .DOC files, since many/most people here
cannot/won't open MS's .DOC files.


  now can any you people tell me what i have done is right or
wrong ...

It was right for the win side.
Performing the changes on my side, results in the following
for the CVS head:

L:\libxml2>testapi
Testing HTMLparser : 31 of 37 functions ...
Testing HTMLtree : 18 of 18 functions ...
Testing SAX2 : 38 of 38 functions ...
Testing c14n : 3 of 4 functions ...
Testing catalog : 27 of 36 functions ...
Testing chvalid : 9 of 9 functions ...
Testing debugXML : 25 of 28 functions ...
Testing dict : 9 of 10 functions ...
Testing encoding : 16 of 19 functions ...
Testing entities : 12 of 16 functions ...
Testing hash : 16 of 24 functions ...
Testing list : 19 of 26 functions ...
Testing nanoftp : 16 of 22 functions ...
Testing nanohttp : 13 of 17 functions ...
Testing parser : 61 of 70 functions ...
Testing parserInternals : 33 of 90 functions ...
Testing pattern : 10 of 15 functions ...
Testing relaxng : 14 of 23 functions ...
Testing schemasInternals : 0 of 2 functions ...
Testing schematron : 1 of 9 functions ...
Testing tree : 132 of 151 functions ...
Testing uri : 9 of 14 functions ...
Testing valid : 50 of 70 functions ...
Testing xinclude : 6 of 8 functions ...
Testing xmlIO : 39 of 48 functions ...
Testing xmlautomata : 3 of 19 functions ...
Testing xmlerror : 7 of 15 functions ...
Testing xmlmodule : 2 of 4 functions ...
Testing xmlreader : 74 of 84 functions ...
Testing xmlregexp : 16 of 30 functions ...
Testing xmlsave : 4 of 10 functions ...
Testing xmlschemas : 14 of 24 functions ...
Testing xmlschemastypes : 26 of 34 functions ...
Testing xmlstring : 26 of 30 functions ...
Testing xmlunicode : 166 of 166 functions ...
Testing xmlwriter : 51 of 79 functions ...
Testing xpath : 28 of 36 functions ...
Testing xpathInternals : 106 of 117 functions ...
Testing xpointer : 17 of 21 functions ...
Total: 1147 functions, 264263 tests, 0 errors

Regards,

Kasimier



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]