summaryrefslogtreecommitdiffstats
path: root/yardstick/definitions.py
diff options
context:
space:
mode:
Diffstat (limited to 'yardstick/definitions.py')
-rw-r--r--yardstick/definitions.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/yardstick/definitions.py b/yardstick/definitions.py
new file mode 100644
index 000000000..300a78e58
--- /dev/null
+++ b/yardstick/definitions.py
@@ -0,0 +1,5 @@
+import os
+
+dirname = os.path.dirname
+YARDSTICK_ROOT_PATH = dirname(dirname(os.path.abspath(__file__)))
+YARDSTICK_ROOT_PATH += os.path.sep