[oe-commits] [openembedded-core] 07/08: oe-build-perf-test: fix log file path

git at git.openembedded.org git at git.openembedded.org
Tue Sep 6 09:24:46 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit fc62f54e3d788cc79fd27664f05db7efccef23ab
Author: Markus Lehtonen <markus.lehtonen at linux.intel.com>
AuthorDate: Mon Sep 5 20:21:16 2016 +0300

    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 at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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 8d7fdf2..bb5c382 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',

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list