SPTAG icon indicating copy to clipboard operation
SPTAG copied to clipboard

cmake: run the tests by default

Open pabs3 opened this issue 4 years ago • 1 comments

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)

pabs3 avatar May 12 '21 01:05 pabs3

Looks like this is required in the main cmake file order to run the tests:

include(CTest)

pabs3 avatar Aug 21 '21 06:08 pabs3