[sword-devel] cmake python

cricketc at gmail.com cricketc at gmail.com
Tue Dec 18 19:27:04 MST 2012


On Tue, Dec 18, 2012 at 10:47 AM, Greg Hellings <greg.hellings at gmail.com> wrote:
> If you configure with SWORD_BUILD_TESTS="Yes" CMake will configure the tests.
>
> You can then issue 'make tests' from the top build directory and it
> will build _and_ attempt to run all the tests. Now it fails for me on
> the first one because of a missing directory "../../osistest". I have
> a feeling this is because I force the build to be out-of-stream? I
> don't really know, as I have never run our test suite. But if you want
> to compile and run the tests manually, all you need to do is specify
> 'make tests' and they'll be built in the tests/ subdirectory of your
> build dir.

OK, user error. :) I wasn't running make tests - now I see the tests
and can run them.

Thanks,
-Ben



More information about the sword-devel mailing list