diff options
Diffstat (limited to 'tests/configs/gpu-randomtest-ruby.py')
-rw-r--r-- | tests/configs/gpu-randomtest-ruby.py | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/tests/configs/gpu-randomtest-ruby.py b/tests/configs/gpu-randomtest-ruby.py index 92810fd64..0bc386973 100644 --- a/tests/configs/gpu-randomtest-ruby.py +++ b/tests/configs/gpu-randomtest-ruby.py @@ -39,15 +39,10 @@ from m5.defines import buildEnv from m5.util import addToPath import os, optparse, sys -# Get paths we might need. It's expected this file is in m5/configs/example. -config_path = os.path.dirname(os.path.abspath(__file__)) -config_root = os.path.dirname(config_path) -m5_root = os.path.dirname(config_root) -addToPath(config_root+'/configs/common') -addToPath(config_root+'/configs/ruby') -addToPath(config_root+'/configs/topologies') - -import Ruby +m5.util.addToPath('../configs/common') +m5.util.addToPath('../configs/') + +from ruby import Ruby import Options parser = optparse.OptionParser() |