mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 03:31:36 +01:00
gem5: gem-regression downloads test binaries to a fixed location outside of source tree with the newly added --bin-path option
Otherwise each --gem5-worktree would download its own copy of the test binaries into its own source tree.
This commit is contained in:
@@ -12220,6 +12220,8 @@ Note that the command and it's corresponding results don't need to show consecut
|
||||
|
||||
==== gem5 regression tests
|
||||
|
||||
This section is about running the gem5 in-tree tests.
|
||||
|
||||
https://stackoverflow.com/questions/52279971/how-to-run-the-gem5-unit-tests
|
||||
|
||||
Running the larger 2019 regression tests is exposed for example with:
|
||||
@@ -12229,13 +12231,13 @@ Running the larger 2019 regression tests is exposed for example with:
|
||||
./gem5-regression --arch aarch64 -- --length quick --length long
|
||||
....
|
||||
|
||||
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:
|
||||
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 `--skip-build` is required at least once per branch to download the test binaries, because the test interface is bad.
|
||||
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:
|
||||
|
||||
@@ -12243,7 +12245,7 @@ List available instead of running them:
|
||||
./gem5-regression --gem5-worktree master --arch aarch64 --cmd list
|
||||
....
|
||||
|
||||
You can then pick one suite from the list (not tests) and run just it e.g. with:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user