Commit 561640d6 authored by Mark Janes's avatar Mark Janes
Browse files

sixonix: create home directory if missing

parent 6e00e3d9
...@@ -45,6 +45,9 @@ def run(test, args, env): ...@@ -45,6 +45,9 @@ def run(test, args, env):
assert len(conf.executables) == 1 assert len(conf.executables) == 1
executable_path = path.join(conf.benchmark_path, conf.executables[0]) executable_path = path.join(conf.benchmark_path, conf.executables[0])
home_dir = path.expanduser("~/SynMark2Home")
if not os.path.exists(home_dir):
os.makedirs(home_dir)
config_path = path.expanduser("~/SynMark2Home/User.cfg") config_path = path.expanduser("~/SynMark2Home/User.cfg")
if path.exists(config_path): if path.exists(config_path):
os.unlink(config_path) os.unlink(config_path)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment