Kokoro: Fix windows builds

The change to use `go run` over `go build` has upset the windows kokoro builds.

Use absolute paths.

Change-Id: Id9700529b3460a5ab579f82f616a95c3498c152c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/118722
Kokoro: Kokoro <noreply+kokoro@google.com>
Auto-Submit: Ben Clayton <bclayton@google.com>
Commit-Queue: James Price <jrprice@google.com>
Reviewed-by: James Price <jrprice@google.com>
This commit is contained in:
Ben Clayton 2023-02-05 10:52:57 +00:00 committed by Dawn LUCI CQ
parent 587a4cb278
commit 97b8348086
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -45,6 +45,6 @@ if [ ! -d "${SCRIPT_DIR}/src/cmd/${TOOL}" ]; then
show_usage
fi
pushd "${SCRIPT_DIR}/src" > /dev/null
go run "./cmd/${TOOL}" "${@:2}"
pushd "${SCRIPT_DIR}/.." > /dev/null
go run "${SCRIPT_DIR}/src/cmd/${TOOL}" "${@:2}"
popd > /dev/null