[gnome-continuous-yocto/gnomeostree-3.28-rocko: 2285/8267] oe-build-perf-test: fix log file path



commit 1f706698cd9a994400d894a23af8c16c9be0fc58
Author: Markus Lehtonen <markus lehtonen linux intel com>
Date:   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.
    
    (From OE-Core rev: fc62f54e3d788cc79fd27664f05db7efccef23ab)
    
    Signed-off-by: Markus Lehtonen <markus lehtonen linux intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 scripts/oe-build-perf-test |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
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',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]