[gcc r9-9678] Restore 'gcc.dg/pr78213.c' testing

Thomas Schwinge tschwinge@gcc.gnu.org
Tue Aug 17 18:59:06 GMT 2021


https://gcc.gnu.org/g:7d22cffec55cff86ade6a89aa4bf1e5d01b3537b

commit r9-9678-g7d22cffec55cff86ade6a89aa4bf1e5d01b3537b
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.
    
    (cherry picked from commit a42467bdb70650cd2f421e67b6c3418f74feaec2)

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.  */


More information about the Gcc-cvs mailing list