aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-11-28 19:25:24 +0000
committerDoug Evans <devans@gcc.gnu.org>2012-11-28 19:25:24 +0000
commit1099bb0a712134f8a43e06407292aa95f27c0e54 (patch)
treef78b954fe281198dc395bcbc9ab7cc5df8421ee4
parentb3891de433eda1defb027f0b3e77aaa9e25fa50f (diff)
downloadgcc-1099bb0a712134f8a43e06407292aa95f27c0e54.zip
gcc-1099bb0a712134f8a43e06407292aa95f27c0e54.tar.gz
gcc-1099bb0a712134f8a43e06407292aa95f27c0e54.tar.bz2
validate_failures.py: Use <target_alias> instead of <target>.
* testsuite-management/validate_failures.py: Use <target_alias> instead of <target>. Minor whitespace changes. From-SVN: r193904
-rw-r--r--contrib/ChangeLog3
-rwxr-xr-xcontrib/testsuite-management/validate_failures.py6
2 files changed, 6 insertions, 3 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 8bf6add..4a7c736 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,5 +1,8 @@
2012-11-28 Doug Evans <dje@google.com>
+ * testsuite-management/validate_failures.py: Use <target_alias> instead
+ of <target>. Minor whitespace changes.
+
* testsuite-management/validate_failures.py: Record ordinal with
TestResult.
diff --git a/contrib/testsuite-management/validate_failures.py b/contrib/testsuite-management/validate_failures.py
index d78a54f..7bbccf3 100755
--- a/contrib/testsuite-management/validate_failures.py
+++ b/contrib/testsuite-management/validate_failures.py
@@ -226,8 +226,7 @@ def GetManifest(manifest_name):
Each entry in the manifest file should have the format understood
by the TestResult constructor.
- If no manifest file exists for this target, it returns an empty
- set.
+ If no manifest file exists for this target, it returns an empty set.
"""
if os.path.exists(manifest_name):
return ParseSummary(manifest_name)
@@ -418,7 +417,7 @@ def Main(argv):
parser.add_option('--manifest', action='store', type='string',
dest='manifest', default=None,
help='Name of the manifest file to use (default = '
- 'taken from contrib/testsuite-managment/<target>.xfail)')
+ 'taken from contrib/testsuite-managment/<target_alias>.xfail)')
parser.add_option('--produce_manifest', action='store_true',
dest='produce_manifest', default=False,
help='Produce the manifest for the current '
@@ -445,6 +444,7 @@ def Main(argv):
else:
return 1
+
if __name__ == '__main__':
retval = Main(sys.argv)
sys.exit(retval)