mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-17 02:43:26 +00: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:
parent
c3cd410acf
commit
3c170d3298
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user