From: Markus Lehtonen Date: Mon, 5 Sep 2016 17:21:16 +0000 (+0300) Subject: oe-build-perf-test: fix log file path X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0953c1bd281a605236734715c0907cdd6097a5b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/scripts/oe-build-perf-test b/scripts/oe-build-perf-test index 8d7fdf269e1..bb5c382d263 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',