aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-09-05 20:21:16 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-06 10:23:59 +0100
commitfc62f54e3d788cc79fd27664f05db7efccef23ab (patch)
tree41c7d26244b1fd07a45afa9e9ce8e8ecb0276a53 /scripts
parentca5c718b309524e46818627f8b5c9260d009472d (diff)
downloadopenembedded-core-contrib-fc62f54e3d788cc79fd27664f05db7efccef23ab.tar.gz
oe-build-perf-test: fix log file path
The --log-file command line argument was slightly broken as {out_dir} string replacement was not working as expected. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oe-build-perf-test2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-build-perf-test b/scripts/oe-build-perf-test
index 8d7fdf269e..bb5c382d26 100755
--- a/scripts/oe-build-perf-test
+++ b/scripts/oe-build-perf-test
@@ -131,7 +131,7 @@ def parse_args(argv):
parser.add_argument('-o', '--out-dir', default='results-{date}',
type=os.path.abspath,
help="Output directory for test results")
- parser.add_argument('--log-file', type=os.path.abspath,
+ parser.add_argument('--log-file',
default='{out_dir}/oe-build-perf-test.log',
help="Log file of this script")
parser.add_argument('--run-tests', nargs='+', metavar='TEST',