On Thu, 13 Mar 2025, 07:41 Saifi Khan, <saifi@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote: > On Thu, 6 Mar 2025, Jonathan Wakely via Gcc-help wrote: > > > On Thu, 6 Mar 2025 at 12:48, Saifi Khan > > <saifi@xxxxxxxxxxxxxxxxxxxxxxxxxx> 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 ? > We use the dejagnu test framework, as explained at this link: > > > > https://gcc.gnu.org/testing/ is somewhat out of date, but might be > interesting. > The second link there gives lots of information: https://gcc.gnu.org/onlinedocs/gccint/Testsuites.html Also: https://gcc.gnu.org/onlinedocs/libstdc++/manual/test.html The simplest answer would be to just look at some of the existing tests in gcc/testsuite/g++.dg and libstdc++-v3/testsuite > > > 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. >