diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/README.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cmake/README.txt b/cmake/README.txt index 60dde159..451f2a6c 100644 --- a/cmake/README.txt +++ b/cmake/README.txt @@ -79,3 +79,17 @@ and several other files). Proceed as describe above for cross-compilers. The command "make ; make package" will build gawk.exe and the installer file +- How can I run test cases ? +You can run all the test cases that are defined in test/Makefile.am. +These test case scripts were not changed, but the way they are invoked has +been adapted to CMake habits. +See http://cmake.org/Wiki/CMake/Testing_With_CTest#Simple_Testing + cmake .. + make + make test # run all test cases + ctest -N # list all test cases but don't run them + ctest -R BASIC # run all test case belonging to group BASIC + ctest -R MPFR # run all test case belonging to group MPFR + ctest -E SHLIB.filefunc # run all tests, except the SHLIB.filefunc test case +Remember that running test cases is possible only after a native build. + |