Commit 1099bb0a by Doug Evans Committed by Doug Evans

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
parent b3891de4
2012-11-28 Doug Evans <dje@google.com> 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 * testsuite-management/validate_failures.py: Record ordinal with
TestResult. TestResult.
......
...@@ -226,8 +226,7 @@ def GetManifest(manifest_name): ...@@ -226,8 +226,7 @@ def GetManifest(manifest_name):
Each entry in the manifest file should have the format understood Each entry in the manifest file should have the format understood
by the TestResult constructor. by the TestResult constructor.
If no manifest file exists for this target, it returns an empty If no manifest file exists for this target, it returns an empty set.
set.
""" """
if os.path.exists(manifest_name): if os.path.exists(manifest_name):
return ParseSummary(manifest_name) return ParseSummary(manifest_name)
...@@ -418,7 +417,7 @@ def Main(argv): ...@@ -418,7 +417,7 @@ def Main(argv):
parser.add_option('--manifest', action='store', type='string', parser.add_option('--manifest', action='store', type='string',
dest='manifest', default=None, dest='manifest', default=None,
help='Name of the manifest file to use (default = ' 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', parser.add_option('--produce_manifest', action='store_true',
dest='produce_manifest', default=False, dest='produce_manifest', default=False,
help='Produce the manifest for the current ' help='Produce the manifest for the current '
...@@ -445,6 +444,7 @@ def Main(argv): ...@@ -445,6 +444,7 @@ def Main(argv):
else: else:
return 1 return 1
if __name__ == '__main__': if __name__ == '__main__':
retval = Main(sys.argv) retval = Main(sys.argv)
sys.exit(retval) sys.exit(retval)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment