diff --git a/src/lib/support/tests/BUILD.gn b/src/lib/support/tests/BUILD.gn index 99cc2801355119..866fd6391feabd 100644 --- a/src/lib/support/tests/BUILD.gn +++ b/src/lib/support/tests/BUILD.gn @@ -60,7 +60,12 @@ chip_test_suite("tests") { test_sources += [ "TestCHIPArgParser.cpp" ] } - cflags = [ "-Wconversion" ] + cflags = [ + "-Wconversion", + + # TODO(#21255): work-around for SimpleStateMachine constructor issue. + "-Wno-error=uninitialized", + ] public_deps = [ "${chip_root}/src/credentials",