Fix curve-dependency test

This commit is contained in:
Manuel Pégourié-Gonnard 2015-09-17 13:46:21 +02:00
parent 75df902740
commit 6657b8da3b

View file

@ -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";