sim: Use the old work item behavior by default
[gem5.git] / tests / configs / learning-gem5-p1-two-level.py
1
2 # A wrapper around configs/learning_gem5/part1/two_level.py
3
4 # For some reason, this is implicitly needed by run.py
5 root = None
6
7 import m5
8
9 def run_test(root):
10 # Called from tests/run.py
11
12 # Add paths that we need
13 m5.util.addToPath('../configs/learning_gem5/part1')
14 m5.util.addToPath('../configs/common')
15
16 # The path to this script is the only parameter. Delete it so we can
17 # execute the script that we want to execute.
18 import sys
19 del sys.argv[1:]
20 # Note: at this point, we could add options we want to test.
21 # For instance, sys.argv.append('--l2_size=512kB')
22
23 # Execute the script we are wrapping
24 execfile('configs/learning_gem5/part1/two_level.py')