fix: run.bat 删除旧截图避免假通过
- 运行前删除旧的 screenshot.ppm - 确保测试使用实际生成的新截图
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
@echo off
|
||||
cd /d "%~dp0..\..\..\..\build\tests\D3D12\Debug"
|
||||
if exist "D3D12_engine_log.txt" del "D3D12_engine_log.txt"
|
||||
if exist "screenshot.ppm" del "screenshot.ppm"
|
||||
D3D12.exe
|
||||
python "%~dp0compare_ppm.py" "screenshot.ppm" "GT.ppm" 5
|
||||
pause
|
||||
Reference in New Issue
Block a user