MCPcopy Create free account
hub / github.com/InsightSoftwareConsortium/ITK / usage

Function usage

Modules/Core/TestKernel/src/itkTestDriverInclude.cxx:75–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73} // namespace
74
75void
76usage()
77{
78 std::cerr << "usage: itkTestDriver [options] prg [args]" << std::endl;
79 std::cerr << " itkTestDriver --no-process [options]" << std::endl;
80 std::cerr << std::endl;
81 std::cerr << "itkTestDriver alter the environment, run a test program and compare the images" << std::endl;
82 std::cerr << "produced." << std::endl;
83 std::cerr << std::endl;
84 std::cerr << "Options:" << std::endl;
85 std::cerr << " --add-before-libpath PATH" << std::endl;
86 std::cerr << " Add a path to the library path environment. This option take care of" << std::endl;
87 std::cerr << " choosing the right environment variable for your system." << std::endl;
88 std::cerr << " This option can be used several times." << std::endl;
89 std::cerr << std::endl;
90 std::cerr << " --add-before-env NAME VALUE" << std::endl;
91 std::cerr << " Add a VALUE to the variable name in the environment." << std::endl;
92 std::cerr << " The separator used is the default one on the system." << std::endl;
93 std::cerr << " This option can be used several times." << std::endl;
94 std::cerr << std::endl;
95 std::cerr << " --add-before-env-with-sep NAME VALUE SEP" << std::endl;
96 std::cerr << " Add a VALUE to the variable name in the environment using the provided separator." << std::endl;
97 std::cerr << " This option can be used several times." << std::endl;
98 std::cerr << std::endl;
99 std::cerr << " --remove-env NAME" << std::endl;
100 std::cerr << " Remove the variable name from the environment." << std::endl;
101 std::cerr << " This option can be used several times." << std::endl;
102 std::cerr << std::endl;
103 std::cerr << " --compare TEST BASELINE" << std::endl;
104 std::cerr << " Compare the TEST image to the BASELINE one." << std::endl;
105 std::cerr << " This option can be used several times." << std::endl;
106 std::cerr << std::endl;
107 std::cerr << " --compare-MD5 TEST md5hash0 [ md5hash1 ... ]" << std::endl;
108 std::cerr << " Compare the TEST image file's md5 hash to the provided hash." << std::endl;
109 std::cerr << " md5hash0 is required and assumed to be a hash." << std::endl;
110 std::cerr << " Additional arguments are considered hashes when the string is 32 hexi-decimal characters. "
111 << std::endl;
112 std::cerr << " This option can be used several times for multiple comparisons." << std::endl;
113 std::cerr << std::endl;
114 std::cerr << " --with-threads THREADS" << std::endl;
115 std::cerr << " Use at most THREADS threads." << std::endl;
116 std::cerr << std::endl;
117 std::cerr << " --without-threads" << std::endl;
118 std::cerr << " Use at most one thread." << std::endl;
119 std::cerr << std::endl;
120 std::cerr << " --compareNumberOfPixelsTolerance TOLERANCE" << std::endl;
121 std::cerr << " When comparing images with --compare, allow TOLERANCE pixels to differ." << std::endl;
122 std::cerr << " Default is 0." << std::endl;
123 std::cerr << std::endl;
124 std::cerr << " --compareRadiusTolerance TOLERANCE" << std::endl;
125 std::cerr << " Default is 0." << std::endl;
126 std::cerr << std::endl;
127 std::cerr << " --compareIntensityTolerance TOLERANCE" << std::endl;
128 std::cerr << " Default is 2.0." << std::endl;
129 std::cerr << std::endl;
130 std::cerr << " --compareCoordinateTolerance TOLERANCE" << std::endl;
131 std::cerr << " Default is 1.0e-6. Relative to the first spacing element of the input image." << std::endl;
132 std::cerr << std::endl;

Callers 2

ProcessArgumentsFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected