Skip to content

winetest: Fail just if output_size exceeds the limit.

CI is getting now near succeeding runs, but still shows failure.

This seems to be, because here it compares with unfiltered size:

        if (status || size > MAX_OUTPUT_SIZE) failures++;

But it does not print the error before, because it compares there with output_size:

    if (output_size > MAX_OUTPUT_SIZE) xprintf( "%s:%s:%04lx The test prints too much data (%lu bytes)\n", test->name, subtest, pid, size );

This patch does change this and increases the failures just when output_size exceeds the maximum.

Merge request reports

Loading