From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id 548C63858425; Fri, 13 Jan 2023 20:36:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 548C63858425 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673642183; bh=Qg0wRon7U5Qvx9iYY8X4rMMMAbFYBA92WkxRvQT7wBo=; h=From:To:Subject:Date:From; b=s48aF/dvwawfm1xVL/Q+/yU0Z81e7EDZP8byI2NHkNyAgOjRMsmv0vXNMGTbzG6Hg rhaWyj+3t8xFTfq5SxeWBjKAFycWFqEuV4t820J2pnDbA/W30XtCSNgTeD+rVQ+DSm E6+XyzUtM4D+LqUuDllpWANsDbJMdPj5AA+8fu4Y= 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 supports_get_siginfo_type X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: b7e110700353debc7abe86c684bace14d17c3431 X-Git-Newrev: 5f3ef82813891f87dc1d34453e3f0ddc045b30f8 Message-Id: <20230113203623.548C63858425@sourceware.org> Date: Fri, 13 Jan 2023 20:36:23 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D5f3ef8281389= 1f87dc1d34453e3f0ddc045b30f8 commit 5f3ef82813891f87dc1d34453e3f0ddc045b30f8 Author: Tom Tromey Date: Wed Dec 14 09:52:45 2022 -0700 Use require supports_get_siginfo_type =20 This changes some tests to use "require supports_get_siginfo_type". Diff: --- gdb/testsuite/gdb.base/catch-signal-siginfo-cond.exp | 5 +---- gdb/testsuite/gdb.base/siginfo-obj.exp | 5 +---- gdb/testsuite/gdb.base/siginfo-thread.exp | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/gdb/testsuite/gdb.base/catch-signal-siginfo-cond.exp b/gdb/tes= tsuite/gdb.base/catch-signal-siginfo-cond.exp index 25c681f0a6a..182b2f25faa 100644 --- a/gdb/testsuite/gdb.base/catch-signal-siginfo-cond.exp +++ b/gdb/testsuite/gdb.base/catch-signal-siginfo-cond.exp @@ -30,10 +30,7 @@ if [target_info exists gdb,nosignals] { return -1 } =20 -if { ![supports_get_siginfo_type] } { - verbose "Skipping catch-signal-siginfo-cond.exp because of lack of sup= port." - return -1 -} +require supports_get_siginfo_type =20 standard_testfile =20 diff --git a/gdb/testsuite/gdb.base/siginfo-obj.exp b/gdb/testsuite/gdb.bas= e/siginfo-obj.exp index f6411606346..9d8bfe75731 100644 --- a/gdb/testsuite/gdb.base/siginfo-obj.exp +++ b/gdb/testsuite/gdb.base/siginfo-obj.exp @@ -26,10 +26,7 @@ if [target_info exists gdb,nosignals] { return } =20 -if { ![supports_get_siginfo_type] } { - verbose "Skipping siginfo-obj.exp because of lack of support." - return -} +require supports_get_siginfo_type =20 =20 standard_testfile diff --git a/gdb/testsuite/gdb.base/siginfo-thread.exp b/gdb/testsuite/gdb.= base/siginfo-thread.exp index b40b23a6def..718889fcc47 100644 --- a/gdb/testsuite/gdb.base/siginfo-thread.exp +++ b/gdb/testsuite/gdb.base/siginfo-thread.exp @@ -21,10 +21,7 @@ if [target_info exists gdb,nosignals] { return } =20 -if { ![supports_get_siginfo_type] } { - verbose "Skipping siginfo-thread.exp because of lack of support." - return -} +require supports_get_siginfo_type =20 standard_testfile .c