mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-05-12 21:42:15 +00:00
Fix usage of {curves,key-exchanges}.pl in all.sh
This commit is contained in:
parent
57176e5cd5
commit
364ece3d90
|
@ -497,8 +497,7 @@ if_build_succeeded env OPENSSL_CMD="$OPENSSL_LEGACY" GNUTLS_CLI="$GNUTLS_LEGACY_
|
||||||
|
|
||||||
msg "test/build: curves.pl (gcc)" # ~ 4 min
|
msg "test/build: curves.pl (gcc)" # ~ 4 min
|
||||||
cleanup
|
cleanup
|
||||||
cmake -D CMAKE_BUILD_TYPE:String=Debug .
|
tests/scripts/curves.pl
|
||||||
if_build_succeeded tests/scripts/curves.pl
|
|
||||||
|
|
||||||
msg "test/build: depends-hashes.pl (gcc)" # ~ 2 min
|
msg "test/build: depends-hashes.pl (gcc)" # ~ 2 min
|
||||||
cleanup
|
cleanup
|
||||||
|
@ -506,8 +505,7 @@ tests/scripts/depends-hashes.pl
|
||||||
|
|
||||||
msg "test/build: key-exchanges (gcc)" # ~ 1 min
|
msg "test/build: key-exchanges (gcc)" # ~ 1 min
|
||||||
cleanup
|
cleanup
|
||||||
cmake -D CMAKE_BUILD_TYPE:String=Check .
|
tests/scripts/key-exchanges.pl
|
||||||
if_build_succeeded tests/scripts/key-exchanges.pl
|
|
||||||
|
|
||||||
msg "build: Unix make, -Os (gcc)" # ~ 30s
|
msg "build: Unix make, -Os (gcc)" # ~ 30s
|
||||||
cleanup
|
cleanup
|
||||||
|
|
|
@ -1,10 +1,28 @@
|
||||||
#!/usr/bin/perl
|
#!/usr/bin/perl
|
||||||
|
|
||||||
# test dependencies on individual curves in tests
|
# curves.pl
|
||||||
# - build
|
#
|
||||||
# - run test suite
|
# Copyright (c) 2014-2016, ARM Limited, All Rights Reserved
|
||||||
|
#
|
||||||
|
# Purpose
|
||||||
|
#
|
||||||
|
# To test the code dependencies on individual curves in each test suite. This
|
||||||
|
# is a verification step to ensure we don't ship test suites that do not work
|
||||||
|
# for some build options.
|
||||||
|
#
|
||||||
|
# The process is:
|
||||||
|
# for each possible curve
|
||||||
|
# build the library and test suites with the curve disabled
|
||||||
|
# execute the test suites
|
||||||
|
#
|
||||||
|
# And any test suite with the wrong dependencies will fail.
|
||||||
#
|
#
|
||||||
# Usage: tests/scripts/curves.pl
|
# Usage: tests/scripts/curves.pl
|
||||||
|
#
|
||||||
|
# This script should be executed from the root of the project directory.
|
||||||
|
#
|
||||||
|
# For best effect, run either with cmake disabled, or cmake enabled in a mode
|
||||||
|
# that includes -Werror.
|
||||||
|
|
||||||
use warnings;
|
use warnings;
|
||||||
use strict;
|
use strict;
|
||||||
|
|
|
@ -20,6 +20,9 @@
|
||||||
# Usage: tests/scripts/depends-hashes.pl
|
# Usage: tests/scripts/depends-hashes.pl
|
||||||
#
|
#
|
||||||
# This script should be executed from the root of the project directory.
|
# This script should be executed from the root of the project directory.
|
||||||
|
#
|
||||||
|
# For best effect, run either with cmake disabled, or cmake enabled in a mode
|
||||||
|
# that includes -Werror.
|
||||||
|
|
||||||
use warnings;
|
use warnings;
|
||||||
use strict;
|
use strict;
|
||||||
|
|
|
@ -1,8 +1,25 @@
|
||||||
#!/usr/bin/perl
|
#!/usr/bin/perl
|
||||||
|
|
||||||
# test that all configs with only a single key exchange enabled build
|
# key-exchanges.pl
|
||||||
|
#
|
||||||
|
# Copyright (c) 2015-2017, ARM Limited, All Rights Reserved
|
||||||
|
#
|
||||||
|
# Purpose
|
||||||
|
#
|
||||||
|
# To test the code dependencies on individual key exchanges in the SSL module.
|
||||||
|
# is a verification step to ensure we don't ship SSL code that do not work
|
||||||
|
# for some build options.
|
||||||
|
#
|
||||||
|
# The process is:
|
||||||
|
# for each possible key exchange
|
||||||
|
# build the library with all but that key exchange disabled
|
||||||
#
|
#
|
||||||
# Usage: tests/scripts/key-exchanges.pl
|
# Usage: tests/scripts/key-exchanges.pl
|
||||||
|
#
|
||||||
|
# This script should be executed from the root of the project directory.
|
||||||
|
#
|
||||||
|
# For best effect, run either with cmake disabled, or cmake enabled in a mode
|
||||||
|
# that includes -Werror.
|
||||||
|
|
||||||
use warnings;
|
use warnings;
|
||||||
use strict;
|
use strict;
|
||||||
|
|
Loading…
Reference in a new issue