https://bugs.winehq.org/show_bug.cgi?id=52075
--- Comment #3 from Rémi Bernon rbernon@codeweavers.com --- I think it'd be better to have a failure when submitting a patch that uses an API that is missing on a Windows version we support. And if the tests don't make sense without the API, they should explicitly skip them.
Otherwise we could very well add tests to a file that isn't actually tested on Win7, thinking that it is and assuming the tests are passing as the testbot doesn't report any error. Or like here, start using an API that makes the whole tests to be silently skipped, possibly ending up in a situation where if the tests were run they would fail in a way it's hard to later fix on Win7.