From: Ciro Santilli Date: Tue, 10 Mar 2020 15:26:26 +0000 (+0000) Subject: configs: remove exec of Options.py from ruby_mem_test.py X-Git-Tag: v20.0.0.0~108 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4f16a4e65a35d8c5f48a4baa2c949d04bf4c9405;p=gem5.git configs: remove exec of Options.py from ruby_mem_test.py The removed exec statement does not appear to be needed however, since Options is already imported above with: from common import Options Change-Id: I934a65d21fa5099a786224a5476d609e4d707205 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/26803 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- diff --git a/configs/example/ruby_mem_test.py b/configs/example/ruby_mem_test.py index 070cb37e8..5325c5028 100644 --- a/configs/example/ruby_mem_test.py +++ b/configs/example/ruby_mem_test.py @@ -63,10 +63,6 @@ parser.add_option("--suppress-func-warnings", action="store_true", # Ruby.define_options(parser) -exec(compile( \ - open(os.path.join(config_root, "common", "Options.py")).read(), \ - os.path.join(config_root, "common", "Options.py"), 'exec')) - (options, args) = parser.parse_args() #