mirror of
https://github.com/qca/qca-swiss-army-knife.git
synced 2024-11-27 03:33:57 +08:00
tools: ath10k-check: add --extra command line switch
This is for running optional checks which we haven't fixed yet or might be false positive. Currently enables only W=1 for kernel. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
parent
25d27878f4
commit
496c42817e
@ -116,7 +116,13 @@ def run_gcc(args):
|
||||
logger.debug('%s' % cmd)
|
||||
subprocess.call(cmd, shell=True)
|
||||
|
||||
cmd = ['make', '-k', '-j', str(threads), DRIVER_DIR]
|
||||
cmd = ['make', '-k', '-j', str(threads)]
|
||||
|
||||
if args.extra:
|
||||
cmd.append('W=1')
|
||||
|
||||
cmd.append(DRIVER_DIR)
|
||||
|
||||
logger.debug('%s' % cmd)
|
||||
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
(stdout, stderr) = p.communicate()
|
||||
@ -381,6 +387,10 @@ $CHECKPATCH_URL
|
||||
parser.add_argument('--fast', action='store_true',
|
||||
help='run only tests which finish in few seconds')
|
||||
|
||||
parser.add_argument('--extra', action='store_true',
|
||||
help='Run optional extra checks, might find false ' +
|
||||
'positives so it\'s not a requirement to fix these')
|
||||
|
||||
parser.add_argument('--no-filter', action='store_true',
|
||||
help='Don\'t filter output with regexp: %r' % (FILTER_REGEXP))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user