Use target_alias in validate_failures.py

* testsuite-management/validate_failures.py (GetBuildData): Use
	target_alias.

From-SVN: r186497
This commit is contained in:
Rainer Orth 2012-04-16 14:49:00 +00:00 committed by Rainer Orth
parent 2aae768068
commit 034a3fcd14
2 changed files with 7 additions and 2 deletions

View File

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

View File

@ -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.' %