]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
oe-build-perf-test: fix log file path
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Mon, 5 Sep 2016 17:21:16 +0000 (20:21 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Sep 2016 09:23:59 +0000 (10:23 +0100)
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>
scripts/oe-build-perf-test

index 8d7fdf269e138be8347c932084878f49010648cd..bb5c382d26326180762e68b7cfa845f280d978b8 100755 (executable)
@@ -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',