https://sourceware.org/bugzilla/show_bug.cgi?id=34580
Bug ID: 34580
Summary: ld testsuite omits results entirely when CC_FOR_TARGET
cannot build
Product: binutils
Version: 2.47
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: Hemanth.KumarMD at windriver dot com
Target Milestone: ---
Description:
When CC_FOR_TARGET cannot build a trivial executable,
check_compiler_available
(ld/testsuite/lib/ld-lib.exp) caches a negative result, and ~22 .exp files
then
do a bare "return" that logs nothing -- no PASS/FAIL/UNSUPPORTED/UNTESTED.
Several hundred compiler-dependent tests vanish from ld.sum silently.
Reproduce:
export CC_FOR_TARGET="gcc --sysroot=/nonexistent"
runtest --tool ld
ld.sum then shows "Running .../ld-plugin/lto.exp ..." immediately followed
by
the next file, with no result lines for the compiler-dependent tests.
Expected: emit UNSUPPORTED (or UNTESTED) instead of returning silently --
which
is what run_ld_link_tests/run_dump_test in ld-lib.exp already do for the same
condition, and what files like ld-scripts/crossref.exp and
ld-unique/unique.exp
already do.
--
You are receiving this mail because:
You are on the CC list for the bug.