From a3b329a773a0b34a7587b9898c3ca0f40a213ab5 Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Tue, 10 Mar 2020 18:55:23 +0000 Subject: [PATCH] tests: add ruby_mem_test.py to the tests 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 Maintainer: Jason Lowe-Power Tested-by: kokoro --- tests/gem5/memory/test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/gem5/memory/test.py b/tests/gem5/memory/test.py index 2a4eeb36f..5b6294e46 100644 --- a/tests/gem5/memory/test.py +++ b/tests/gem5/memory/test.py @@ -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']), ] -- 2.30.2