[Insight-developers] RE: [Cmake] Added make test rule on UNIX

Ken Martin ken.martin@kitware.com
Thu, 23 Aug 2001 13:14:29 -0400


Good idea. I checked in a change to ctest.cxx that should do this but
haven't tested it.

Ken

> -----Original Message-----
> From: Miller, James V (CRD) [mailto:millerjv@crd.ge.com]
> Sent: Thursday, August 23, 2001 12:03 PM
> To: 'Ken Martin'; Insight; Vtk-Developers@Public. Kitware. Com;
> Cmake@Public. Kitware. Com
> Subject: RE: [Cmake] Added make test rule on UNIX
>
>
> Ken,
>
> It looks like ctest is only looking to run programs that
> are built by CMake.  The ADD_TEST command,
> on the other hand, is not limited to running a command
> built by CMake.  For instance, the program
> listed in ADD_TEST could be wish, java, etc.
>
> Could the FindExecutable() method also try a program in the
> user's path?
>
> Jim
>
> -----Original Message-----
> From: Ken Martin [mailto:ken.martin@kitware.com]
> Sent: Thursday, August 23, 2001 11:50 AM
> To: Insight; Vtk-Developers@Public. Kitware. Com;
> Cmake@Public. Kitware.
> Com
> Subject: [Cmake] Added make test rule on UNIX
>
>
> I have updated cmake to build and install a program called ctest.
> ctest will run the tests specified in the CMakeLists.txt files for a
> CMake tree. I also modified cmUnixMakefileGenerator to add a test
> target.  So theoretically you should be able to do something like
>
> cd Insight-Linux
> cmake ../Insight
> make
> make test
>
> I have tested it a little bit with VTK but let me know if
> you run into
> any problems.
>
> Thanks
> Ken
>
>
> _______________________________________________
> Cmake mailing list
> Cmake@public.kitware.com
> http://public.kitware.com/mailman/listinfo/cmake