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 2b50c651da
commit 14e052fd7c

View File

@ -174,7 +174,7 @@ get_options() {
# if you have to modify option, --list-test-case # if you have to modify option, --list-test-case
--list-test-case) --list-test-case)
list_test_case list_test_case
exit 0 exit $?
;; ;;
-h|--help) -h|--help)
print_usage print_usage