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:
parent
587a4cb278
commit
97b8348086
|
@ -156,7 +156,7 @@ 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%
|
||||||
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%
|
set PATH=%OLD_PATH%
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
|
@ -45,6 +45,6 @@ if [ ! -d "${SCRIPT_DIR}/src/cmd/${TOOL}" ]; then
|
||||||
show_usage
|
show_usage
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pushd "${SCRIPT_DIR}/src" > /dev/null
|
pushd "${SCRIPT_DIR}/.." > /dev/null
|
||||||
go run "./cmd/${TOOL}" "${@:2}"
|
go run "${SCRIPT_DIR}/src/cmd/${TOOL}" "${@:2}"
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
Loading…
Reference in New Issue