compat.sh: uniform test description
Test case description is printed by different block of code. This causes code maintenance harder since we need to maintain two parts of code with same functionality. print_test_title is used to control test case description in compat.sh Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
parent
235469302d
commit
3fcd3a73c9
2 changed files with 15 additions and 14 deletions
|
@ -123,8 +123,8 @@ state may override this method.
|
|||
print(*compat_cmd, 'returned', str(result.returncode))
|
||||
return
|
||||
else:
|
||||
# Pattern: g->m dtls12,no TLS_DHE_PSK_WITH_AES_128_CBC_SHA\n
|
||||
m = re.findall(br'[^ogm]*((?:[ogm]->[ogm]\s*\w*.\w*\s\w*)*)\n',
|
||||
# Pattern: g->m dtls12,no TLS_DHE_PSK_WITH_AES_128_CBC_SHA .......... \n
|
||||
m = re.findall(br'[^ogm]*((?:[ogm]->[ogm]\s*\w*.\w*\s\w*)*)\s*\.*\s*\n',
|
||||
result.stdout)
|
||||
if m:
|
||||
for i in m:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue