From ef2aaf995df3afa8595e6e50196292d4a9da298a Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sat, 18 Sep 2021 02:13:44 -0700 Subject: [PATCH] tests: Use --silent-redirect when running gem5 tests. The redirects are to temp files which are going to be deleted at the end of the test, and there's no reason to clutter up the output with nonsense paths to non-existent files. Change-Id: Id312b1f25f03d7c57318ca0c58902e4193bd1e91 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50589 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- tests/gem5/suite.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/gem5/suite.py b/tests/gem5/suite.py index 3b0f1f80db..cef3e7dad7 100644 --- a/tests/gem5/suite.py +++ b/tests/gem5/suite.py @@ -168,9 +168,10 @@ def _create_test_run_gem5(config, config_args, gem5_args): gem5 = fixtures[constants.gem5_binary_fixture_name].path command = [ gem5, - '-d', # Set redirect dir to tempdir. + '-d', # Set redirect dir to tempdir. tempdir, - '-re',# TODO: Change to const. Redirect stdout and stderr + '-re', # TODO: Change to const. Redirect stdout and stderr + '--silent-redirect', ] command.extend(_gem5_args) command.append(config)