testing GCC builds

Saifi Khan saifi@SoftwareFreedomProject.org
Thu Mar 13 07:38:37 GMT 2025


On Thu, 6 Mar 2025, Jonathan Wakely via Gcc-help wrote:

> On Thu, 6 Mar 2025 at 12:48, Saifi Khan
> <saifi@softwarefreedomproject.org> wrote:
>>
>> Hi:
>>
>> With some comfort level in building GCC, i'd like to learn howto test GCC.
>>
>> I'm particularly interested in
>> - testing the dev builds
>> - automation scripts
>> - parts specific to C++, libstdc++
>>
>> Does anyone have a suggestion for a good starting point? Is there a framework and/or language one needs to learn to be able to effectively test GCC ?
>
> Do you mean using the existing testsuite (which just involves "make
> check") or developing new tests?

As part of the GCC build automation, i already do 'make check'.

I'm keen to learn how to write tests that test parts of GCC specific to C++, libstdc++. Hence my query, is there a framework and/or language that one needs to learn to be able to write tests ?

>
> https://gcc.gnu.org/testing/ is somewhat out of date, but might be interesting.
>

Thanks for the link. The page lists out multiple packages that may be compiled with GCC. That's an interesting proposition.

In addition, i noted that one of the link points to 'Laminar CI'
https://github.com/ohwgiles/laminar

Is this something that is something that is part of GCC CI tooling ?


warm regards
Saifi.


More information about the Gcc-help mailing list