[PATCH v4 2/5] CRC64 testsuite
Nick Clifton
nickc@redhat.com
Thu Feb 23 10:10:23 GMT 2023
Hi Ulf,
>> Did you actually try running these new tests ?
>>
> No, I am yet to learn how to do the tests
> so I hoped that copying the the resulting text segment
> would be sufficient, and if not, someone would tell me.
>
> Is there any documentation on how to run the tests?
Just run "make check". (In the top level directory where
you built the binutils).
Or if you only want to run one specific testsuite, eg the
linker testsuite then change into the relevant directory and
run "make check"
Or, if you only want to run a sub-set of a specific testsuite
then use the RUNTESTFLAGS option to specify the test script
you want to run. For example if you only want to run the
linker script tests then:
% cd <binutils-build-dir>/ld
& make check RUNTESTFLAGS="ld-scripts/script.exp"
Note - when you are creating a patch that affects generic
binutils code, such as your CRC64 patch series, it is a good
idea to test multiple versions of the binutils each built for
a different target architecture. At a minimum I would suggest
using builds configure with:
--target=x86_64-pc-linux-gnu
--target=x86_64-w64-mingw32
--target=aarch64-linux-gnu
--target=powerpc64-linux-gnu
--target=mips-elf
--enable-targets=all --enable-64-bit-bfd
Cheers
Nick
More information about the Binutils
mailing list