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

@ -22,7 +22,7 @@ depends_on:POLARSSL_DEBUG_C:POLARSSL_BIGNUM_C:POLARSSL_SSL_TLS_C:POLARSSL_RSA_C
END_DEPENDENCIES
BEGIN_CASE
debug_print_crt:crt_file:file:line:prefix:result_str
debug_print_crt:crt_file:file:#line:prefix:result_str
{
x509_cert crt;
ssl_context ssl;
@ -45,7 +45,7 @@ debug_print_crt:crt_file:file:line:prefix:result_str
END_CASE
BEGIN_CASE
debug_print_mpi:radix:value:file:line:prefix:result_str
debug_print_mpi:#radix:value:file:#line:prefix:result_str
{
ssl_context ssl;
struct buffer_data buffer;