mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-30 08:56:50 -04:00
Avoid using print_name when --list-test-cases is used
Signed-off-by: Tomás González <tomasagustin.gonzalezorlando@arm.com>
This commit is contained in:
parent
378e364c3c
commit
51cb704342
@ -879,10 +879,6 @@ print_name() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
LINE="$LINE$1"
|
LINE="$LINE$1"
|
||||||
if [ "$LIST_TESTS" -gt 0 ]; then
|
|
||||||
printf "%s\n" "$LINE"
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
|
|
||||||
printf "%s " "$LINE"
|
printf "%s " "$LINE"
|
||||||
LEN=$(( 72 - `echo "$LINE" | wc -c` ))
|
LEN=$(( 72 - `echo "$LINE" | wc -c` ))
|
||||||
@ -1601,12 +1597,13 @@ run_test() {
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
print_name "$NAME"
|
|
||||||
|
|
||||||
if [ "$LIST_TESTS" -gt 0 ]; then
|
if [ "$LIST_TESTS" -gt 0 ]; then
|
||||||
|
printf "%s\n" "$NAME"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
print_name "$NAME"
|
||||||
|
|
||||||
# Do we only run numbered tests?
|
# Do we only run numbered tests?
|
||||||
if [ -n "$RUN_TEST_NUMBER" ]; then
|
if [ -n "$RUN_TEST_NUMBER" ]; then
|
||||||
case ",$RUN_TEST_NUMBER," in
|
case ",$RUN_TEST_NUMBER," in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user