From fc62f54e3d788cc79fd27664f05db7efccef23ab Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Mon, 5 Sep 2016 20:21:16 +0300 Subject: 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 --- scripts/oe-build-perf-test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', -- cgit 1.2.3-korg