This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Port r184840 from gcc-4_6. (issue6259049)
- From: simonb at google dot com (Simon Baldwin)
- To: reply at codereview dot appspotmail dot com,gcc-patches at gcc dot gnu dot org
- Date: Mon, 28 May 2012 18:40:03 +0200 (CEST)
- Subject: Port r184840 from gcc-4_6. (issue6259049)
Port r184840 from gcc-4_6.
Forward-port r184840, contrib/testsuite-management/validate_failures.py fix
for cross-compilers, from gcc-4_6 to gcc-4_7.
Okay for google/integration and google/gcc-4_7-integration branches?
2012-05-28 Simon Baldwin <simonb@google.com>
Port r184840 from gcc-4_6.
2012-03-02 Doug Kwan <dougkwan@google.com>
Backport r184357 from trunk
2012-02-17 Doug Kwan <dougkwan@google.com>
* contrib/testsuite-management/validate_failures.py
(GetMakefileValue): Check for cross compilers.
Index: contrib/testsuite-management/validate_failures.py
===================================================================
--- contrib/testsuite-management/validate_failures.py (revision 187932)
+++ contrib/testsuite-management/validate_failures.py (working copy)
@@ -146,7 +146,8 @@ def GetMakefileValue(makefile_name, valu
def ValidBuildDirectory(builddir, target):
if (not os.path.exists(builddir) or
not os.path.exists('%s/Makefile' % builddir) or
- not os.path.exists('%s/build-%s' % (builddir, target))):
+ (not os.path.exists('%s/build-%s' % (builddir, target)) and
+ not os.path.exists('%s/%s' % (builddir, target)))):
return False
return True
--
This patch is available for review at http://codereview.appspot.com/6259049