From 32d9293dcf2875176d0d2288f1c51a9424a30dc7 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Wed, 21 Mar 2018 10:14:05 +0100 Subject: [PATCH] all.sh: add --no-yotta for compatibility with later Mbed TLS Allow scripts to run all.sh --no-yotta unconditionally. --no-yotta just happens to be a no-op in 2.1 since 2.1's all.sh doesn't do anything with Yotta. --- tests/scripts/all.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 34954eaa0..5c9ea8d3d 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -116,6 +116,7 @@ General options: --no-force Refuse to overwrite modified files (default). --no-keep-going Stop at the first error (default). --no-memory No additional memory tests (default). + --no-yotta Ignored for compatibility with other Mbed TLS versions. --out-of-source-dir= Directory used for CMake out-of-source build tests. --random-seed Use a random seed value for randomized tests (default). -r|--release-test Run this script in release mode. This fixes the seed value to 1. @@ -202,6 +203,7 @@ while [ $# -gt 0 ]; do --no-force) FORCE=0;; --no-keep-going) KEEP_GOING=0;; --no-memory) MEMORY=0;; + --no-yotta) :;; # No Yotta support anyway, so just ignore --no-yotta --openssl) shift; OPENSSL="$1";; --openssl-legacy) shift; OPENSSL_LEGACY="$1";; --out-of-source-dir) shift; OUT_OF_SOURCE_DIR="$1";;