dawn-cmake/fuzzers
Ben Clayton 6653c13a75 Fix ast_clone_fuzzer tests
Demangle the printed AST before comparing.

Many to_str() methods on AST nodes will print the symbol numerical identifiers, which is not guaranteed to be stable between clones.
By comparing the demangled AST, these should be stable.

Fixed: chromium:1160099
Change-Id: I4e62adbccc690a1531f78dc70cef8480ed6f3f2c
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/36621
Commit-Queue: Ben Clayton <bclayton@google.com>
Commit-Queue: dan sinclair <dsinclair@chromium.org>
Auto-Submit: Ben Clayton <bclayton@google.com>
Reviewed-by: dan sinclair <dsinclair@chromium.org>
2021-01-06 14:30:11 +00:00
..
CMakeLists.txt ast: Add Module.Clone() 2020-12-01 18:04:17 +00:00
dictionary.txt fuzzers: Add dictionary 2020-11-23 21:12:45 +00:00
tint_ast_clone_fuzzer.cc Fix ast_clone_fuzzer tests 2021-01-06 14:30:11 +00:00
tint_spv_reader_fuzzer.cc Remove internal usage of Context. 2020-12-02 21:17:58 +00:00
tint_wgsl_reader_fuzzer.cc Remove internal usage of Context. 2020-12-02 21:17:58 +00:00