tests: remove dot after PASS|FAIL
That dot does not belong here, just stands in the way when parsing. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
37f9dc5c2d
commit
a279403c47
2 changed files with 4 additions and 4 deletions
|
@ -54,7 +54,7 @@ class Test(Harness):
|
|||
RUN_FAILED = "PROJECT EXECUTION FAILED"
|
||||
|
||||
def handle(self, line):
|
||||
result = re.compile("(PASS|FAIL) - test_(.*).")
|
||||
result = re.compile("(PASS|FAIL) - test_(.*)")
|
||||
match = result.match(line)
|
||||
if match:
|
||||
self.tests[match.group(2)] = match.group(1)
|
||||
|
|
|
@ -80,11 +80,11 @@
|
|||
#define _TC_END_RESULT(result, func) \
|
||||
do { \
|
||||
if ((result) == TC_PASS) { \
|
||||
TC_END(result, "%s - %s.\n", PASS, func); \
|
||||
TC_END(result, "%s - %s\n", PASS, func); \
|
||||
} else if ((result) == TC_FAIL) { \
|
||||
TC_END(result, "%s - %s.\n", FAIL, func); \
|
||||
TC_END(result, "%s - %s\n", FAIL, func); \
|
||||
} else { \
|
||||
TC_END(result, "%s - %s.\n", SKIP, func); \
|
||||
TC_END(result, "%s - %s\n", SKIP, func); \
|
||||
} \
|
||||
PRINT_LINE; \
|
||||
} while (0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue