mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-30 07:24:18 +01:00
Fix curve-dependency test
This commit is contained in:
parent
75df902740
commit
6657b8da3b
@ -23,6 +23,8 @@ sub abort {
|
|||||||
|
|
||||||
for my $curve (@curves) {
|
for my $curve (@curves) {
|
||||||
system( "cp $config_h.bak $config_h" ) and die "$config_h not restored\n";
|
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;
|
system( "make clean" ) and die;
|
||||||
|
|
||||||
print "\n******************************************\n";
|
print "\n******************************************\n";
|
||||||
@ -32,7 +34,7 @@ for my $curve (@curves) {
|
|||||||
system( "scripts/config.pl unset $curve" )
|
system( "scripts/config.pl unset $curve" )
|
||||||
and abort "Failed to disable $curve\n";
|
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( "cd tests && make" ) and abort "Failed to build tests: $curve\n";
|
||||||
system( "make test" ) and abort "Failed test suite: $curve\n";
|
system( "make test" ) and abort "Failed test suite: $curve\n";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user