Deleted Added
sdiff udiff text old ( 11828:36b064696175 ) new ( 11836:3195e72010da )
full compact
1#!/usr/bin/env python2
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

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

169 help="Skip output diffing stage")
170
171 parser.add_argument("--skip-diff-stat", action="store_true",
172 help="Skip stat diffing stage")
173
174 _add_format_args(parser)
175
176def _run_tests(args):
177 if not os.path.isfile(args.gem5) or not os.access(args.gem5, os.X_OK):
178 print >> sys.stderr, \
179 "gem5 binary '%s' not an executable file" % args.gem5
180 sys.exit(2)
181
182 formatter = _create_formatter(args)
183
184 out_base = os.path.abspath(args.directory)
185 if not os.path.exists(out_base):
186 os.mkdir(out_base)
187 tests = []
188 for test_name in args.test:
189 config = ClassicConfig(*test_name.split("/"))

--- 145 unchanged lines hidden ---