From 7b3b303c738bcaa644693f21c7a06ca029f2ed28 Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Mon, 15 Apr 2024 17:07:50 +0800 Subject: c-ares: Improve the ptest output Before the patch: # ./run-ptest [snip] [ DISABLED ] LibraryTest.DISABLED_ParseAReplyVariantCnameLast [ RUN ] LibraryTest.ParseAReplyErrors [ OK ] LibraryTest.ParseAReplyErrors (4 ms) [ RUN ] LibraryTest.ParseAReplyAllocFail [ OK ] LibraryTest.ParseAReplyAllocFail (0 ms) [snip] After the patch: # ./run-ptest [snip] SKIP: LibraryTest.DISABLED_ParseAReplyVariantCnameLast PASS: LibraryTest.ParseAReplyErrors PASS: LibraryTest.ParseAReplyAllocFail [snip] Signed-off-by: Mingli Yu Signed-off-by: Khem Raj --- meta-oe/recipes-support/c-ares/c-ares/run-ptest | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/meta-oe/recipes-support/c-ares/c-ares/run-ptest b/meta-oe/recipes-support/c-ares/c-ares/run-ptest index 46572111b5..66ffd53889 100644 --- a/meta-oe/recipes-support/c-ares/c-ares/run-ptest +++ b/meta-oe/recipes-support/c-ares/c-ares/run-ptest @@ -1,7 +1,3 @@ #!/bin/sh +./arestest --gtest_filter=-*.Live* --gtest_print_time=0 | sed -E '/^\[ RUN/d ; s/\[ OK \]/PASS: / ; s/\[ DISABLED \]/SKIP: / ; s/\[ FAILED \]/FAIL: /' -if ./arestest --gtest_filter=-*.Live*; then - echo "PASS: c-ares" -else - echo "FAIL: c-ares" -fi -- cgit v1.2.3-54-g00ecf