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:24:04 +0100 |
commit | 1f706698cd9a994400d894a23af8c16c9be0fc58 (patch) | |
tree | 18c47b311fab51c06c8ca7552114bc41ebf7e4d8 | |
parent | e8e81789f994bf2d256afb3d648dde16816035fd (diff) | |
download | poky-1f706698cd9a994400d894a23af8c16c9be0fc58.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.
(From OE-Core rev: fc62f54e3d788cc79fd27664f05db7efccef23ab)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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): | |||
131 | parser.add_argument('-o', '--out-dir', default='results-{date}', | 131 | parser.add_argument('-o', '--out-dir', default='results-{date}', |
132 | type=os.path.abspath, | 132 | type=os.path.abspath, |
133 | help="Output directory for test results") | 133 | help="Output directory for test results") |
134 | parser.add_argument('--log-file', type=os.path.abspath, | 134 | parser.add_argument('--log-file', |
135 | default='{out_dir}/oe-build-perf-test.log', | 135 | default='{out_dir}/oe-build-perf-test.log', |
136 | help="Log file of this script") | 136 | help="Log file of this script") |
137 | parser.add_argument('--run-tests', nargs='+', metavar='TEST', | 137 | parser.add_argument('--run-tests', nargs='+', metavar='TEST', |