On 2018-11-28 20:45:05 -0500, Michael Gilbert wrote: > On Nov 28, 2018 at 7:12 PM Vincent Lefevre wrote: > > 1. When X11 is not used like here, there is no reason to try to use > > DISPLAY (or at least, error messages should be deferred). Note that > > "env -u DISPLAY wine tversion.exe" doesn't output any error message. > > Why not correct the invalid DISPLAY setting in your displayless environment?
Because this was not a displayless environment, and at the time I ran the tests, the X server was still running. And there is no way for a process to unset DISPLAY of other already running processes. But since the tests themselves do not need a display, as a workaround, I have added in tests/Makefile.am: TESTS_ENVIRONMENT = env -u DISPLAY > I suppose wine could delay initializing X until it knows the > application its launching actually needs it, but that is not how it is > designed now. This is a new feature that you could request of > upstream. OK. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)