kokoro: Fix MSL validation

PATH was overwritten immediately after adding the metal shader compiler.

Fixed: tint:1700
Change-Id: Iab5b74dbed9a20aa068678839fbc2ff1fa268d9a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/116299
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
Ben Clayton 2023-01-10 22:03:21 +00:00 committed by Dawn LUCI CQ
parent 54264d3037
commit 1efdb66c11
1 changed files with 0 additions and 2 deletions

View File

@ -151,8 +151,6 @@ cd /d %SRC_DIR% || goto :error
rem Run tests with DXC, FXC and Metal validation rem Run tests with DXC, FXC and Metal validation
set OLD_PATH=%PATH% set OLD_PATH=%PATH%
set PATH=C:\Program Files\Metal Developer Tools\macos\bin;%PATH% set PATH=C:\Program Files\Metal Developer Tools\macos\bin;%PATH%
where metal.exe
set PATH=%DXC_PATH%;%D3DCOMPILER_PATH%;%OLD_PATH%
call git bash -- ./test/tint/test-all.sh ../dawn-build/tint.exe --verbose || goto :error call git bash -- ./test/tint/test-all.sh ../dawn-build/tint.exe --verbose || goto :error
set PATH=%OLD_PATH% set PATH=%OLD_PATH%
@echo off @echo off