public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-2970] Restore 'gcc.dg/pr78213.c' testing
@ 2021-08-17 18:57 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2021-08-17 18:57 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:a42467bdb70650cd2f421e67b6c3418f74feaec2

commit r12-2970-ga42467bdb70650cd2f421e67b6c3418f74feaec2
Author: Thomas Schwinge <thomas@codesourcery.com>
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.  */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-17 18:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-17 18:57 [gcc r12-2970] Restore 'gcc.dg/pr78213.c' testing Thomas Schwinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).