[Insight-developers] Dashboard should run tests again

Miller, James V (CRD) millerjv@crd.ge.com
Fri, 1 Jun 2001 15:49:05 -0400


I found the problem with the Dashboard scripts not finding any tests to run.  There was an assumption
in Utility.tcl.in that there would be only one instance of a SUBDIRS or TESTS cmake command per
CMakeLists.txt file.  

With the restructuring of the CMakeLists.txt files to support "options" (where the user can select to
run tests or not, or build unsupported or not, etc.), our CMakeLists.txt files can now have multiple
SUBDIRS and TESTS commands (nested in IF commands) per CMakeLists.txt file.

To be completely correct, this proc should not limit itself to just CMakeLists.txt files but to any
file "included" by these. Furthermore, we should only use SUBDIRS and TESTS commands that are not
excluded by IF commands. I can add this capability to the Utility.tcl.in script; however, we recently
discussed having CMake parse the CMakeLists.txt files and pass this information do the Testing
scripts.  I think this is the better way to do this.

Kitware: do you want to modify CMake to do this or should I?


Jim Miller
_____________________________________
Visualization & Computer Vision 
GE Corporate Research & Development
Bldg. KW, Room C218B
P.O. Box 8, Schenectady NY 12301

millerjv@crd.ge.com <mailto:millerjv@crd.ge.com> 
(518) 387-4005, Dial Comm: 8*833-4005, 
Cell: (518) 505-7065, Fax: (518) 387-6981


 <<Miller, James V (CRD).vcf>> 

begin 600 Miller, James V (CRD).vcf
M0D5'24XZ5D-!4D0-"E9%4E-)3TXZ,BXQ#0I..DUI;&QE<CM*86UE<PT*1DXZ
M36EL;&5R+"!*86UE<R!6("A#4D0I#0I/4D<Z0U)$.T533`T*5$E43$4Z0V]M
M<'5T97(@4V-I96YT:7-T#0I414P[5T]22SM63TE#13HJ.#,S+30P,#4-"E1%
M3#M73U)+.U9/24-%.C$@-3$X(#,X-RTT,#`U#0I!1%([5T]22SH[2U<M0S(Q
M.$([4"Y/+B!";W@@.#M38VAE;F5C=&%D>3M.97<@66]R:SLQ,C,P,3M54T$-
M"DQ!0D5,.U=/4DL[14Y#3T1)3D<]455/5$5$+5!224Y404),13I+5RU#,C$X
M0CTP1#TP05`N3RX@0F]X(#@],$0],$%38VAE;F5C=&%D>2P@3F5W(%EO<FL@
M,3(S,#$],$0],$%54T$-"D5-04E,.U!2148[24Y415).150Z;6EL;&5R:G9`
M8W)D+F=E+F-O;0T*4D56.C(P,#$P-#(P5#$T,#,R.5H-"D5.1#I60T%21`T*
`
end