diff options
author | Tom Tromey <tom@tromey.com> | 2022-12-15 17:58:40 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-01-13 13:18:56 -0700 |
commit | 4b075c16ef8d28c238892acf51ec7d672f4db929 (patch) | |
tree | 87ad094caadeb6618f7ff326aaa3b0c7fa96a24e /gdb | |
parent | 362f09f16524a038b2c0dce8e1e9337120151355 (diff) | |
download | gdb-4b075c16ef8d28c238892acf51ec7d672f4db929.zip gdb-4b075c16ef8d28c238892acf51ec7d672f4db929.tar.gz gdb-4b075c16ef8d28c238892acf51ec7d672f4db929.tar.bz2 |
Use require gnat_runtime_has_debug_info
This changes some tests to use "require gnat_runtime_has_debug_info".
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/gdb.ada/dynamic-iface.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.ada/interface.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.ada/iwide.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.ada/mi_interface.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.ada/tagged.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.ada/tagged_access.exp | 5 |
6 files changed, 6 insertions, 24 deletions
diff --git a/gdb/testsuite/gdb.ada/dynamic-iface.exp b/gdb/testsuite/gdb.ada/dynamic-iface.exp index 13e9396..d4d7ba4 100644 --- a/gdb/testsuite/gdb.ada/dynamic-iface.exp +++ b/gdb/testsuite/gdb.ada/dynamic-iface.exp @@ -17,10 +17,7 @@ load_lib "ada.exp" require !skip_ada_tests -if {![gnat_runtime_has_debug_info]} { - untested "GNAT runtime debuginfo required for this test" - return -1 -} +require gnat_runtime_has_debug_info standard_ada_testfile main diff --git a/gdb/testsuite/gdb.ada/interface.exp b/gdb/testsuite/gdb.ada/interface.exp index c1b2bf8..93a0bd5 100644 --- a/gdb/testsuite/gdb.ada/interface.exp +++ b/gdb/testsuite/gdb.ada/interface.exp @@ -17,10 +17,7 @@ load_lib "ada.exp" require !skip_ada_tests -if {![gnat_runtime_has_debug_info]} { - untested "GNAT runtime debuginfo required for this test" - return -1 -} +require gnat_runtime_has_debug_info standard_ada_testfile foo diff --git a/gdb/testsuite/gdb.ada/iwide.exp b/gdb/testsuite/gdb.ada/iwide.exp index 89386c5..40c45d8 100644 --- a/gdb/testsuite/gdb.ada/iwide.exp +++ b/gdb/testsuite/gdb.ada/iwide.exp @@ -17,10 +17,7 @@ load_lib "ada.exp" require !skip_ada_tests -if {![gnat_runtime_has_debug_info]} { - untested "GNAT runtime debuginfo required for this test" - return -1 -} +require gnat_runtime_has_debug_info standard_ada_testfile p diff --git a/gdb/testsuite/gdb.ada/mi_interface.exp b/gdb/testsuite/gdb.ada/mi_interface.exp index 88829fa..50e6df7 100644 --- a/gdb/testsuite/gdb.ada/mi_interface.exp +++ b/gdb/testsuite/gdb.ada/mi_interface.exp @@ -17,10 +17,7 @@ load_lib "ada.exp" require !skip_ada_tests -if {![gnat_runtime_has_debug_info]} { - untested "GNAT runtime debuginfo required for this test" - return -1 -} +require gnat_runtime_has_debug_info standard_ada_testfile foo diff --git a/gdb/testsuite/gdb.ada/tagged.exp b/gdb/testsuite/gdb.ada/tagged.exp index bbefa8d..3192529 100644 --- a/gdb/testsuite/gdb.ada/tagged.exp +++ b/gdb/testsuite/gdb.ada/tagged.exp @@ -17,10 +17,7 @@ load_lib "ada.exp" require !skip_ada_tests -if {![gnat_runtime_has_debug_info]} { - untested "GNAT runtime debuginfo required for this test" - return -1 -} +require gnat_runtime_has_debug_info standard_ada_testfile foo diff --git a/gdb/testsuite/gdb.ada/tagged_access.exp b/gdb/testsuite/gdb.ada/tagged_access.exp index 17e5f6d..69eb670 100644 --- a/gdb/testsuite/gdb.ada/tagged_access.exp +++ b/gdb/testsuite/gdb.ada/tagged_access.exp @@ -17,10 +17,7 @@ load_lib "ada.exp" require !skip_ada_tests -if {![gnat_runtime_has_debug_info]} { - untested "GNAT runtime debuginfo required for this test" - return -1 -} +require gnat_runtime_has_debug_info standard_ada_testfile p |