]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2012-02-17 Doug Kwan <dougkwan@google.com>
authordougkwan <dougkwan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Feb 2012 23:55:00 +0000 (23:55 +0000)
committerdougkwan <dougkwan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Feb 2012 23:55:00 +0000 (23:55 +0000)
* contrib/testsuite-management/validate_failures.py
(GetMakefileValue): Check for cross compilers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184357 138bc75d-0d04-0410-961f-82ee72b054a4

contrib/ChangeLog
contrib/testsuite-management/validate_failures.py

index 7f952888aa28eba8ee2870c51eadcbb46d7d7908..aeaee192b3642df2a50f35488110d56f409d5728 100644 (file)
@@ -1,3 +1,8 @@
+2012-02-17   Doug Kwan  <dougkwan@google.com>
+
+       * contrib/testsuite-management/validate_failures.py
+       (GetMakefileValue): Check for cross compilers.
+
 2012-02-15   Quentin Neill  <quentin.neill@amd.com>
 
        * compare_tests: Fix trailing paths in dir arguments.
index be2ffcee5c6d512bc72172f4204241eeb6160eea..072de796aa05d199e20d45c0ccba4a7a617a837f 100755 (executable)
@@ -146,7 +146,8 @@ def GetMakefileValue(makefile_name, value_name):
 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