mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-26 03:40:26 +00:00
In NOT_SUPPORTED test case descriptions, show what is not supported
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
ae3a1008b7
commit
d79e3b92fa
@ -335,6 +335,11 @@ class OpFail:
|
|||||||
#pylint: disable=too-many-arguments,too-many-locals
|
#pylint: disable=too-many-arguments,too-many-locals
|
||||||
tc = test_case.TestCase()
|
tc = test_case.TestCase()
|
||||||
pretty_alg = re.sub(r'PSA_ALG_', r'', alg.expression)
|
pretty_alg = re.sub(r'PSA_ALG_', r'', alg.expression)
|
||||||
|
if reason == self.Reason.NOT_SUPPORTED:
|
||||||
|
short_deps = [re.sub(r'PSA_WANT_ALG_', r'', dep)
|
||||||
|
for dep in not_deps]
|
||||||
|
pretty_reason = '!' + '&'.join(sorted(short_deps))
|
||||||
|
else:
|
||||||
pretty_reason = reason.name.lower()
|
pretty_reason = reason.name.lower()
|
||||||
if kt:
|
if kt:
|
||||||
key_type = kt.expression
|
key_type = kt.expression
|
||||||
|
Loading…
x
Reference in New Issue
Block a user