On Mon Aug 1 18:45:08 2022 +0000, Jacek Caban wrote:
Maybe we could have a special "test" mode in widl (with #widl pragma or a command line option), which we could use to instruct widl to "expect failure" (and revert return code, probably silence or redirect output). The same could be used to trigger complete build (including proxy, stubs, typelibs, iids, depending on what IDL provides), but redirecting it all to /dev/null.
Well, I think it sounds very much an ad-hoc solution to solve a problem for which we have all the necessary tools already with winetest.
I also believe that having a builtin midl.exe, command-line compatible with native midl.exe, may be interesting for some use cases. I intend to make it as much compatible as the basic tests will require it to be, but it could be later extended.