Testing patches before push to trunk

Nick Clifton nickc@redhat.com
Wed Nov 2 11:53:22 GMT 2022


Hi Indu,

> Is there a way I can test the patch series on a wider set of 
> platforms/environments and weed out the issues before the 
> patch set is integrated ? 

You can always cross-build to more targets.  This is probably
not very useful however unless the patch you are checking is
to generic code.

You can build and test with a toolchain enabled for all targets.
ie:

   <path-to-binutils-sources>/configure --enable-targets=all --enable-64-bit-bfd


> If not, what other tests are recommended ?

Running the gold testsuite is generally a good idea, although
in the particular case of your sframe patch series I doubt if
this will show up any regressions.

If you want to be really thorough then building gdb from the
patched sources and then runnings its testsuite would also be
wise.  Just in case there is a problem with gdb's use of the
BFD library.

Cheers
   Nick





More information about the Binutils mailing list