From 95fd1400bc2cdb0f74896213d2f2bcc8542054d8 Mon Sep 17 00:00:00 2001 From: ssdfasd <2156608475@qq.com> Date: Sun, 15 Mar 2026 18:31:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20run.bat=20=E5=88=A0=E9=99=A4=E6=97=A7?= =?UTF-8?q?=E6=88=AA=E5=9B=BE=E9=81=BF=E5=85=8D=E5=81=87=E9=80=9A=E8=BF=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 运行前删除旧的 screenshot.ppm - 确保测试使用实际生成的新截图 --- tests/D3D12/run.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/D3D12/run.bat b/tests/D3D12/run.bat index 1e20cd1a..00d71165 100644 --- a/tests/D3D12/run.bat +++ b/tests/D3D12/run.bat @@ -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 \ No newline at end of file