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:
Pengyu Lv 2023-11-29 13:53:34 +08:00
parent c3cd410acf
commit 3c170d3298
2 changed files with 2 additions and 2 deletions

View File

@ -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
}

View File

@ -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