Skip to content
Snippets Groups Projects
Commit 9e27627e authored by Florian Fischer's avatar Florian Fischer
Browse files

use abspaths in globalvars

parent 509b10cb
No related branches found
No related tags found
No related merge requests found
...@@ -19,13 +19,13 @@ allocbenchdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentf ...@@ -19,13 +19,13 @@ allocbenchdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentf
allocbenchdir = os.path.dirname(allocbenchdir) allocbenchdir = os.path.dirname(allocbenchdir)
"""Path of the build directory""" """Path of the build directory"""
builddir = "build" builddir = os.path.join(allocbenchdir, "build")
"""Directory were the benchmark results are stored""" """Directory were the benchmark results are stored"""
resdir = None resdir = None
"""Source directory for all benchmarks""" """Source directory for all benchmarks"""
benchsrcdir = "src/benchmarks" benchsrcdir = os.path.join(allocbenchdir, "src", "benchmarks")
"""List of available benchmarks""" """List of available benchmarks"""
benchmarks = [e[:-3] for e in os.listdir(os.path.join(allocbenchdir, benchsrcdir)) benchmarks = [e[:-3] for e in os.listdir(os.path.join(allocbenchdir, benchsrcdir))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment