diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-05-08 20:20:04 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-05-08 20:20:04 +0200 |
| commit | 9e27627ec1f57d23f52ce3e0c8aa232c7a58b9b3 (patch) | |
| tree | b82a34304ee1d7f5761051933e29bd5907cfccd2 | |
| parent | 509b10cb70eeb61f4799f36b545a9c8ad6565d9a (diff) | |
| download | allocbench-9e27627ec1f57d23f52ce3e0c8aa232c7a58b9b3.tar.gz allocbench-9e27627ec1f57d23f52ce3e0c8aa232c7a58b9b3.zip | |
use abspaths in globalvars
| -rw-r--r-- | src/globalvars.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/globalvars.py b/src/globalvars.py index 7bf3de7..6048f1c 100644 --- a/src/globalvars.py +++ b/src/globalvars.py @@ -19,13 +19,13 @@ allocbenchdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentf allocbenchdir = os.path.dirname(allocbenchdir) """Path of the build directory""" -builddir = "build" +builddir = os.path.join(allocbenchdir, "build") """Directory were the benchmark results are stored""" resdir = None """Source directory for all benchmarks""" -benchsrcdir = "src/benchmarks" +benchsrcdir = os.path.join(allocbenchdir, "src", "benchmarks") """List of available benchmarks""" benchmarks = [e[:-3] for e in os.listdir(os.path.join(allocbenchdir, benchsrcdir)) |
