mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-16 12:21:35 +00:00
Remove duplicate tests. Use a common pattern of sanitizing, building and dumping the whole module instead of calling individual methods. There's too much internal state being tracked in the tests for my liking. Split most tests into three: * Const_* tests will check the emission of creation-time-constant expressions. * Runtime_* tests will check the emission of runtime expressions, where indexing operates with a constant index. * Dynamic_* tests will check the emission of runtime expressions, where indexing operates with a runtime index. Bug: tint:1580 Change-Id: I0f92aaaa570cbd917d2b6937c6396605c6b542c9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94333 Reviewed-by: David Neto <dneto@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>