diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2024-04-15 17:07:50 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-04-15 21:01:19 -0700 |
commit | 7b3b303c738bcaa644693f21c7a06ca029f2ed28 (patch) | |
tree | 41ac0f29304f3207b674e78db17b3d592b068afd | |
parent | 3ae92547303e2fe42dfdea3a4c739eb773a9f0ca (diff) | |
download | meta-openembedded-7b3b303c738bcaa644693f21c7a06ca029f2ed28.tar.gz |
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 <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/c-ares/c-ares/run-ptest | 6 |
1 files changed, 1 insertions, 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 46572111b..66ffd5388 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 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | ./arestest --gtest_filter=-*.Live* --gtest_print_time=0 | sed -E '/^\[ RUN/d ; s/\[ OK \]/PASS: / ; s/\[ DISABLED \]/SKIP: / ; s/\[ FAILED \]/FAIL: /' | ||
2 | 3 | ||
3 | if ./arestest --gtest_filter=-*.Live*; then | ||
4 | echo "PASS: c-ares" | ||
5 | else | ||
6 | echo "FAIL: c-ares" | ||
7 | fi | ||