From: dougkwan Date: Fri, 17 Feb 2012 23:55:00 +0000 (+0000) Subject: 2012-02-17 Doug Kwan X-Git-Tag: upstream/4.9.2~14280 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=12c0b40ca3a1c67947487c59c82ca7cc93c191b4;p=platform%2Fupstream%2Flinaro-gcc.git 2012-02-17 Doug Kwan * 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 --- diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 7f95288..aeaee19 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,8 @@ +2012-02-17 Doug Kwan + + * contrib/testsuite-management/validate_failures.py + (GetMakefileValue): Check for cross compilers. + 2012-02-15 Quentin Neill * compare_tests: Fix trailing paths in dir arguments. 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