aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2019-11-06 21:46:00 +0000
committerIain Sandoe <iains@gcc.gnu.org>2019-11-06 21:46:00 +0000
commite69ed8dc39abea60755b147541b31ad06ee229a9 (patch)
tree0b31bb10f5b1ec77fd8dd002bbc5bbaba729204e
parentbabd71c168ad447d2d11886683dea263ba1d814d (diff)
downloadgcc-e69ed8dc39abea60755b147541b31ad06ee229a9.zip
gcc-e69ed8dc39abea60755b147541b31ad06ee229a9.tar.gz
gcc-e69ed8dc39abea60755b147541b31ad06ee229a9.tar.bz2
[Darwin, testsuite] Fix framework-1.c on later Darwin.
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
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/framework-1.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index ca76559..473f66f 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/gcc/testsuite/gcc.dg/framework-1.c b/gcc/testsuite/gcc.dg/framework-1.c
index 7e68683..de4adc3 100644
--- a/gcc/testsuite/gcc.dg/framework-1.c
+++ b/gcc/testsuite/gcc.dg/framework-1.c
@@ -1,4 +1,4 @@
/* { dg-do compile { target *-*-darwin* } } */
/* { dg-options "-F." } */
-#include <Carbon/Carbon.h>
+#include <Kernel/string.h>