From 332322785f531c0e646eaf44ac377191c2064ec4 Mon Sep 17 00:00:00 2001 From: Michael Spang Date: Thu, 15 Jun 2023 09:21:45 -0400 Subject: [PATCH] Quiet the ZAP tests (#27255) Switch from action to pw_python_action to redirect the build output from the test ZAP generation. The output will only be printed if the step fails. --- scripts/tools/zap/BUILD.gn | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/tools/zap/BUILD.gn b/scripts/tools/zap/BUILD.gn index 67dedad0fcb542..246b2dd44b3259 100644 --- a/scripts/tools/zap/BUILD.gn +++ b/scripts/tools/zap/BUILD.gn @@ -14,8 +14,11 @@ import("//build_overrides/build.gni") import("//build_overrides/chip.gni") +import("//build_overrides/pigweed.gni") -action("tests") { +import("$dir_pw_build/python.gni") + +pw_python_action("tests") { script = "test_generate.py" _stamp = "${target_gen_dir}/generate.test.passed"