Looks like there is a little post-processing required to convert gtest's
xml to JTest format.

http://stackoverflow.com/a/14074664/1006048

We also use jenkins to periodically run a large battery of tests on the
code and spit the results to various formats that feed into SonarQube.
We've found a lot of small errors with our setup.

A few of the things we run (these are on our linux builds only but the
static/dynamic analysis is relevant regardless)

valgrind
cpncss
gcovr
vera++
rats
cppcheck

cppcheck in particular can be a little time consuming to get setup, but
they are well worth it in the end.

Gavin S


On Wed, Nov 27, 2013 at 12:08 PM, RJ Ryan <rr...@mixxx.org> wrote:

> Hi Gavin,
>
> The test suite is cross platform (we use gtest/gmock). You can build it
> with scons test=1.
>
> Switching away from Jenkins would be a lot of work. We have Windows, Mac
> and Linux buildbots building every commit. Running the test suite on every
> build is definitely feasible. Last time I worked on that Jenkins didn't
> understand gtest's output so we didn't get nice stats tracking.
>
> Now that we are on github there are Jenkins plugins that will autorun the
> tests for pull requests and comment on the PR if they fail. We should get
> that setup!
>
> Please write tests!
>
> Cheers,
> RJ
> On Nov 27, 2013 1:46 PM, "Gavin Swanson" <gavinswan...@gmail.com> wrote:
>
>> Typically you'd want to run the test suite against every potential push
>> to master. And then periodically on master to catch anything that comes in
>> as a result of merges etc.
>>
>> I haven't looked at the test suite yet. Will it only run under linux?
>> That would seem like a supremely sub-optimal solution since mixxx targets
>> multiple platforms. There are all kinds of problems that can crop up on one
>> platform and not the other.
>>
>> Gavin S
>>
>>
>> On Wed, Nov 27, 2013 at 10:33 AM, Max Linke <max_li...@gmx.de> wrote:
>>
>>> On Wed, 2013-11-27 at 20:26 +0200, Tuukka Pasanen wrote:
>>> > > Can we also have jenkins build and run the test-suite automatically
>>> on
>>> > > every push to the master branch? That way it would be easier to
>>> detect
>>> > > accidental regressions.
>>>
>>> > Hello,
>>> > We are using buildbot and it's much more simpler to setup than
>>> > Jenkins. Jenkins is swiss army knife I know but it's too husstle to
>>> > setup (Or is it simpler now a days?). Should we also have builds for
>>> > Windows (MinGW) and Linux (Mac should be nice but it is so hard to
>>> > cross compile on Linux) every commit so we can get wider audience to
>>> > test?
>>>
>>> rryan is in charge of the build-server if he decides to change to
>>> buildbot or something else it's up to him. The current setup build mixxx
>>> on mac OS, windows, linux each on a separate virtual machine. I'm not
>>> sure if we are gaining something by switching to cross compiles from
>>> linux.
>>>
>>> best Max
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Rapidly troubleshoot problems before they affect your business. Most IT
>>> organizations don't have a clear picture of how application performance
>>> affects their revenue. With AppDynamics, you get 100% visibility into
>>> your
>>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of
>>> AppDynamics Pro!
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Get Mixxx, the #1 Free MP3 DJ Mixing software Today
>>> http://mixxx.org
>>>
>>>
>>> Mixxx-devel mailing list
>>> Mixxx-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/mixxx-devel
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Rapidly troubleshoot problems before they affect your business. Most IT
>> organizations don't have a clear picture of how application performance
>> affects their revenue. With AppDynamics, you get 100% visibility into your
>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
>> Pro!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Get Mixxx, the #1 Free MP3 DJ Mixing software Today
>> http://mixxx.org
>>
>>
>> Mixxx-devel mailing list
>> Mixxx-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mixxx-devel
>>
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to