Janitorial Projects -- conformance tests --recruiting volunteers

Francois Gouget fgouget at free.fr
Tue Dec 10 02:35:29 CST 2002


On Mon, 9 Dec 2002, Tony Lambregts wrote:
[...]
> I was unable to redirect the output of the tests to a file. For
> example "ws2_32_test.exe sock > temp.txt" would give me a 0 lenght
> file is it supposed to work that way?

Redirections are handled by the shell. This is true on Unix, on Windows
NT, on Windows 9x and on DOS. Of course on Windows 9x and DOS the shell
is so bad that it doesn't even support redirections.


> Some tests output more than 50 lines so that even with the terminal
> set to 50 lines I would not be able to copy all of them.

Yes, with vanilla Win9x there is not solution. The only solutions I
see are:
 * run the test in a debugger and to suspend it at the appropriate time.
This is what I usually do. Of course it sort of implies you are also
committed to fixing the bug while you're at it.
 * write your own tool to start the tests and redirect their output to a
file.
 * use a better shell out of cygwin or mks toolkit.


> Also a lot (most) of the tests had the prefix of where the file
> resided on when it was compiled for each line, which made for very
> long lines. I cleaned up the lines wrap, but is it really nessesary to
> print the whole path.

Probably not.


> The output from the tests is at
> http://bugs.winehq.com/showattachment.cgi?attach_id=350

Thanks.


-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
    I haven't lost my mind, it's backed up on tape around here somewhere...




More information about the wine-devel mailing list