diff options
author | Doug Kwan <dougkwan@google.com> | 2012-02-17 23:55:00 +0000 |
---|---|---|
committer | Doug Kwan <dougkwan@gcc.gnu.org> | 2012-02-17 23:55:00 +0000 |
commit | 4ad29d0de3125ccf308bc3efe578ca8da7102333 (patch) | |
tree | 766bcdfe7dba0defee864d1a9f41d3bf65840432 /contrib/testsuite-management | |
parent | 9714c8aab406926fc78c71378bf8b6a69d3a262a (diff) | |
download | gcc-4ad29d0de3125ccf308bc3efe578ca8da7102333.zip gcc-4ad29d0de3125ccf308bc3efe578ca8da7102333.tar.gz gcc-4ad29d0de3125ccf308bc3efe578ca8da7102333.tar.bz2 |
2012-02-17 Doug Kwan <dougkwan@google.com>
* contrib/testsuite-management/validate_failures.py
(GetMakefileValue): Check for cross compilers.
From-SVN: r184357
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 be2ffce..072de79 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 |