[gcc r11-3329] Darwin, testsuite : Skip a test that requires ELF.

Iain D Sandoe iains@gcc.gnu.org
Mon Sep 21 18:37:10 GMT 2020


https://gcc.gnu.org/g:4f5a297f7520cf5ba10a3a16f32ea0e1655b203f

commit r11-3329-g4f5a297f7520cf5ba10a3a16f32ea0e1655b203f
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Sat Sep 19 14:35:58 2020 +0100

    Darwin, testsuite : Skip a test that requires ELF.
    
    The symver support is only available to ELF targets.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.dg/ipa/symver1.c: Skip for Darwin.

Diff:
---
 gcc/testsuite/gcc.dg/ipa/symver1.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.dg/ipa/symver1.c b/gcc/testsuite/gcc.dg/ipa/symver1.c
index 645de7ea259..fca52202cba 100644
--- a/gcc/testsuite/gcc.dg/ipa/symver1.c
+++ b/gcc/testsuite/gcc.dg/ipa/symver1.c
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "only works for ELF targets" { *-*-darwin* } } */
 
 __attribute__ ((__symver__ ("foo@VER_2")))
 __attribute__ ((__symver__ ("foo@VER_3")))


More information about the Gcc-cvs mailing list