2012-02-17 Doug Kwan <dougkwan@google.com>

* contrib/testsuite-management/validate_failures.py
	(GetMakefileValue): Check for cross compilers.

From-SVN: r184357
This commit is contained in:
Doug Kwan 2012-02-17 23:55:00 +00:00 committed by Doug Kwan
parent 9714c8aab4
commit 4ad29d0de3
2 changed files with 7 additions and 1 deletions

View 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.

View File

@ -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