From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id 7914A3858425; Fri, 13 Jan 2023 20:37:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7914A3858425 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673642264; bh=+WISfsp741Tq4vJHxMFmUQVVIG5/jGat8tMj9KC+yUs=; h=From:To:Subject:Date:From; b=QRol2idwufY1yvAl6RiUdAJU8bCccdBWge1M7ehlndPoEscgpHBW2jly6c8VIIp3b CJHORSEL8eC15xL8yxycVaXCh3XnyH6IUoKSwGdP0hUziXhjeLFOlnJdwkrE4HLSkK 5Z4ySVnKHMoZrCMswFYJ8/3ttbkp6BjMK60a1Zi0= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Use require gnat_runtime_has_debug_info X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: 362f09f16524a038b2c0dce8e1e9337120151355 X-Git-Newrev: 4b075c16ef8d28c238892acf51ec7d672f4db929 Message-Id: <20230113203744.7914A3858425@sourceware.org> Date: Fri, 13 Jan 2023 20:37:44 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D4b075c16ef8d= 28c238892acf51ec7d672f4db929 commit 4b075c16ef8d28c238892acf51ec7d672f4db929 Author: Tom Tromey Date: Thu Dec 15 17:58:40 2022 -0700 Use require gnat_runtime_has_debug_info =20 This changes some tests to use "require gnat_runtime_has_debug_info". Diff: --- gdb/testsuite/gdb.ada/dynamic-iface.exp | 5 +---- gdb/testsuite/gdb.ada/interface.exp | 5 +---- gdb/testsuite/gdb.ada/iwide.exp | 5 +---- gdb/testsuite/gdb.ada/mi_interface.exp | 5 +---- gdb/testsuite/gdb.ada/tagged.exp | 5 +---- 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.ad= a/dynamic-iface.exp index 13e93966819..d4d7ba45ab4 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" =20 require !skip_ada_tests =20 -if {![gnat_runtime_has_debug_info]} { - untested "GNAT runtime debuginfo required for this test" - return -1 -} +require gnat_runtime_has_debug_info =20 standard_ada_testfile main =20 diff --git a/gdb/testsuite/gdb.ada/interface.exp b/gdb/testsuite/gdb.ada/in= terface.exp index c1b2bf87e15..93a0bd5e8b6 100644 --- a/gdb/testsuite/gdb.ada/interface.exp +++ b/gdb/testsuite/gdb.ada/interface.exp @@ -17,10 +17,7 @@ load_lib "ada.exp" =20 require !skip_ada_tests =20 -if {![gnat_runtime_has_debug_info]} { - untested "GNAT runtime debuginfo required for this test" - return -1 -} +require gnat_runtime_has_debug_info =20 standard_ada_testfile foo =20 diff --git a/gdb/testsuite/gdb.ada/iwide.exp b/gdb/testsuite/gdb.ada/iwide.= exp index 89386c5a851..40c45d88117 100644 --- a/gdb/testsuite/gdb.ada/iwide.exp +++ b/gdb/testsuite/gdb.ada/iwide.exp @@ -17,10 +17,7 @@ load_lib "ada.exp" =20 require !skip_ada_tests =20 -if {![gnat_runtime_has_debug_info]} { - untested "GNAT runtime debuginfo required for this test" - return -1 -} +require gnat_runtime_has_debug_info =20 standard_ada_testfile p =20 diff --git a/gdb/testsuite/gdb.ada/mi_interface.exp b/gdb/testsuite/gdb.ada= /mi_interface.exp index 88829faf457..50e6df7851f 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" =20 require !skip_ada_tests =20 -if {![gnat_runtime_has_debug_info]} { - untested "GNAT runtime debuginfo required for this test" - return -1 -} +require gnat_runtime_has_debug_info =20 standard_ada_testfile foo =20 diff --git a/gdb/testsuite/gdb.ada/tagged.exp b/gdb/testsuite/gdb.ada/tagge= d.exp index bbefa8d966d..319252922af 100644 --- a/gdb/testsuite/gdb.ada/tagged.exp +++ b/gdb/testsuite/gdb.ada/tagged.exp @@ -17,10 +17,7 @@ load_lib "ada.exp" =20 require !skip_ada_tests =20 -if {![gnat_runtime_has_debug_info]} { - untested "GNAT runtime debuginfo required for this test" - return -1 -} +require gnat_runtime_has_debug_info =20 standard_ada_testfile foo =20 diff --git a/gdb/testsuite/gdb.ada/tagged_access.exp b/gdb/testsuite/gdb.ad= a/tagged_access.exp index 17e5f6d971e..69eb6702b25 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" =20 require !skip_ada_tests =20 -if {![gnat_runtime_has_debug_info]} { - untested "GNAT runtime debuginfo required for this test" - return -1 -} +require gnat_runtime_has_debug_info =20 standard_ada_testfile p