diff options
author | Steve Sakoman <steve@sakoman.com> | 2022-04-27 04:55:58 -1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-12 16:44:05 +0100 |
commit | 4280a7dd2547e499981a4afc1b949a7406a4f81a (patch) | |
tree | 82233575350fecfcf41df0c41d8481870e770ee8 | |
parent | 4df837b96f4991efcaa0561cdf26b00b406adae8 (diff) | |
download | poky-4280a7dd2547e499981a4afc1b949a7406a4f81a.tar.gz |
scripts/contrib/oe-build-perf-report-email.py: remove obsolete check for phantomjs and optipng
Use of those tools was removed in b5c131006e3fad0a15e6cdf81f71dc1e96647028
perf-build-test/report: Drop phantomjs and html email reports support
(From OE-Core rev: 1063525be9b040ece8636c03ac8bab13952eb561)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 33df447affa7a3a360b1da028e6b12fbcd388db6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | scripts/contrib/oe-build-perf-report-email.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/scripts/contrib/oe-build-perf-report-email.py b/scripts/contrib/oe-build-perf-report-email.py index c900720f6e..7192113c28 100755 --- a/scripts/contrib/oe-build-perf-report-email.py +++ b/scripts/contrib/oe-build-perf-report-email.py | |||
@@ -27,17 +27,6 @@ logging.basicConfig(level=logging.INFO, format="%(levelname)s: %(message)s") | |||
27 | log = logging.getLogger('oe-build-perf-report') | 27 | log = logging.getLogger('oe-build-perf-report') |
28 | 28 | ||
29 | 29 | ||
30 | def check_utils(): | ||
31 | """Check that all needed utils are installed in the system""" | ||
32 | missing = [] | ||
33 | for cmd in ('phantomjs', 'optipng'): | ||
34 | if not shutil.which(cmd): | ||
35 | missing.append(cmd) | ||
36 | if missing: | ||
37 | log.error("The following tools are missing: %s", ' '.join(missing)) | ||
38 | sys.exit(1) | ||
39 | |||
40 | |||
41 | def parse_args(argv): | 30 | def parse_args(argv): |
42 | """Parse command line arguments""" | 31 | """Parse command line arguments""" |
43 | description = """Email build perf test report""" | 32 | description = """Email build perf test report""" |
@@ -101,8 +90,6 @@ def main(argv=None): | |||
101 | if args.debug: | 90 | if args.debug: |
102 | log.setLevel(logging.DEBUG) | 91 | log.setLevel(logging.DEBUG) |
103 | 92 | ||
104 | check_utils() | ||
105 | |||
106 | if args.outdir: | 93 | if args.outdir: |
107 | outdir = args.outdir | 94 | outdir = args.outdir |
108 | if not os.path.exists(outdir): | 95 | if not os.path.exists(outdir): |