tests: Update SMT tests to correctly configure CPUs
authorAndreas Sandberg <andreas.sandberg@arm.com>
Mon, 5 Oct 2015 18:13:23 +0000 (13:13 -0500)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Mon, 5 Oct 2015 18:13:23 +0000 (13:13 -0500)
commit17dbb49294e06ce3c486648da899973100c633f1
treef2c3938a7d08d3faf8b50bb5fa6c473cb3135675
parentd1811cc6cf7a57c7b52da7303e6bbb55d9fbe058
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
12 files changed:
tests/SConscript
tests/configs/base_config.py
tests/configs/o3-timing-mt.py [new file with mode: 0644]
tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/config.ini [new file with mode: 0644]
tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/simerr [new file with mode: 0755]
tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/simout [new file with mode: 0755]
tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/stats.txt [new file with mode: 0644]
tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/config.ini [deleted file]
tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/simerr [deleted file]
tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/simout [deleted file]
tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/stats.txt [deleted file]
tests/quick/se/01.hello-2T-smt/test.py