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
--list-test-case)
list_test_case
exit 0
exit $?
;;
-h|--help)
print_usage