configs: remove exec of Options.py from ruby_mem_test.py
authorCiro Santilli <ciro.santilli@arm.com>
Tue, 10 Mar 2020 15:26:26 +0000 (15:26 +0000)
committerCiro Santilli <ciro.santilli@arm.com>
Wed, 29 Apr 2020 18:33:50 +0000 (18:33 +0000)
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 <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
configs/example/ruby_mem_test.py

index 070cb37e82bfe540ea0feab8fd867d6d665474c5..5325c5028312c76309c5e4c26dcd60dee3d0e57a 100644 (file)
@@ -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()
 
 #