This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Travis CI setup
- From: Ciro Santilli <ciro dot santilli at gmail dot com>
- To: Simon Marchi <simon dot marchi at polymtl dot ca>
- Cc: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Sun, 26 Jul 2015 13:51:39 +0200
- Subject: Re: Travis CI setup
- Authentication-results: sourceware.org; auth=none
- References: <CAFXrp_eg_B0D5KL6+NCMetZjNdMk68mMKnnfkTsHh+HtQvCVxA at mail dot gmail dot com> <CAFXXi0nxiGzUd8Foyfw0M_8j1xCyd=_gD4sJ6rV7u-Hz9tWCjw at mail dot gmail dot com>
Thanks for the tip! I have added it as well, and the number of tests did go up.
I think on 14.04 apt-get build-dep installs it, but apparently not in 12.04.
On Sat, Jul 25, 2015 at 7:42 PM, Simon Marchi <simon.marchi@polymtl.ca> wrote:
> On 25 July 2015 at 13:34, Ciro Santilli <ciro.santilli@gmail.com> wrote:
>> I've made a Travis CI build at:
>> https://github.com/cirosantilli/binutils-gdb/tree/gdb/travis
>>
>> It runs in an Ubuntu 12.04 AMD64 machine.
>>
>> It finishes in 20 minutes with 30 errors:
>> https://s3.amazonaws.com/archive.travis-ci.org/jobs/72605568/log.txt ,
>> less than the 46 on my Ubuntu 14.04 machine, and the same Buildbot
>> commit result.
>>
>> With parallel tests make -j$(ncpus) it runs in 4 minutes, but the
>> error rate goes up.
>>
>> Best of all: free testing infrastructure, that can be used by anyone
>> to test commits on branches before they are merged.
>>
>> Let me know if the build steps on the .travis.yml can be improved
>> somehow to reduce false errors.
>
> Hi Ciro,
>
> You could install the systemtap-sdt-dev package, that would allow
> running the tests that currently exit early with:
>
> fatal error: sys/sdt.h: No such file or directory
>
> They probably show as untested or unsupported right now, so it won't
> reduce the number of failures, just raise the number of passes.
>
> Simon