]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Restore 'gcc.dg/pr78213.c' testing
authorThomas Schwinge <thomas@codesourcery.com>
Tue, 17 Aug 2021 06:45:18 +0000 (08:45 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Tue, 17 Aug 2021 18:56:37 +0000 (20:56 +0200)
... after it had gotten disabled in r243681 (Git
commit ecfc21ff34ddc6f8aa517251fb51494c68ff741f)
"Introduce selftest::locate_file".

gcc/testsuite/
* gcc.dg/pr78213.c: Restore testing.

gcc/testsuite/gcc.dg/pr78213.c

index ebc2cce78f45a51b6189753ca5d5eb3c140c8ea9..40dd3c82b604d36f9aaa0f2adddb2ef34e2b012c 100644 (file)
@@ -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.  */