summaryrefslogtreecommitdiff
path: root/tests/quick/se/01.hello-2T-smt/test.py
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2015-10-05 13:13:23 -0500
committerAndreas Sandberg <andreas.sandberg@arm.com>2015-10-05 13:13:23 -0500
commit17dbb49294e06ce3c486648da899973100c633f1 (patch)
treef2c3938a7d08d3faf8b50bb5fa6c473cb3135675 /tests/quick/se/01.hello-2T-smt/test.py
parentd1811cc6cf7a57c7b52da7303e6bbb55d9fbe058 (diff)
downloadgem5-17dbb49294e06ce3c486648da899973100c633f1.tar.xz
tests: Update SMT tests to correctly configure CPUs
The 01.hello-2T-smt test case for the O3 CPU didn't correctly setup the number of threads before creating interrupt controllers, which confused the constructor in BaseCPU. This changeset adds SMT support to the test configuration infrastructure. --HG-- rename : tests/configs/o3-timing.py => tests/configs/o3-timing-mt.py rename : tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/config.ini => tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/config.ini rename : tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/simerr => tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/simerr rename : tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/simout => tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/simout rename : tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/stats.txt => tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/stats.txt
Diffstat (limited to 'tests/quick/se/01.hello-2T-smt/test.py')
-rw-r--r--tests/quick/se/01.hello-2T-smt/test.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/quick/se/01.hello-2T-smt/test.py b/tests/quick/se/01.hello-2T-smt/test.py
index 7a8fbe0bd..6f8b18361 100644
--- a/tests/quick/se/01.hello-2T-smt/test.py
+++ b/tests/quick/se/01.hello-2T-smt/test.py
@@ -29,6 +29,4 @@
process1 = LiveProcess(cmd = 'hello', executable = binpath('hello'))
process2 = LiveProcess(cmd = 'hello', executable = binpath('hello'))
-root.system.multi_thread = True
root.system.cpu[0].workload = [process1, process2]
-root.system.cpu[0].numThreads = 2