tests: Add o3 classic init x86 boot tests

These have been included to ensure the o3 CPU is tested sufficiently.

Change-Id: Ifa7564171be4a3bc94301ccfdbd85b72568d7c77
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/56203
Reviewed-by: Bobby Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Bobby R. Bruce
2022-01-28 11:13:01 -08:00
committed by Bobby Bruce
parent 8cd70b7da1
commit 4e4f8f1347

View File

@@ -307,3 +307,43 @@ for mem_system in run_map:
boot_type="systemd",
length=constants.very_long_tag,
)
# To ensure the O3 CPU is working correctly, we include some "init" tests here.
# There were not included above as booting to "systemd" takes too long with
# o3 CPUs
test_boot(
cpu="o3",
num_cpus=1,
mem_system="classic",
memory_class="DualChannelDDR4_2400",
boot_type="init",
length=constants.very_long_tag,
)
test_boot(
cpu="o3",
num_cpus=2,
mem_system="classic",
memory_class="DualChannelDDR4_2400",
boot_type="init",
length=constants.very_long_tag,
)
test_boot(
cpu="o3",
num_cpus=4,
mem_system="classic",
memory_class="DualChannelDDR4_2400",
boot_type="init",
length=constants.very_long_tag,
)
test_boot(
cpu="o3",
num_cpus=8,
mem_system="classic",
memory_class="DualChannelDDR4_2400",
boot_type="init",
length=constants.very_long_tag,
)