From 4bb3d81479c1bbe2c6fc7b5234d0f1b6897be117 Mon Sep 17 00:00:00 2001 From: SendaoYan Date: Thu, 6 Mar 2025 01:41:22 +0000 Subject: [PATCH] 8351138: Running subset of gtests gets error printing result information Reviewed-by: erikj --- make/RunTests.gmk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make/RunTests.gmk b/make/RunTests.gmk index 44d387080df..37193fb8171 100644 --- a/make/RunTests.gmk +++ b/make/RunTests.gmk @@ -543,8 +543,8 @@ define SetupRunGtestTestBody print arr[0]; \ found=1; \ } \ - if (!found) { print 0; } \ - }' \ + } \ + END { if (!found) print 0; }' \ $$($1_RESULT_FILE))) \ $$(eval $1_FAILED := $$(shell $$(AWK) '/\[ FAILED \] .* tests?, \ listed below/ { print $$$$4 }' $$($1_RESULT_FILE))) \