Adapted .function files and .data files to new test framework

Changes include:
 - Integers marked with '#' in the .function files.
 - Strings should have "" in .data files.
 - String comparison instead of preprocessor-like replace for e.g. '=='
 - Params and variables cannot have the same name in .function files
This commit is contained in:
Paul Bakker 2013-08-16 13:38:47 +02:00
parent 1934318dce
commit dbd443dca6
33 changed files with 793 additions and 741 deletions

View file

@ -7,7 +7,7 @@ depends_on:POLARSSL_BASE64_C
END_DEPENDENCIES
BEGIN_CASE
base64_encode:src_string:dst_string:dst_buf_size:result
base64_encode:src_string:dst_string:#dst_buf_size:#result
{
unsigned char src_str[1000];
unsigned char dst_str[1000];
@ -26,7 +26,7 @@ base64_encode:src_string:dst_string:dst_buf_size:result
END_CASE
BEGIN_CASE
base64_decode:src_string:dst_string:result
base64_decode:src_string:dst_string:#result
{
unsigned char src_str[1000];
unsigned char dst_str[1000];