aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/gdb.dap/type_check.exp9
-rw-r--r--gdb/testsuite/gdb.dap/type_check.py2
2 files changed, 10 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.dap/type_check.exp b/gdb/testsuite/gdb.dap/type_check.exp
index 346b4ba..441588e 100644
--- a/gdb/testsuite/gdb.dap/type_check.exp
+++ b/gdb/testsuite/gdb.dap/type_check.exp
@@ -26,4 +26,11 @@ set remote_python_file \
[gdb_remote_download host ${srcdir}/${subdir}/${gdb_test_file_name}.py]
gdb_test_no_output "source ${remote_python_file}" "load python file"
-gdb_test "python check_everything()" OK "type checker"
+gdb_test_multiple "python check_everything()" "type checker" {
+ -re -wrap "OK" {
+ pass $gdb_test_name
+ }
+ -re -wrap "UNSUPPORTED" {
+ unsupported $gdb_test_name
+ }
+}
diff --git a/gdb/testsuite/gdb.dap/type_check.py b/gdb/testsuite/gdb.dap/type_check.py
index 1fdb595..ec4982c 100644
--- a/gdb/testsuite/gdb.dap/type_check.py
+++ b/gdb/testsuite/gdb.dap/type_check.py
@@ -94,3 +94,5 @@ def check_everything():
check_map()
check_opt()
print("OK")
+ else:
+ print("UNSUPPORTED")