diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2016-09-05 20:21:16 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-06 10:23:59 +0100 |
commit | fc62f54e3d788cc79fd27664f05db7efccef23ab (patch) | |
tree | 41c7d26244b1fd07a45afa9e9ce8e8ecb0276a53 /scripts/oe-build-perf-test | |
parent | ca5c718b309524e46818627f8b5c9260d009472d (diff) | |
download | openembedded-core-fc62f54e3d788cc79fd27664f05db7efccef23ab.tar.gz openembedded-core-fc62f54e3d788cc79fd27664f05db7efccef23ab.tar.bz2 openembedded-core-fc62f54e3d788cc79fd27664f05db7efccef23ab.zip |
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>
Diffstat (limited to 'scripts/oe-build-perf-test')
-rwxr-xr-x | 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 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', |