aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/test_art_target.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_art_target.sh b/tests/test_art_target.sh
index e8f5ab50..06d69606 100755
--- a/tests/test_art_target.sh
+++ b/tests/test_art_target.sh
@@ -60,6 +60,7 @@ declare -A options_format=(
["fvp"]="false"
["isa-features"]=""
["dump-cfg"]=""
+ ["gdb"]="false"
["gdb-dex2oat"]="false"
["gdb-dex2oat-args"]=""
)
@@ -132,6 +133,11 @@ validate_options() {
log E "Can only dump .cfg for a single test."
exit 1
fi
+
+ if ${options["gdb"]} || ${options["gdb-dex2oat"]}; then
+ log E "Debugging is not supported for target tests."
+ exit 1
+ fi
}
usage() {