anchor.diff:  echo [96mTesting functionality...[0m
   
   if %use_release_config% EQU 1 (
  -    set pmtest=build\Release\PresentMonTests-%version%-x64.exe
  +    set test_config=Release
   ) else (
  -    set pmtest=build\Debug\PresentMonTests-%version%-x64.exe
  +    set test_config=Debug
  +)
  +
  +if %do_realtime_tests% EQU 1 (
  +    echo [90mRealtime collection tests...[0m
  +    call :realtime_test "DX12" "DXGI"
  +    call :realtime_test "DX9"  "D3D9"
  +    call :realtime_test "VK"   "Other"
  +    echo.
   )
   
   if %do_default_gtests% EQU 1 (
  -    call :start_target_app
  +    call :start_target_app /width=320 /height=240 /api=dx12
   
       for %%a in (%test_platforms%) do for %%b in (%build_configs%) do (
           call :gtests --presentmon="%pmdir%\build\%%b\PresentMon-%version%-%%a.exe" --golddir="%pmdir%\Tests\Gold"
  
positive.code: set use_debug_config=1
  set use_release_config=1
  set do_build=1
  set do_default_gtests=1
  set errorcount=0
  :args_begin
  
negative.code: :start_target_app
      set started_target_app_pid=0
  
      call :is_app_running /fi "imagename eq PresentBench.exe"
      if %errorlevel% NEQ 0 exit /b 1
  
      if not exist "%~dp0PresentBench.exe" (
          echo [31mwarning: dependency not found: %~dp0PresentBench.exe[0m
  