mirror of
https://github.com/espressif/mbedtls.git
synced 2026-08-16 16:37:47 +00:00
ssl-opt.sh: Don't affect the order at which functions are printed
When adding the LIST_TESTS option, print_name can be called before checking if the test case should be excluded or not. Change this back to its previous state while still taking into account the LIST_TESTS option. Signed-off-by: Tomás González <[email protected]>
This commit is contained in:
+6
-6
@@ -1594,18 +1594,18 @@ run_test() {
|
||||
NAME="$1"
|
||||
shift 1
|
||||
|
||||
print_name "$NAME"
|
||||
|
||||
if [ "$LIST_TESTS" -gt 0 ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
if is_excluded "$NAME"; then
|
||||
SKIP_NEXT="NO"
|
||||
# There was no request to run the test, so don't record its outcome.
|
||||
return
|
||||
fi
|
||||
|
||||
print_name "$NAME"
|
||||
|
||||
if [ "$LIST_TESTS" -gt 0 ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
# Do we only run numbered tests?
|
||||
if [ -n "$RUN_TEST_NUMBER" ]; then
|
||||
case ",$RUN_TEST_NUMBER," in
|
||||
|
||||
Reference in New Issue
Block a user