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-04-30 22:00:20 +0100
commit33df924c0029e539748b52a321d3575dfd795fae (patch)
treef15f01e1d4360d02a799626f7eae21ac889320fa /scripts
parentd9dc50ccff39b91522d15258de28724dc0fb6a19 (diff)
downloadpoky-33df924c0029e539748b52a321d3575dfd795fae.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: 33df447affa7a3a360b1da028e6b12fbcd388db6) 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):