Automatic tests - a few general questions

Dirk Hohndel dirk at hohndel.org
Thu Mar 16 10:55:26 PDT 2017


> On Mar 16, 2017, at 10:25 AM, Stefan Fuchs <sfuchs at gmx.de> wrote:
> 
> Hi All,
> 
> currently I try to learn how the automatic tests work :-)
> I think I almost understood what I have to do to add automatic tests for the minimum gas calculation but I first have a few general questions:
> 
> - In linux build building the tests is ON by default, in mxe build it is OFF. Could we switch this ON there by default as well?
> 

This is simply a CMake variable - so your build script can pass in ON or 
OFF as you want.
> - My assumption is that if building tests is ON, the tests will be run as well during build. For linux this should work immediately. For mxe build I need wine to run the windows exe files. I installed wine and in fact I can now run the exe tests under linux. But I'm still not sure if they are automatically run during build (both linux and MXE). Where will the test results go? There is nothing in build.log or winbuild.log or stdout.
> 

Tests are NOT automatically run when doing a build - and I'd find this 
extremely annoying when I'm working on a feature, TBH.

/D

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20170316/d68f11f1/attachment.html>


More information about the subsurface mailing list