diff options
author | William Lyu <William.Lyu@windriver.com> | 2024-04-02 06:33:58 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-04-02 17:54:04 -0700 |
commit | 77fcf5acd7f9839218d2f26c5e1ffbca405776cc (patch) | |
tree | 91f09b014c112ff88179ee0fc4d9ca3af8d9648f /meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python | |
parent | 5c2de83cc21c874b61672f7a97ba7720ce9fa599 (diff) | |
download | meta-openembedded-77fcf5acd7f9839218d2f26c5e1ffbca405776cc.tar.gz |
nftables: Fix ptest output format issues
Fix the following ptest output format issues:
- For "sed" command, change "-e" option to "-E" option. I believe the
previous "-e" option is a typo based on the manual page of "sed":
-e script, --expression=script
add the script to the commands to be executed
"-E" option, on the other hand, makes "sed" "use extended regular
expressions in the script" according to the manual page.
- The test result summary line is being treated as both a passed
testcase and a failed testcase due to this line containing substring
"[OK]" and "[FAILED]". The following is a sample test result summary
line:
I: results: [OK] 379 [SKIPPED] 1 [FAILED] 0 [TOTAL] 380
The fix is to change run-ptest to look for "I: [OK]" and
"W: [FAILED]" when determining which lines correspond to
passed/failed testcases.
- Previously, only "W: [FAILED]" out of the following testcase failure
prompts is parsed:
W: [CHK DUMP]
W: [VALGRIND]
W: [TAINTED]
W: [DUMP FAIL]
W: [FAILED]
Adding parsing for all testcase failure prompts.
Signed-off-by: William Lyu <William.Lyu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python')
0 files changed, 0 insertions, 0 deletions