test: make prerequisite lanes fail honestly
This commit is contained in:
parent
dfc841b779
commit
6faeb4a103
113 changed files with 424 additions and 336 deletions
|
|
@ -123,7 +123,7 @@ public sealed class FramePacingControllerTests
|
|||
public void Windows_high_resolution_timer_arms_and_disposes_its_handle()
|
||||
{
|
||||
if (!OperatingSystem.IsWindowsVersionAtLeast(10, 0, 17134))
|
||||
return;
|
||||
throw new PlatformNotSupportedException("Lane=Windows requires a Windows host.");
|
||||
|
||||
using var timer = WindowsHighResolutionFramePacingWaiter.Create();
|
||||
timer.Wait(1, System.Diagnostics.Stopwatch.Frequency);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue