aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-09-05 20:21:16 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-05 22:41:03 +0100
commitc0953c1bd281a605236734715c0907cdd6097a5b (patch)
tree0799c74f86ba327118372ce5b3b3df57acdfb318
parent03a668a73fb2b40c597164e560ba2d968bce8790 (diff)
downloadopenembedded-core-contrib-c0953c1bd281a605236734715c0907cdd6097a5b.tar.gz
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@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/oe-build-perf-test2
1 files changed, 1 insertions, 1 deletions
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',