diff options
-rw-r--r-- | tests/gem5/fixture.py | 3 | ||||
-rw-r--r-- | tests/gem5/suite.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/gem5/fixture.py b/tests/gem5/fixture.py index 21ea3d803..ddf43d17d 100644 --- a/tests/gem5/fixture.py +++ b/tests/gem5/fixture.py @@ -42,6 +42,7 @@ import os import tempfile import shutil +import sys import threading import urllib import urllib2 @@ -157,7 +158,7 @@ class SConsFixture(UniqueFixture): command.extend(self.targets) if self.options: command.extend(self.options) - log_call(log.test_log, command) + log_call(log.test_log, command, stderr=sys.stderr) class Gem5Fixture(SConsFixture): def __new__(cls, isa, variant, protocol=None): diff --git a/tests/gem5/suite.py b/tests/gem5/suite.py index 2db1668cd..8a8c76d53 100644 --- a/tests/gem5/suite.py +++ b/tests/gem5/suite.py @@ -29,6 +29,7 @@ import os import copy import subprocess +import sys from testlib.test import TestFunction from testlib.suite import TestSuite @@ -161,6 +162,6 @@ def _create_test_run_gem5(config, config_args, gem5_args): command.append(config) # Config_args should set up the program args. command.extend(config_args) - returncode.value = log_call(params.log, command) + returncode.value = log_call(params.log, command, stderr=sys.stderr) return test_run_gem5 |