https://bugs.winehq.org/show_bug.cgi?id=55688
--- Comment #7 from Hans Leidekker hans@meelstraat.net --- (In reply to François Gouget from comment #6)
(In reply to Rémi Bernon from comment #3)
I think we should be able to check in the tests whether the default "C:\windows\system32\gm.dls" has been found and successfully loaded,
As far as I can tell Wine does not have a gm.dls file. So wouldn't that cause the test to be systematically skipped in Wine, including on Linux when the sf2 files are available? To avoid that it seems like we would need the dummy gm.dls builtin you mentioned.
You could adopt the same strategy as winemono/winegecko: check standard Unix paths first and if not found there, install it (on demand) in c:\windows\system32.