aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2021-08-17 08:45:18 +0200
committerThomas Schwinge <thomas@codesourcery.com>2021-08-17 20:56:37 +0200
commita42467bdb70650cd2f421e67b6c3418f74feaec2 (patch)
tree7ab2a39be257d9d47119363ba7436334df796eed
parent2d9da1c89778be1d6604cc1465b0dd50f241a352 (diff)
downloadgcc-a42467bdb70650cd2f421e67b6c3418f74feaec2.zip
gcc-a42467bdb70650cd2f421e67b6c3418f74feaec2.tar.gz
gcc-a42467bdb70650cd2f421e67b6c3418f74feaec2.tar.bz2
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.
-rw-r--r--gcc/testsuite/gcc.dg/pr78213.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/gcc/testsuite/gcc.dg/pr78213.c b/gcc/testsuite/gcc.dg/pr78213.c
index ebc2cce..40dd3c8 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. */