aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-08-16 16:07:04 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-25 22:59:53 +0100
commit4b7bf7860713581ba351599fe32817ba24e8f8d0 (patch)
tree096888b20a246e1f22cd429ef1ebe778c260a3a9 /scripts
parentbe4373be54e5b84f951771b0e75140f212838020 (diff)
downloadopenembedded-core-contrib-4b7bf7860713581ba351599fe32817ba24e8f8d0.tar.gz
oe-build-perf-test: use absolute paths in cmdline args
This is safer as the current working directory may change. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oe-build-perf-test4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/oe-build-perf-test b/scripts/oe-build-perf-test
index 808531efff..21759c6786 100755
--- a/scripts/oe-build-perf-test
+++ b/scripts/oe-build-perf-test
@@ -99,11 +99,13 @@ def parse_args(argv):
parser.add_argument('-D', '--debug', action='store_true',
help='Enable debug level logging')
parser.add_argument('--globalres-file',
+ type=os.path.abspath,
help="Append results to 'globalres' csv file")
parser.add_argument('--lock-file', default='./oe-build-perf.lock',
- metavar='FILENAME',
+ metavar='FILENAME', type=os.path.abspath,
help="Lock file to use")
parser.add_argument('-o', '--out-dir', default='results-{date}',
+ type=os.path.abspath,
help="Output directory for test results")
parser.add_argument('--run-tests', nargs='+', metavar='TEST',
help="List of tests to run")