From: Doug Kwan Date: Fri, 17 Feb 2012 23:55:00 +0000 (+0000) Subject: 2012-02-17 Doug Kwan X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ad29d0de3125ccf308bc3efe578ca8da7102333;p=gcc.git 2012-02-17 Doug Kwan * contrib/testsuite-management/validate_failures.py (GetMakefileValue): Check for cross compilers. From-SVN: r184357 --- diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 7f952888aa2..aeaee192b36 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 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