mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 17:48:14 +00:00
Fix curve-dependency test
This commit is contained in:
parent
75df902740
commit
6657b8da3b
1 changed files with 3 additions and 1 deletions
|
@ -23,6 +23,8 @@ sub abort {
|
|||
|
||||
for my $curve (@curves) {
|
||||
system( "cp $config_h.bak $config_h" ) and die "$config_h not restored\n";
|
||||
# depends on a specific curve
|
||||
system( "scripts/config.pl unset MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED" ) and die;
|
||||
system( "make clean" ) and die;
|
||||
|
||||
print "\n******************************************\n";
|
||||
|
@ -32,7 +34,7 @@ for my $curve (@curves) {
|
|||
system( "scripts/config.pl unset $curve" )
|
||||
and abort "Failed to disable $curve\n";
|
||||
|
||||
system( "make mbedtls" ) and abort "Failed to build lib: $curve\n";
|
||||
system( "make lib" ) and abort "Failed to build lib: $curve\n";
|
||||
system( "cd tests && make" ) and abort "Failed to build tests: $curve\n";
|
||||
system( "make test" ) and abort "Failed test suite: $curve\n";
|
||||
|
||||
|
|
Loading…
Reference in a new issue