Deleted Added
sdiff udiff text old ( 11458:91834ba4b16d ) new ( 11475:d372458be20f )
full compact
1# Copyright (c) 2016 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

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

42# A wrapper around configs/example/memcheck.py
43
44# For some reason, this is implicitly needed by run.py
45root = None
46
47def run_test(root):
48 # Called from tests/run.py
49
50 # The path to this script is the only parameter. Delete it so
51 # we can execute the script that we want to execute.
52 import sys
53 del sys.argv[1:]
54
55 # Add a specific max tick
56 sys.argv.append('-m %d' % maxtick)
57
58 # Execute the script we are wrapping
59 execfile('configs/example/memcheck.py', globals())