1
0
mirror of https://github.com/ARMmbed/mbedtls.git synced 2025-06-27 15:53:57 +08:00

Adapt run-test-suites.pl

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
Ronald Cron 2024-07-16 10:19:44 +02:00
parent 3486950893
commit 72d1888e13

View File

@ -59,8 +59,15 @@ my $skip_re =
')(\z|\.)' ); ')(\z|\.)' );
# in case test suites are linked dynamically # in case test suites are linked dynamically
$ENV{'LD_LIBRARY_PATH'} = '../library'; if (-d '../../tf-psa-crypto') {
$ENV{'DYLD_LIBRARY_PATH'} = '../library'; $ENV{'LD_LIBRARY_PATH'} = '../../library';
$ENV{'DYLD_LIBRARY_PATH'} = '../../library';
}
else
{
$ENV{'LD_LIBRARY_PATH'} = '../library';
$ENV{'DYLD_LIBRARY_PATH'} = '../library';
}
my $prefix = $^O eq "MSWin32" ? '' : './'; my $prefix = $^O eq "MSWin32" ? '' : './';