MCPcopy Create free account
hub / github.com/Kitware/VTK / usage

Function usage

Wrapping/Python/vtkmodules/test/Testing.py:439–501  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

437
438
439def usage():
440 msg="""Usage:\nTestScript.py [options]\nWhere options are:\n
441
442 -D /path/to/VTKData
443 --data-dir /path/to/VTKData
444
445 Directory containing VTK Data use for tests. If this option
446 is not set via the command line the environment variable
447 VTK_DATA_ROOT is used. If the environment variable is not
448 set the value defaults to '../../../../../VTKData'.
449
450 -B /path/to/valid/image_dir/
451 --baseline-root /path/to/valid/image_dir/
452
453 This is a path to the directory containing the valid images
454 for comparison. If this option is not set via the command
455 line the environment variable VTK_BASELINE_ROOT is used. If
456 the environment variable is not set the value defaults to
457 the same value set for -D (--data-dir).
458
459 -T /path/to/valid/temporary_dir/
460 --temp-dir /path/to/valid/temporary_dir/
461
462 This is a path to the directory where the image differences
463 are written. If this option is not set via the command line
464 the environment variable VTK_TEMP_DIR is used. If the
465 environment variable is not set the value defaults to
466 '../../../../Testing/Temporary'.
467
468 -V /path/to/validated/output.png
469 --validated-output /path/to/valid/output.png
470
471 This is a path to a file (usually but not always an image)
472 which is compared to data generated by the test.
473
474 -v level
475 --verbose level
476
477 Sets the verbosity of the test runner. Valid values are 0,
478 1, and 2 in increasing order of verbosity.
479
480 -I
481 --interact
482
483 Interacts with the user when chosen. If this is not chosen
484 the test will run and exit as soon as it is finished. When
485 enabled, the behavior of this is rather trivial and works
486 best when the test uses Tkinter.
487
488 -n
489 --no-image
490
491 Does not do any image comparisons. This is useful if you
492 want to run the test and not worry about test images or
493 image failures etc.
494
495 -h
496 --help

Callers 2

parseCmdLineFunction · 0.70
processCmdLineFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected