mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-12-24 17:41:01 +03:00
Print suite name when listing test cases
When a test script has multiple suites, it is not true to determine the suite name from the file name of the script. We need the script to list the suite name for every test cases. Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
This commit is contained in:
@@ -125,7 +125,7 @@ print_usage() {
|
||||
print_test_case() {
|
||||
for i in $3; do
|
||||
uniform_title $1 $2 $i
|
||||
echo $TITLE
|
||||
echo "compat;$TITLE"
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
@@ -1620,7 +1620,7 @@ run_test() {
|
||||
fi
|
||||
|
||||
if [ "$LIST_TESTS" -gt 0 ]; then
|
||||
printf "%s\n" "$NAME"
|
||||
printf "%s\n" "${TEST_SUITE_NAME:-ssl-opt};$NAME"
|
||||
return
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user