test: make prerequisite lanes fail honestly
This commit is contained in:
parent
dfc841b779
commit
6faeb4a103
113 changed files with 424 additions and 336 deletions
|
|
@ -5,7 +5,6 @@ using AcDream.App.Rendering.Gpu;
|
|||
using AcDream.App.Tests.Rendering.Gpu;
|
||||
using AcDream.App.UI;
|
||||
using DatReaderWriter.Types;
|
||||
using Xunit.Sdk;
|
||||
|
||||
namespace AcDream.App.Tests.UI;
|
||||
|
||||
|
|
@ -96,7 +95,8 @@ public sealed class UiRenderContextAlphaTests
|
|||
{
|
||||
byte[]? ttf = BitmapFont.TryLoadSystemMonospaceFont();
|
||||
if (ttf is null)
|
||||
throw SkipException.ForSkip("No system TTF font found for BitmapFont construction.");
|
||||
throw new InvalidOperationException(
|
||||
"Lane=SystemFont requires a host system TTF font; see docs/release-gate.md.");
|
||||
return new BitmapFont(device, ttf, pixelHeight: 16f);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue