One other solution that we may consider is to build tests as GUI applications and add AttachConsole(ATTACH_PARENT_PROCESS) to main() in test.h. That should preserve desired behaviour. We'd probably need an opt-out mechanism for console tests, but it should be fine otherwise, unless I'm missing something.
looking at https://bugs.winehq.org/show_bug.cgi?id=52743, I don't think we can force every app out there to move to GUI subsystem
maybe the proposed patch (in https://bugs.winehq.org/show_bug.cgi?id=52761) would help
A+