Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] jenkins test environment

Hi Jesper,

I am not sure what is best plan to address getting cmake on build
machine, or if that is even necessary. So I will try to answer the
other part of your questions.

I have had trouble in the past with things like gcc versions. The
tests just use gcc on the path. Until the recent(ish) upgrade to the
HIPPs that meant we had a much older gcc than expected. The DSF-GDB
tests have a workaround because gcc doesn't support the flags [1].
For GDB it is necessary to test against numerous actual GDBs, so there
is a script to build them all[2]. These gdbs are then available in the
tests, with specific CI jobs that run against all of them[3]
Additionally there is a job that tests current master CDT against
current master GDB[4].


[1] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/tree/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/data/launch/src/Makefile?id=936daa337b74e79b9ee90ebeafb6d1b64db31340#n35
[2] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/tree/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/scripts/download-build-gdb.sh
[3] https://ci.eclipse.org/cdt/job/debug-tests-master-all-gdb-versions/
[4] https://ci.eclipse.org/cdt/job/debug-tests-master-gdb-master/

HTH
Jonah

~~~
Jonah Graham
Kichwa Coders Ltd.
www.kichwacoders.com


On 3 April 2017 at 16:27, Jesper Eskilson <Jesper.Eskilson@xxxxxxx> wrote:
> Ok.
>
>
> Btw, how does the rest of the test system deal with things that require e.g.
> a compiler?
>
>
> /Jesper
>
>
> ________________________________
> From: cdt-dev-bounces@xxxxxxxxxxx <cdt-dev-bounces@xxxxxxxxxxx> on behalf of
> Doug Schaefer <dschaefer@xxxxxxxxxxxxxx>
> Sent: Monday, April 3, 2017 5:22 PM
> To: CDT General developers list.
> Subject: Re: [cdt-dev] jenkins test environment
>
> Ideally, to test the CDT, you should probably be mocking out system
> dependencies. It’ll be hard to ensure a consistent environment from machine
> to machine.
>
> Doug.
>
> From: <cdt-dev-bounces@xxxxxxxxxxx> on behalf of Jesper Eskilson
> <Jesper.Eskilson@xxxxxxx>
> Reply-To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
> Date: Monday, April 3, 2017 at 10:58 AM
> To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
> Subject: [cdt-dev] jenkins test environment
>
> Hi,
>
>
> I'm attempting to write some automated tests which use CMake, and I was
> wondering which (if any) assumptions I can make about the Jenkins test
> environment. More specifically, can I expect "cmake" to be installed? gcc?
> Ninja?
>
>
> I guess this also raises the question of whether or not CDT can bundle CMake
> or not.
>
>
> /Jesper
>
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top