
======= Compile and execute unit tests =======

In order to build and execute the unit tests type the commands:

cd build
cmake ..    # You can specify the following parameters:
            # -DCMAKE_BUILD_TYPE=release or -DCMAKE_BUILD_TYPE=debug
            # -DCMAKE_INSTALL_PREFIX=/some/absolute/path
make
make -f test/Makefile all   # There is no need to install the library in order to compile or execute the tests
make test   # This is the command that actually executes the tests

If you get any error please file a bug to https://sourceforge.net/tracker/?group_id=260799&atid=1137117 attaching the file build/Testing/Temporary/LastTest.log

======= Omitting tests =======

If you want one or more tests to be ignored just place a file called CTestCustom.cmake in the build/ directory with the following line (use as many lines as you need):

set(CTEST_CUSTOM_TESTS_IGNORE name_of_the_test_to_ignore)

where name_of_the_test_to_ignore is one of the following: cpu, disk, memory, network, process.
