[Darwin, testsuite] Fix framework-1.c on later Darwin.
authorIain Sandoe <iain@sandoe.co.uk>
Wed, 6 Nov 2019 21:46:00 +0000 (21:46 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Wed, 6 Nov 2019 21:46:00 +0000 (21:46 +0000)
The test works by checking that a known framework path is accessible
when the '-F' option is given.  We need to find a framework path that
exists across a range of Darwin versions, and parseable by GCC.  This
adjusts the test to use a header path that exists and is parsable from
Darwin9 through Darwin19.

gcc/testsuite/ChangeLog:

2019-11-06  Iain Sandoe  <iain@sandoe.co.uk>

* gcc.dg/framework-1.c: Adjust test header path.

From-SVN: r277892

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/framework-1.c

index ca76559..473f66f 100644 (file)
@@ -1,3 +1,7 @@
+2019-11-06  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * gcc.dg/framework-1.c: Adjust test header path.
+
 2019-11-06  Claudiu Zissulescu  <claziss@synopsys.com>
        Sahahb Vahedi  <shahab@synopsys.com>
        Cupertino Miranda  <cmiranda@synopsys.com
index 7e68683..de4adc3 100644 (file)
@@ -1,4 +1,4 @@
 /* { dg-do compile { target *-*-darwin* } } */
 /* { dg-options "-F." } */
 
-#include <Carbon/Carbon.h>
+#include <Kernel/string.h>