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>
This commit is contained in:
parent
e8e81789f9
commit
1f706698cd
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue