diff options
author | dougkwan <dougkwan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-02-17 23:55:00 +0000 |
---|---|---|
committer | dougkwan <dougkwan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-02-17 23:55:00 +0000 |
commit | 12c0b40ca3a1c67947487c59c82ca7cc93c191b4 (patch) | |
tree | 766bcdfe7dba0defee864d1a9f41d3bf65840432 /contrib/testsuite-management | |
parent | d42de6bdac26abf36bcf3b447eaef5a78a17dca7 (diff) | |
download | gcc-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-x | contrib/testsuite-management/validate_failures.py | 3 |
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 |