Giacomo Travaglini has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/30214 )

Change subject: tests: log_call is not returning any value
......................................................................

tests: log_call is not returning any value

JIRA: https://gem5.atlassian.net/projects/GEM5/issues/GEM5-533

Change-Id: I2713ddacc762d614e3992718ea234287d06c179a
Signed-off-by: Giacomo Travaglini <[email protected]>
---
M tests/gem5/suite.py
1 file changed, 1 insertion(+), 3 deletions(-)



diff --git a/tests/gem5/suite.py b/tests/gem5/suite.py
index 4cf0f81..329e31f 100644
--- a/tests/gem5/suite.py
+++ b/tests/gem5/suite.py
@@ -178,7 +178,6 @@
         # I.E. Only the returncode verifier will use the gem5_returncode
# fixture, but we always require it even if that verifier isn't being
         # ran.
-        returncode = fixtures[constants.gem5_returncode_fixture_name]
         tempdir = fixtures[constants.tempdir_fixture_name].path
         gem5 = fixtures[constants.gem5_binary_fixture_name].path
         command = [
@@ -191,7 +190,6 @@
         command.append(config)
         # Config_args should set up the program args.
         command.extend(config_args)
-        returncode.value = log_call(params.log, command, stdout=sys.stdout,
-                                                         stderr=sys.stderr)
+        log_call(params.log, command, stdout=sys.stdout, stderr=sys.stderr)

     return test_run_gem5

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/30214
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I2713ddacc762d614e3992718ea234287d06c179a
Gerrit-Change-Number: 30214
Gerrit-PatchSet: 1
Gerrit-Owner: Giacomo Travaglini <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to