mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 23:56:16 +00:00
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:
committed by
Dawn LUCI CQ
parent
93df967003
commit
e214a130dd
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user