This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] ld-plugin/lto.exp: Disable tests with gcc older than 4.7.0.
- From: Will Newton <will dot newton at linaro dot org>
- To: binutils at sourceware dot org
- Cc: patches at linaro dot org
- Date: Mon, 22 Apr 2013 13:32:40 +0100
- Subject: [PATCH] ld-plugin/lto.exp: Disable tests with gcc older than 4.7.0.
The test for ld/12942 fails with gcc versions before 4.7.0. This patch
disables running the LTO tests with these versions of gcc. Disabling
the test in a more fine-grained way would be a bit more complex and it
appears that binutils developers are all using newer gccs anyway.
ld/testsuite/ChangeLog:
2013-04-22 Will Newton <will.newton@linaro.org>
* ld-plugin/lto.exp: Disable tests with gcc older than 4.7.0.
---
ld/testsuite/ld-plugin/lto.exp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp
index 09474a6..b8e6d68 100644
--- a/ld/testsuite/ld-plugin/lto.exp
+++ b/ld/testsuite/ld-plugin/lto.exp
@@ -21,7 +21,8 @@
# These tests require plugin and LTO.
if { ![check_plugin_api_available]
- || ![check_lto_available] } {
+ || ![check_lto_available]
+ || ![at_least_gcc_version 4 7] } {
return
}
--
1.8.1.4