How to run tests and to report them?

Each mmx package pkgname contains some test files, which can be found in the folder pkgname/test. In order to run these tests, the option TEST should be turned ON, while configuring the package with cmake.

Then the make command produces the executable of the tests which are put in the folder ${CMAKE_BINARY_DIR}/test. Their names start with the prefix pkgname_.

To run these tests, the command make test should be used. To report them, the command ctest -D Experimental can be used.

Here is a typical sequence of instructions that can be used to test the mmx distribution:

svn checkout svn://scm.gforge.inria.fr/svn/mmx
mkdir build
cd build 
cmake -DTEST=ON ../mmx 
make 
make test 
ctest -D Experimental

The result of these tests is then reported at http://cdash.inria.fr, indicating the errors and warnings which may occur. A nightly build and check of the folder mmx is reported on this server.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License. If you don't have this file, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.