On 5/14/26 3:28 PM, Marek Polacek wrote:
On Thu, May 14, 2026 at 03:17:23PM -0400, Eczbek wrote:
Thanks for the feedback. How should I say that my patch has been tested in the
future?
https://gcc.gnu.org/contribute.html#testing has a few notes. For
regression testing, I have something like:
export GXX_TESTSUITE_STDS=98,11,14,17,20,23,26
.../gcc/configure --enable-languages=default --enable-checking=yes --with-gnu-ld --with-gnu-as
--disable-bootstrap --disable-libvtv --disable-liboffloadmic && make -j24 2>&1 | tee LOG
&& make -j24 -k check 2>&1 | tee LOGC
which is run twice, with and without the patch, then I compare
the results with
cd .../trunk
.../gcc/contrib/test_summary > LOGT
cd .../trunk.pristine
.../gcc/contrib/test_summary > LOGT
cd .../trunk
vimdiff LOGT .../trunk.pristine/LOGT
There's also contrib/compare_tests.
Also, the patch was corrupted by the mailer so it does not apply with
'git am'. See
https://www.kernel.org/doc/html/latest/process/email-clients.html
Jason