Lines Matching +full:stdout +full:- +full:path
2 # -*- coding: utf-8 -*-
5 SPDX-License-Identifier: GPL-2.0
25 …rmat '%d' expects argument of type 'int', but argument 9 has type 'long unsigned int' [-Wformat=]",
30 … "mm/vmscan.c: warning: suggest parentheses around assignment used as truth value [-Wparentheses]",
32 … "drivers/mmc/host/sdhci-esdhc-imx.c: warning: 'sdhci_esdhc_imx_probe_nondt' defined but not used",
37 def __init__(self, arch, path): argument
39 self.path = path
45 return os.path.normpath(filename)
61 if not os.path.exists(os.path.join(self.path, filename)):
131 ('[-Wunused-but-set-variable]', 'warning: .* set but not used'),
132 ('[-Wunused-but-set-parameter]', 'warning: .* set but not used'),
133 ('[-Wunused-const-variable=]', 'warning: .* defined but not used'),
134 ('[-Wold-style-definition]', 'warning: .* definition'),
135 ('[-Wold-style-declaration]', 'warning: .* declaration'),
136 ('[-Wmaybe-uninitialized]', 'warning: .* uninitialized'),
137 ('[-Wtype-limits]', 'warning: .* always (false|true)'),
138 ('[-Wunused-function]', 'warning: .* defined but not used'),
139 ('[-Wsequence-point]', 'warning: .* may be undefined'),
140 ('[-Wformat=]', 'warning: format.*'),
141 ('[-Wunused-variable]', 'warning: [^\[]*'),
142 ('[-Wframe-larger-than=]', 'warning: the frame size [^\[]*'),
143 ('[-Wshift-count-overflow]', 'warning: left shift count >= width of type'),
148 ('[-Wparentheses]', 'suggest parentheses around assignment used as truth value'),
175 stdout=subprocess.PIPE,
184 poller.register(proc.stdout, select.EPOLLIN)
190 if fd == proc.stdout.fileno():
191 line = proc.stdout.readline()
193 print(">> [stdout] %s", line.strip('\n'))
201 for line in proc.stdout.readlines():
203 print(">> [stdout] %s", line.strip('\n'))
211 print(f"Returned {ret} in {int(time.time() - start)} seconds")
220 print(f'"{make}" errors --> \n {errmsg}')
221 return ret, f'"{make}" errors --> \n {errmsg}'
230 print(f'"{make}" errors --> \n {errmsg}')
231 return ret, f'"{make}" errors --> \n {errmsg}'
237 make = f'make -j{os.cpu_count()} ARCH={arch} CROSS_COMPILE={cross_compile}'
240 print(f'"{make}" errors --> \n {errmsg}')
241 return ret, f'"{make}" errors --> \n {errmsg}'
243 print(f'"{make}" warnings --> \n {errmsg}')
263 return 2, f'"{make}" warning --> \n {new_issue}'
265 return ret, f'"{make}" warnings in ignores --> \n {known_issue}'
271 if os.path.exists(config_path.format(arch, config)):
272 …cp = f'cp ' + config_path.format(arch, config) + ' ' + os.path.join(knl_path, 'arch', arch, 'confi…
275 print(f'"{cp}" errors --> \n {errmsg}')
276 return ret, f'"{cp}" errors --> \n {errmsg}'
286 log_date_format = '%Y-%m-%d %H:%M:%S'
343 sed = f'sed -i s/^.*CONFIG_FRAME_WARN.*$/CONFIG_FRAME_WARN=2048/ .config'
360 config_path = './kernel/linux/config/linux-5.10/arch/{0}/configs/{1}'
361 knl_path = './kernel/linux/linux-5.10'
364 log_file = os.path.join(log_path, 'kernel_build_test.log')
369 …oss_compile = '../../../prebuilts/gcc/linux-x86/arm/gcc-linaro-7.5.0-arm-linux-gnueabi/bin/arm-lin…
374 …le = '../../../prebuilts/gcc/linux-x86/aarch64/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu/b…