tests: add ruby_mem_test.py to the tests
authorCiro Santilli <ciro.santilli@arm.com>
Tue, 10 Mar 2020 18:55:23 +0000 (18:55 +0000)
committerCiro Santilli <ciro.santilli@arm.com>
Wed, 20 May 2020 10:09:14 +0000 (10:09 +0000)
This catches ruby functional memory errors we have observed, and ensures
that ruby_mem_test.py itself won't be broken.

The test duration is about 10 seconds, and it can be run as:

./main.py run --uid SuiteUID:tests/gem5/test_ruby_mem_test.py:test-ruby\
_mem_test-NULL-x86_64-opt

Change-Id: I39bc559aaea3ebb41217a96cd4e8dae46271ea1f
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/26805
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
tests/gem5/memory/test.py

index 2a4eeb36fe67b50cd1cd80a229650eb1639488c4..5b6294e466c613a201309cf9c5cae21c4a6f6f8e 100644 (file)
@@ -69,6 +69,8 @@ gem5_verify_config(
 null_tests = [
     ('garnet_synth_traffic', ['--sim-cycles', '5000000']),
     ('memcheck', ['--maxtick', '2000000000', '--prefetchers']),
+    ('ruby_mem_test', ['--abs-max-tick', '20000000',
+        '--functional', '10']),
     ('ruby_random_test', ['--maxloads', '5000']),
     ('ruby_direct_test', ['--requests', '50000']),
 ]