Add initial test driver conforming to the new spec

Also adjusted the different makefiles accordingly.
Note: driver lifetime is currently statically defined in the header, but
this will be replaced in the future based on autogeneration of lifetime
values by a script (TBD)

Signed-off-by: Steven Cooreman <steven.cooreman@silabs.com>
This commit is contained in:
Steven Cooreman 2020-07-16 20:26:18 +02:00
parent 4b5aba8b91
commit a70d588f74
8 changed files with 268 additions and 5 deletions

View file

@ -39,6 +39,7 @@ my $psa_header_dir = 'include/psa';
my $source_dir = 'library';
my $test_source_dir = 'tests/src';
my $test_header_dir = 'tests/include/test';
my $test_drivers_header_dir = 'tests/include/drivers';
my @thirdparty_header_dirs = qw(
3rdparty/everest/include/everest
@ -116,6 +117,7 @@ sub check_dirs {
&& -d $source_dir
&& -d $test_source_dir
&& -d $test_header_dir
&& -d $test_drivers_header_dir
&& -d $programs_dir;
}
@ -262,6 +264,7 @@ sub main {
$mbedtls_header_dir,
$psa_header_dir,
$test_header_dir,
$test_drivers_header_dir,
$source_dir,
@thirdparty_header_dirs,
);