Deleted Added
sdiff udiff text old ( 11482:2ca1efb451e4 ) new ( 11543:b5435e0310c7 )
full compact
1#!/usr/bin/env python
2#
3# Copyright (c) 2016 ARM Limited
4# All rights reserved
5#
6# The license below extends only to copyright in the software and shall
7# not be construed as granting a license to any other intellectual
8# property including but not limited to intellectual property relating

--- 227 unchanged lines hidden (view full) ---

236 parser.add_argument("result", type=argparse.FileType("rb"), nargs="*",
237 help="Pickled test results")
238
239def _show(args):
240 formatter = _create_formatter(args)
241 suites = sum([ pickle.load(f) for f in args.result ], [])
242 formatter.dump_suites(suites)
243
244_commands = {
245 "list" : (_list_tests, _list_tests_args),
246 "run" : (_run_tests, _run_tests_args),
247 "show" : (_show, _show_args),
248}
249
250def main():
251 parser = argparse.ArgumentParser(
252 formatter_class=ParagraphHelpFormatter,
253 description="""gem5 testing multi tool.""",
254 epilog="""
255 This tool provides an interface to gem5's test framework that

--- 32 unchanged lines hidden ---