summaryrefslogtreecommitdiff
path: root/contrib/testsuite-management
diff options
context:
space:
mode:
authordougkwan <dougkwan@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-17 23:55:00 +0000
committerdougkwan <dougkwan@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-17 23:55:00 +0000
commit12c0b40ca3a1c67947487c59c82ca7cc93c191b4 (patch)
tree766bcdfe7dba0defee864d1a9f41d3bf65840432 /contrib/testsuite-management
parentd42de6bdac26abf36bcf3b447eaef5a78a17dca7 (diff)
downloadgcc-12c0b40ca3a1c67947487c59c82ca7cc93c191b4.tar.gz
2012-02-17 Doug Kwan <dougkwan@google.com>
* 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
Diffstat (limited to 'contrib/testsuite-management')
-rwxr-xr-xcontrib/testsuite-management/validate_failures.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/testsuite-management/validate_failures.py b/contrib/testsuite-management/validate_failures.py
index be2ffcee5c6..072de796aa0 100755
--- a/contrib/testsuite-management/validate_failures.py
+++ b/contrib/testsuite-management/validate_failures.py
@@ -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