Disable a couple SpvParserCFGTests preventing google3 roll SPIRV-Tools was updated to fix a typo (preceeded->preceded) and the string matching of these tests started failing. Bug: tint:1406 Change-Id: If7affbf2e34e4f8d3e929c38ecdec7e3a624ee19 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/78722 Reviewed-by: Ben Clayton <bclayton@google.com> Auto-Submit: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
diff --git a/src/reader/spirv/function_cfg_test.cc b/src/reader/spirv/function_cfg_test.cc index bf30b47..8911f6f 100644 --- a/src/reader/spirv/function_cfg_test.cc +++ b/src/reader/spirv/function_cfg_test.cc
@@ -2249,7 +2249,10 @@ << assembly; } -TEST_F(SpvParserCFGTest, ComputeBlockOrder_Loop_BodyHasSwitchContinueBreak) { +// TODO(crbug.com/tint/1406): Re-enable with the typo fix (preceeded->preceded) +// once that typo fix is rolled in Tint's SPIRV-Tools. +TEST_F(SpvParserCFGTest, + DISABLED_ComputeBlockOrder_Loop_BodyHasSwitchContinueBreak) { auto assembly = CommonTypes() + R"( %100 = OpFunction %void None %voidfn @@ -2419,7 +2422,9 @@ EXPECT_THAT(fe.block_order(), ElementsAre(10, 20, 30, 50, 99)); } -TEST_F(SpvParserCFGTest, ComputeBlockOrder_Loop_Continue_SwitchBreak) { +// TODO(crbug.com/tint/1406): Re-enable with the typo fix (preceeded->preceded) +// once that typo fix is rolled in Tint's SPIRV-Tools. +TEST_F(SpvParserCFGTest, DISABLED_ComputeBlockOrder_Loop_Continue_SwitchBreak) { auto assembly = CommonTypes() + R"( %100 = OpFunction %void None %voidfn