summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2022-04-27 04:55:58 -1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-03 17:50:06 +0100
commit64f632c93f487004e721ec7b4ae61b817157037b (patch)
tree42942d43cea7e36b7ae9e9bd72f0edbadb9fabc6 /scripts
parent319ca9f46093c7c383d26c8bfafc7330667f47e5 (diff)
downloadpoky-64f632c93f487004e721ec7b4ae61b817157037b.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: bb3fc61f0d7f7bcd77ef194b76f4fdd8a7ff6aa5) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/contrib/oe-build-perf-report-email.py13
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")
27log = logging.getLogger('oe-build-perf-report') 27log = logging.getLogger('oe-build-perf-report')
28 28
29 29
30def 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
41def parse_args(argv): 30def 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):