mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-15 18:01:31 +08:00
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:
parent
9714c8aab4
commit
4ad29d0de3
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user