compat.sh: return $? in option --list-test-case to handle error case

Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
Yanray Wang
2023-03-06 19:37:07 +08:00
parent 67fe2644ae
commit 8aba83bf22

View File

@@ -194,7 +194,7 @@ get_options() {
# if you have to modify option, --list-test-case
--list-test-case)
list_test_case
exit 0
exit $?
;;
--outcome-file)
shift; MBEDTLS_TEST_OUTCOME_FILE=$1