[Bug 51784] The dinput8:hid output is too big in Wine

WineHQ Bugzilla wine-bugs at winehq.org
Thu Sep 23 10:50:54 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=51784

--- Comment #2 from François Gouget <fgouget at codeweavers.com> ---
I guess you mean ": Test marked todo: ". Otherwise you're almost there ;-)

The breakdown on the report I have here (job 98459-win32) is:
$ grep "Test marked todo: " dinput8-hid.txt | wc -c
25358
$ grep "Test marked todo: " dinput8-hid.txt | wc -l
331
$ echo -n "Test marked todo: " | wc -c
18
$ expr 331 \* 18
5958
$ sed -e 's/Test marked todo: .*$/Test marked todo: /' -e t -e d
dinput8-hid.txt | wc -c
10433

So 4475 bytes (18%) for the filename + line number, 5958 bytes (23%) for "Test
marked todo", 10433 bytes combined (41%) and 14925 bytes (59%) for the
remainder of the line.

Short of using abbreviations or just "Todo: " (*) I don't think we can gain
much.

(*) But that's not as clear, inconsistent with the other messages and increases
the risk of false positives when parsing the report.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list