From 8bc64636cf2952cd2f45ac745797c27c689b9337 Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Mon, 21 Nov 2022 13:03:05 +0000 Subject: [PATCH] tools/run-cts: Append --data flag to node This will be required to use the new data-caching functionality provided by: https://github.com/gpuweb/cts/pull/1985 Also propagate `--verbose` down, if passed to the frontend. Change-Id: Ic436e8ed754296cec859c45bd4db703634c31ab1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/109764 Kokoro: Kokoro Reviewed-by: Antonio Maiorano Commit-Queue: Ben Clayton --- src/dawn/node/tools/src/cmd/run-cts/main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dawn/node/tools/src/cmd/run-cts/main.go b/src/dawn/node/tools/src/cmd/run-cts/main.go index a09023ef2d..09e886318c 100644 --- a/src/dawn/node/tools/src/cmd/run-cts/main.go +++ b/src/dawn/node/tools/src/cmd/run-cts/main.go @@ -615,10 +615,14 @@ func (r *runner) runServer(id int, caseIndices <-chan int, results chan<- result "placeholder-arg", // Actual arguments begin here "--gpu-provider", r.dawnNode, + "--data", filepath.Join(r.cts, "out-node", "data"), } if r.colors { args = append(args, "--colors") } + if r.verbose { + args = append(args, "--verbose") + } for _, f := range r.flags { args = append(args, "--gpu-provider-flag", f) }