[OE-core] [PATCH] oe-build-perf-test: fix log file path
Markus Lehtonen
markus.lehtonen at linux.intel.com
Mon Sep 5 17:21:16 UTC 2016
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>
---
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',
--
2.6.6
More information about the Openembedded-core
mailing list