aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2012-04-16 14:49:00 +0000
committerRainer Orth <ro@gcc.gnu.org>2012-04-16 14:49:00 +0000
commit034a3fcd14c3ef9adfcb632a5316dd802e9b7ef3 (patch)
treeedee2f32944cb3d7dcb8ea457505256955ab34d2 /contrib
parent2aae768068b8f9e0b36b593f80a6403dc5063d83 (diff)
downloadgcc-034a3fcd14c3ef9adfcb632a5316dd802e9b7ef3.zip
gcc-034a3fcd14c3ef9adfcb632a5316dd802e9b7ef3.tar.gz
gcc-034a3fcd14c3ef9adfcb632a5316dd802e9b7ef3.tar.bz2
Use target_alias in validate_failures.py
* testsuite-management/validate_failures.py (GetBuildData): Use target_alias. From-SVN: r186497
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog5
-rwxr-xr-xcontrib/testsuite-management/validate_failures.py4
2 files changed, 7 insertions, 2 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index fb59f669..97b8645 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,8 @@
+2012-04-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * testsuite-management/validate_failures.py (GetBuildData): Use
+ target_alias.
+
2012-04-06 Doug Evans <dje@google.com>
* dg-extract-results.sh: Handle KFAILs.
diff --git a/contrib/testsuite-management/validate_failures.py b/contrib/testsuite-management/validate_failures.py
index 7bc5089..c0436e5 100755
--- a/contrib/testsuite-management/validate_failures.py
+++ b/contrib/testsuite-management/validate_failures.py
@@ -5,7 +5,7 @@
# Contributed by Diego Novillo <dnovillo@google.com>
#
-# Copyright (C) 2011 Free Software Foundation, Inc.
+# Copyright (C) 2011, 2012 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
@@ -241,7 +241,7 @@ def CompareResults(manifest, actual):
def GetBuildData(options):
- target = GetMakefileValue('%s/Makefile' % options.build_dir, 'target=')
+ target = GetMakefileValue('%s/Makefile' % options.build_dir, 'target_alias=')
srcdir = GetMakefileValue('%s/Makefile' % options.build_dir, 'srcdir =')
if not ValidBuildDirectory(options.build_dir, target):
Error('%s is not a valid GCC top level build directory.' %