From d6196772ccd6dbb3d788bc1dc8323d5b7898b237 Mon Sep 17 00:00:00 2001 From: "Bobby R. Bruce" Date: Tue, 17 Mar 2020 10:11:57 -0700 Subject: [PATCH] tests,learning-gem5: Moved MIPS ISA test from part 1 to long The learning gem5 part 1 tests were the only "quick" tests requiring the MIPS ISA to be compilated. This is a big cost for two very simple tests. The MIPS ISA tests for learning gem5 part 1 have been moved to the "long" tests. Change-Id: I694541b4c7ea84e91262f29c67fb5ec2bbbc6fec Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/26844 Reviewed-by: Jason Lowe-Power Maintainer: Bobby R. Bruce Tested-by: kokoro --- tests/gem5/learning_gem5/part1_test.py | 28 ++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/tests/gem5/learning_gem5/part1_test.py b/tests/gem5/learning_gem5/part1_test.py index a0ce56c68..b57ba1757 100644 --- a/tests/gem5/learning_gem5/part1_test.py +++ b/tests/gem5/learning_gem5/part1_test.py @@ -28,19 +28,43 @@ from testlib import * config_path = joinpath(config.base_dir, 'configs', 'learning_gem5', 'part1') +# The "quick" simple tests. gem5_verify_config( name='simple_test', verifiers = (), config=joinpath(config_path, 'simple.py'), config_args = [], - valid_isas=('X86', 'RISCV', 'ARM', 'MIPS'), + length = constants.quick_tag, + valid_isas=('X86', 'RISCV', 'ARM'), ) +# The "long" simple tests. +gem5_verify_config( + name='simple_test', + verifiers = (), + config=joinpath(config_path, 'simple.py'), + config_args = [], + length = constants.long_tag, + valid_isas=('MIPS',), +) + +# The "quick" two level tests. +gem5_verify_config( + name='two_level_test', + verifiers = (), + config=joinpath(config_path, 'two_level.py'), + config_args = [], + length = constants.quick_tag, + valid_isas=('X86', 'RISCV', 'ARM'), +) + +# The "long" two level tests. gem5_verify_config( name='two_level_test', verifiers = (), config=joinpath(config_path, 'two_level.py'), config_args = [], - valid_isas=('X86', 'RISCV', 'ARM', 'MIPS'), + length = constants.long_tag, + valid_isas=('MIPS',), ) -- 2.30.2