From be2ca0b572e765faaa9f88debda856083c73cd2b Mon Sep 17 00:00:00 2001 From: Michael Spang Date: Wed, 14 Jun 2023 15:34:02 -0400 Subject: [PATCH] Quiet the ZAP tests 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"