[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug default/24277] New: dwz needs testsuite
https://sourceware.org/bugzilla/show_bug.cgi?id=24277
Bug ID: 24277
Summary: dwz needs testsuite
Product: dwz
Version: unspecified
Status: NEW
Severity: enhancement
Priority: P2
Component: default
Assignee: nobody at sourceware dot org
Reporter: vries at gcc dot gnu.org
CC: dwz at sourceware dot org
Target Milestone: ---
With dwz bugs like:
- PR24274 "low-mem files processed in multifile mode"
- PR24275 "hardlink handling leaves temporary file if not file compressed"
it becomes clear that we need a dwz testsuite, to:
- be able to add tests to patches fixing those PRs to verify that they're fixed
- check that patches fixing those PRs don't break other behaviour
The gdb testsuite contains two dwz test modes in conjunction with
target_board=cc-with-tweaks:
- CC_WITH_TWEAKS_FLAGS='-z' (regular dwz)
- CC_WITH_TWEAKS_FLAGS='-m' ()
but that tests just the dwarf output, and uses dwz in a limited amount of ways.
It's debatable whether we want to add (possibly large) executables to the
testsuite to test assert fixes which are typically not triggered with hello
world type examples.
But adding hello world type examples should be possible, and for that we need
some testsuite infrastructure.
--
You are receiving this mail because:
You are on the CC list for the bug.