mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Prevent fatal failures on delete failures
This commit is contained in:
@ -62,7 +62,16 @@ namespace osu.Game.Tests.Visual
|
||||
}
|
||||
|
||||
if (localStorage.IsValueCreated)
|
||||
localStorage.Value.DeleteDirectory(".");
|
||||
{
|
||||
try
|
||||
{
|
||||
localStorage.Value.DeleteDirectory(".");
|
||||
}
|
||||
catch
|
||||
{
|
||||
// we don't really care if this fails; it will just leave folders lying around from test runs.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected override ITestCaseTestRunner CreateRunner() => new OsuTestCaseTestRunner();
|
||||
|
Reference in New Issue
Block a user