crash in shlwapi path tests

Saulius Krasuckas saulius2 at
Sat Oct 29 12:35:59 CDT 2005

* On Sat, 29 Oct 2005, Stefan Leichter wrote:
> when looking into the shlwapi test results you will see sometimes the 
> word crash. But the tests do not crash. The reason is that the winetest 
> executable cuts down the result file to 1M byte before sending it to 
> winehq. On some systems the PathIsValidCharW fails always (~65600 
> tests). Therefore you get a result file that is more than 6M bytes big.

Yeah, that happens because of a looped ok-tests.  

> ChangeLog
> 	stop PathIsValidCharW tests after 100 failing tests

I think better this should be fixed globally, for example by making ok() 
use static variable and remember last line which has failed.  I was 
thinking about only 3 lines, but 100 failures on the same line is a nice 
threshold, Stefan.

More information about the wine-devel mailing list