@@ -63,12 +63,12 @@ GENERAL OPTIONS
63
63
64
64
Show :program: `lit `'s version number and exit.
65
65
66
- .. option :: -j N , --workers= N
66
+ .. option :: -j N , --workers N
67
67
68
68
Run ``N `` tests in parallel. By default, this is automatically chosen to
69
69
match the number of detected available CPUs.
70
70
71
- .. option :: --config-prefix= NAME
71
+ .. option :: --config-prefix NAME
72
72
73
73
Search for :file: `{ NAME } .cfg ` and :file: `{ NAME } .site.cfg ` when searching for
74
74
test suites, instead of :file: `lit.cfg ` and :file: `lit.site.cfg `.
@@ -157,7 +157,7 @@ EXECUTION OPTIONS
157
157
158
158
Disable sharding for GoogleTest format.
159
159
160
- .. option :: --path= PATH
160
+ .. option :: --path PATH
161
161
162
162
Specify an additional ``PATH `` to use when searching for executables in tests.
163
163
@@ -178,7 +178,7 @@ EXECUTION OPTIONS
178
178
feature that can be used to conditionally disable (or expect failure in)
179
179
certain tests.
180
180
181
- .. option :: --vg-arg= ARG
181
+ .. option :: --vg-arg ARG
182
182
183
183
When :option: `--vg ` is used, specify an additional argument to pass to
184
184
:program: `valgrind ` itself.
@@ -208,7 +208,7 @@ EXECUTION OPTIONS
208
208
Maximum time to spend running a single test (in seconds). 0 means no time
209
209
limit. [Default: 0]
210
210
211
- .. option :: --timeout= N
211
+ .. option :: --timeout N
212
212
213
213
Spend at most ``N `` seconds (approximately) running each individual test.
214
214
``0 `` means no time limit, and ``0 `` is the default. Note that this is not an
@@ -268,17 +268,17 @@ The timing data is stored in the `test_exec_root` in a file named
268
268
`.lit_test_times.txt `. If this file does not exist, then `lit ` checks the
269
269
`test_source_root ` for the file to optionally accelerate clean builds.
270
270
271
- .. option :: --max-tests= N
271
+ .. option :: --max-tests N
272
272
273
273
Run at most ``N `` tests and then terminate.
274
274
275
- .. option :: --max-time= N
275
+ .. option :: --max-time N
276
276
277
277
Spend at most ``N `` seconds (approximately) running tests and then terminate.
278
278
Note that this is not an alias for :option: `--timeout `; the two are
279
279
different kinds of maximums.
280
280
281
- .. option :: --order= {lexical ,random ,smart}
281
+ .. option :: --order {lexical ,random ,smart}
282
282
283
283
Define the order in which tests are run. The supported values are:
284
284
@@ -300,21 +300,21 @@ The timing data is stored in the `test_exec_root` in a file named
300
300
301
301
Run failed tests first (DEPRECATED: use ``--order=smart ``).
302
302
303
- .. option :: --filter= REGEXP
303
+ .. option :: --filter REGEXP
304
304
305
305
Run only those tests whose name matches the regular expression specified in
306
306
``REGEXP ``. The environment variable ``LIT_FILTER `` can be also used in place
307
307
of this option, which is especially useful in environments where the call
308
308
to ``lit `` is issued indirectly.
309
309
310
- .. option :: --filter-out= REGEXP
310
+ .. option :: --filter-out REGEXP
311
311
312
312
Filter out those tests whose name matches the regular expression specified in
313
313
``REGEXP ``. The environment variable ``LIT_FILTER_OUT `` can be also used in
314
314
place of this option, which is especially useful in environments where the
315
315
call to ``lit `` is issued indirectly.
316
316
317
- .. option :: --xfail= LIST
317
+ .. option :: --xfail LIST
318
318
319
319
Treat those tests whose name is in the semicolon separated list ``LIST `` as
320
320
``XFAIL ``. This can be helpful when one does not want to modify the test
@@ -346,7 +346,7 @@ The timing data is stored in the `test_exec_root` in a file named
346
346
347
347
LIT_XFAIL="affinity/kmp-hw-subset.c;libomptarget :: x86_64-pc-linux-gnu :: offloading/memory_manager.cpp"
348
348
349
- .. option :: --xfail-not= LIST
349
+ .. option :: --xfail-not LIST
350
350
351
351
Do not treat the specified tests as ``XFAIL ``. The environment variable
352
352
``LIT_XFAIL_NOT `` can also be used in place of this option. The syntax is the
@@ -356,7 +356,7 @@ The timing data is stored in the `test_exec_root` in a file named
356
356
primary purpose is to suppress an ``XPASS `` result without modifying a test
357
357
case that uses the ``XFAIL `` directive.
358
358
359
- .. option :: --num-shards= M
359
+ .. option :: --num-shards M
360
360
361
361
Divide the set of selected tests into ``M `` equal-sized subsets or
362
362
"shards", and run only one of them. Must be used with the
@@ -366,7 +366,7 @@ The timing data is stored in the `test_exec_root` in a file named
366
366
testsuites, for parallel execution on separate machines (say in a large
367
367
testing farm).
368
368
369
- .. option :: --run-shard= N
369
+ .. option :: --run-shard N
370
370
371
371
Select which shard to run, assuming the ``--num-shards=M `` option was
372
372
provided. The two options must be used together, and the value of ``N ``
0 commit comments