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

Miller, James V (CRD) millerjv@crd.ge.com
Thu, 23 Aug 2001 12:03:01 -0400


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