Lines Matching +full:- +full:- +full:help

5 # Copyright (c) 2020-2021 Virtuozzo International GmbH
42 def make_argparser() -> argparse.ArgumentParser:
47 p.add_argument('-n', '--dry-run', action='store_true',
48 help='show me, do not run tests')
49 p.add_argument('-j', dest='jobs', type=int, default=1,
50 help='run tests in multiple parallel jobs')
52 p.add_argument('-d', dest='debug', action='store_true', help='debug')
53 p.add_argument('-p', dest='print', action='store_true',
54 help='redirects qemu\'s stdout and stderr to '
56 p.add_argument('-gdb', action='store_true',
57 help="start gdbserver with $GDB_OPTIONS options "
59 p.add_argument('-valgrind', action='store_true',
60 help='use valgrind, sets VALGRIND_QEMU environment '
63 p.add_argument('-misalign', action='store_true',
64 help='misalign memory allocations')
65 p.add_argument('--color', choices=['on', 'off', 'auto'],
66 default='auto', help="use terminal colors. The default "
68 p.add_argument('-tap', action='store_true',
69 help='produce TAP output')
75 mg.add_argument('-nocache', dest='cachemode', action='store_const',
76 const='none', help='set cache mode "none" (O_DIRECT), '
78 mg.add_argument('-c', dest='cachemode',
79 help='sets CACHEMODE environment variable')
81 g_env.add_argument('-i', dest='aiomode', default='threads',
82 help='sets AIOMODE environment variable')
94 mg.add_argument('-' + fmt, dest='imgfmt', action='store_const',
95 const=fmt, help=f'test {fmt}')
104 mg.add_argument('-' + prt, dest='imgproto', action='store_const',
105 const=prt, help=f'test {prt}')
111 g_bash.add_argument('-o', dest='imgopts',
112 help='options to pass to qemu-img create/convert, '
118 g_sel.add_argument('-g', '--groups', metavar='group1,...',
119 help='include tests from these groups')
120 g_sel.add_argument('-x', '--exclude-groups', metavar='group1,...',
121 help='exclude tests from these groups')
122 g_sel.add_argument('--start-from', metavar='TEST',
123 help='Start from specified test: make sorted sequence '
129 help='tests to run, or "--" followed by a command')
130 g_sel.add_argument('--build-dir', default=get_default_path(),
131 help='Path to iotests build directory')
132 g_sel.add_argument('--source-dir',
134 help='Path to iotests build directory')
151 if len(sys.argv) > 1 and sys.argv[-len(args.tests)-1] == '--':
153 sys.exit("missing command after '--'")