SPTAG
SPTAG copied to clipboard
cmake: run the tests by default
The tests are not run by default from make test or make check. In theory adding these two lines to Test/CMakeLists.txt should do this, but I have not been able to get it to work.
enable_testing()
add_test(test test)
Looks like this is required in the main cmake file order to run the tests:
include(CTest)