[Insight-users] itk Tests

Miller, James V (Research) millerjv at crd.ge.com
Tue, 24 Feb 2004 08:36:48 -0500


The test suite can be run using CTest or Dart. CTest is distributed
as part of CMake and it the easiest way to run tests. From your 
toplevel build  directory, you can type

ctest 

to run the entire test suite.

ctest -D Debug

will run the test sequence using a Debug build.

ctest -D Release

will run the test sequence using a Release build.

ctest -V 

will print out the test's output as it runs.

ctest -R <regular_expression>

will run all tests that match the specified regular expression, 
for instance

ctest -R Threshold

will run all tests that have "Threshold" in their name.

These options can be combined.  I usually use something like

ctest -D Debug -V -R Threshold

to run all the tests with "Threshold" in the name, using the 
debug build and print the output of each test as it runs.



-----Original Message-----
From: Ab Sayeed [mailto:ab_sayeed at yahoo.com]
Sent: Tuesday, February 24, 2004 3:48 AM
To: insight-users at itk.org
Subject: [Insight-users] itk Tests


Does anyone know what the itk tests and test results
mean 
or how to correctly run them?

for example
itkAlgorithmsTest.exe
itkBasicFilterHeaderTest.exe

These contain multiple options, some of which produced

outputs, some state "Passed" others do not. 

Any resources describing these tests and the meaning
of the 
outputs or how to run the entire test suite would be
appreciated. 

Thanks

Ab

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users