24.14.2. gem5 regression tests
This section is about running the gem5 in-tree tests.
Running the larger 2019 regression tests is exposed for example with:
./build-gem5 --arch aarch64 ./gem5-regression --arch aarch64 -- --length quick --length long
Sample run time: 87 minutes on 2017 Lenovo ThinkPad P51 Ubuntu 20.04 gem5 872cb227fdc0b4d60acc7840889d567a6936b6e1.
After the first run has downloaded the test binaries for you, you can speed up the process a little bit by skipping an useless SCons call:
./gem5-regression --arch aarch64 -- --length quick --length long --skip-build
Note however that running without --skip-build
is required at least once to download the test binaries, because the test interface is bad.
List available instead of running them:
./gem5-regression --arch aarch64 --cmd list -- --length quick --length long
You can then pick one suite (has to be a suite, not an "individual test") from the list and run just it e.g. with:
./gem5-regression --arch aarch64 -- --uid SuiteUID:tests/gem5/cpu_tests/test.py:cpu_test_AtomicSimpleCPU_Bubblesort-ARM-opt