From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1643) id 475AA3877402; Tue, 17 Aug 2021 18:57:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 475AA3877402 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Thomas Schwinge To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-2970] Restore 'gcc.dg/pr78213.c' testing X-Act-Checkin: gcc X-Git-Author: Thomas Schwinge X-Git-Refname: refs/heads/master X-Git-Oldrev: 2d9da1c89778be1d6604cc1465b0dd50f241a352 X-Git-Newrev: a42467bdb70650cd2f421e67b6c3418f74feaec2 Message-Id: <20210817185749.475AA3877402@sourceware.org> Date: Tue, 17 Aug 2021 18:57:49 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2021 18:57:49 -0000 https://gcc.gnu.org/g:a42467bdb70650cd2f421e67b6c3418f74feaec2 commit r12-2970-ga42467bdb70650cd2f421e67b6c3418f74feaec2 Author: Thomas Schwinge Date: Tue Aug 17 08:45:18 2021 +0200 Restore 'gcc.dg/pr78213.c' testing ... after it had gotten disabled in r243681 (Git commit ecfc21ff34ddc6f8aa517251fb51494c68ff741f) "Introduce selftest::locate_file". gcc/testsuite/ * gcc.dg/pr78213.c: Restore testing. Diff: --- gcc/testsuite/gcc.dg/pr78213.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/gcc/testsuite/gcc.dg/pr78213.c b/gcc/testsuite/gcc.dg/pr78213.c index ebc2cce78f4..40dd3c82b60 100644 --- a/gcc/testsuite/gcc.dg/pr78213.c +++ b/gcc/testsuite/gcc.dg/pr78213.c @@ -1,12 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-fself-test" } */ - -/* When this test was written -fself-test took no argument, but it - has subsequently gained a mandatory argument, giving the path - to selftest support files (within the srcdir). - It's not clear how to provide this path sanely from - within DejaGnu, so for now, this test is disabled. */ -/* { dg-skip-if "" { *-*-* } } */ +/* { dg-options "-fself-test=$srcdir/selftests" } */ /* Verify that -fself-test does not fail on a non empty source. */