testsuite/run_dump_test improvement
Hans-Peter Nilsson
hp@bitrange.com
Wed May 6 01:50:55 GMT 2020
On Mon, 4 May 2020, Fangrui Song via Binutils wrote:
> Hi all, may the force be with you!
>
> I have known check-gas, check-ld and check-binutils for a while, as well
> as "many tests are organized as these *.d files", but I know very little
> about the underlying test framework. TIL
> binutils/testsuite/lib/binutils-common.exp run_dump_test is the core
> that runs as, ld, and checks the output of a dump program matches the
> expected patterns in the .d file (or #dump:).
>
> Here is my first complaint: the test framework is undocumented.
Hey, it's documented in the source, and since you found the
file, that can't be too bad and you should have found the answer
to those of your questions. If you want more, patches are
likely welcome. (Having said that, if you don't derive the
documentation from the source, it's bound to be outdated.)
brgds, H-P
More information about the Binutils
mailing list