Skip to content

Commit 61dbb3c

Browse files
committed
ingest_mdir: try to default to disabling tests we disable in NIPA
Signed-off-by: Jakub Kicinski <[email protected]>
1 parent e1c1066 commit 61dbb3c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ingest_mdir.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636

3737
config.add_section('dirs')
3838
config.add_section('log')
39+
config.add_section('tests')
3940

4041
parser = argparse.ArgumentParser()
4142

@@ -47,6 +48,8 @@
4748
parser.add_argument('--tree-name', help='the tree name to expect')
4849
parser.add_argument('--result-dir',
4950
help='the directory where results will be generated')
51+
parser.add_argument('-d', '--disable-test', nargs='+',
52+
help='disable test, can be specified multiple times')
5053
parser.add_argument('--dbg-print-run', help='print results of previous run')
5154

5255

@@ -297,6 +300,11 @@ def main():
297300
tree_name = "unknown"
298301
print("Tree name unknown")
299302

303+
# Default settings for networking trees:
304+
if tree_name.startswith('net'):
305+
if not args.disable_test:
306+
config.set('tests', 'exclude', 'patch/signed')
307+
300308
print_series_info(series)
301309

302310
if args.dbg_print_run:

0 commit comments

Comments
 (0)