diff options
author | linux_geek <taseer94@gmail.com> | 2016-11-03 20:35:58 +0500 |
---|---|---|
committer | linux_geek <taseer94@gmail.com> | 2016-11-06 07:43:30 +0500 |
commit | 2f650cc150e966781e971cace1762b71fc320f75 (patch) | |
tree | 06b13e2c9771575729e82b2bb8b7062ecf19aa66 /cli/helper.py | |
parent | e831e0b5e918200e98e8abe8d10a46c7873e6128 (diff) |
Directory independant 'perftest list' command execution.
JIRA: QTIP-141
Change-Id: I5a4fce5d8b13c9443bc1be13cb174a78a262e8b6
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
Diffstat (limited to 'cli/helper.py')
-rw-r--r-- | cli/helper.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cli/helper.py b/cli/helper.py new file mode 100644 index 00000000..a5865bce --- /dev/null +++ b/cli/helper.py @@ -0,0 +1,14 @@ +############################################################################## +# Copyright (c) 2016 ZTE Corp and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +import os + + +def fetch_root(): + return os.path.join(os.path.dirname(__file__), os.pardir, 'benchmarks/') |