Run test suite.

Jan Iversen jani at apache.org
Thu Jul 5 11:47:27 PDT 2018


Just controlled CMakelists.txt it sets (as you wrote) MAKE_TESTS on, but when I do

c:subsurface jani$ vi CMakeLists.txt
janMac:subsurface jani$ make check
make: *** No rule to make target `check'.  Stop.

What am I missing ?

Rgds
Jan I.
Enviado desde mi iPad

> El 5 jul 2018, a las 18:23, Dirk Hohndel <dirk at hohndel.org> escribió:
> 
> You sent that to an odd github address :-)
> 
>> On Jul 5, 2018, at 9:05 AM, Jan Iversen <jani at apache.org> wrote:
>> 
>> It seems Linux2 on travis runs the test suite.
> 
> Indeed
> 
>> How can I build a test executable and run it on my mac ?
>> (I am about to write a lot of test cases, and would like to test locally before pushing the PR).
> 
> Make sure that MAKE_TESTS is set  to ON (that's the default).
> Then run 
> make check
> Right now that seems broken for me out of the box because it can't find the libgit2 
> shared library - but that's easy to fix.
> 
> 
> /D


More information about the subsurface mailing list