mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-22 13:56:42 +01: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:
parent
b1c2d0f946
commit
d61b837fac
2 changed files with 116 additions and 141 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue