Run substitute_overrides for all tests.

This CL updates all of the integration tests to run the substitute_override
transform where needed. The test runner is updated to match comments in
the spvasm files as well as the wgsl files.

Bug: tint:1155
Change-Id: I8187d426970d056d744e530ed6447e4ec69db5f4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101661
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
dan sinclair
2022-09-09 16:04:39 +00:00
committed by Dawn LUCI CQ
parent 93df967003
commit e214a130dd
19 changed files with 33 additions and 36 deletions

View File

@@ -767,7 +767,7 @@ func invoke(wd, exe string, args ...string) (ok bool, output string) {
return true, str
}
var reFlags = regexp.MustCompile(` *\/\/ *flags:(.*)\n`)
var reFlags = regexp.MustCompile(`^ *(?:\/\/|;) *flags:(.*) *\n`)
// parseFlags looks for a `// flags:` header at the start of the file with the
// given path, returning each of the space delimited tokens that follow for the