Use a dedicated header for elftc_get_program_name(3).
This change allows the function to be used without needing
<libelf.h> (included via <libelftc.h>) to be present.
libelf/test-suite: Simplify use of the TP_SET_VERSION() macro.
This macro is used early during test case setup (before other
test resources are allocated), so we can just return with an
'UNRESOLVED' test status if setup fails.
tests/tet: (WIP) Improve test conciseness.
TET handles multiple calls to tet_result() in a well-defined
way: when there are multiple calls to tet_result() from
within a test, 'FAIL' or 'UNRESOLVED' test statuses will
override any subsequent 'PASS' statuses. Use this behavior
to remove the need to track test status using a dedicated
'result' variable.
Subsequent changes will remove the now-redundant 'result'
variable from test case code.