Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mesa
sixonix
Commits
561640d6
Commit
561640d6
authored
Aug 14, 2018
by
Mark Janes
Browse files
sixonix: create home directory if missing
parent
6e00e3d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
sixonix/synmark/run.py
View file @
561640d6
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment