mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-14 20:01:00 +03:00
Update unit tests for change in test suites code generator
Code generator has been modified to generate case statements for dependency checks and expression checks. This commit updates the unit tests accordingly.
This commit is contained in:
committed by
Mohammad Azim Khan
parent
b1c2d0f946
commit
d61b837fac
tests/scripts
@ -429,11 +429,11 @@ def gen_dep_check(dep_id, dep):
|
||||
dep_check = '''
|
||||
case {id}:
|
||||
{{
|
||||
#if {noT}defined({macro})
|
||||
#if {noT}defined({macro})
|
||||
ret = DEPENDENCY_SUPPORTED;
|
||||
#else
|
||||
#else
|
||||
ret = DEPENDENCY_NOT_SUPPORTED;
|
||||
#endif
|
||||
#endif
|
||||
}}
|
||||
break;'''.format(noT=noT, macro=dep, id=dep_id)
|
||||
return dep_check
|
||||
|
Reference in New Issue
Block a user