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 <noreply+kokoro@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
Ben Clayton 2022-11-21 13:03:05 +00:00 committed by Dawn LUCI CQ
parent fcac2f8304
commit 8bc64636cf
1 changed files with 4 additions and 0 deletions

View File

@ -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)
}