debuginfod: Fracture tests/run-debuginfod-find.sh into specific tests

Noah Sanci nsanci@redhat.com
Mon Aug 23 14:01:24 GMT 2021


Hello,

tests/run-debuginfod-find.sh was a massive test script with many broadly
varying tests. This caused the test script to fail when any number of
things went wrong and because of its intertwined nature, detecting the
source of a failure could be difficult. The size of the test script
also meant many unrelated tests were run making the testing process
 unnecessarily lengthy.

This patch fractures tests/run-debuginfod-find.sh into smaller, more
manageable individual test script files. This ensures that when failure
occurs, a programmer can easily determine where their patch went
wrong. It also allows programmers to specify exactly which tests to
run, making testing more efficient. Redundancies are also reduced by
placing code in tests/test-subr.sh.

Please find the patch attached.

Noah Sanci
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debuginfod-Fracture-tests-run-debuginfod-find.sh-int.patch
Type: text/x-patch
Size: 127307 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/elfutils-devel/attachments/20210823/99f1aa8b/attachment-0001.bin>


More information about the Elfutils-devel mailing list