summaryrefslogtreecommitdiff
path: root/configs/example/ruby_random_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'configs/example/ruby_random_test.py')
-rw-r--r--configs/example/ruby_random_test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/example/ruby_random_test.py b/configs/example/ruby_random_test.py
index 5e6d82372..11571a297 100644
--- a/configs/example/ruby_random_test.py
+++ b/configs/example/ruby_random_test.py
@@ -36,6 +36,7 @@ import os, optparse, sys
addToPath('../common')
addToPath('../ruby')
+import Options
import Ruby
# Get paths we might need. It's expected this file is in m5/configs/example.
@@ -44,6 +45,7 @@ config_root = os.path.dirname(config_path)
m5_root = os.path.dirname(config_root)
parser = optparse.OptionParser()
+Options.addCommonOptions(parser)
parser.add_option("-l", "--checks", metavar="N", default=100,
help="Stop after N checks (loads)")