Am 20.02.25 um 07:02 schrieb Thomas Huth:
On 19/02/2025 20.23, Philippe Mathieu-Daudé wrote:
@@ -62,6 +62,10 @@ class PluginKernelNormal(PluginKernelBase):
('https://storage.tuxboot.com/20230331/arm64/Image'),
'ce95a7101a5fecebe0fe630deee6bd97b32ba41bc8754090e9ad8961ea8674c7')
+ def plugin_file(self, plugin_name):
+ suffix = dso_suffix()
+ return f'tests/tcg/plugins/{plugin_name}.{suffix}'
Since you're adding support for the .DLL suffix on Windows, too: Maybe
better to use os.path.join() for Windows that doesn't use the slash as
path separator?
Thomas
That could be done, but should not be necessary.
Microsoft supports the slash as path separator, too, since its earliest
MSDOS, and it is still supported for Windows.
But of course it might be confusing for many people to see a mix of
different path separators in debug messages or log files.
Stefan