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:
Anas Nashif 2018-04-08 11:23:19 -05:00 committed by Anas Nashif
commit a279403c47
2 changed files with 4 additions and 4 deletions

View file

@ -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)

View file

@ -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)