PR ld/28138
* testsuite/ld-plugin/lto.exp: Update the pass and fail strings
of PR ld/28138 test to indicate which part of the test passed
and failed.
if { [isnative] } {
set exec_output [run_host_cmd "tmpdir/pr28138" ""]
if [string match "PASS" $exec_output] then {
- pass "PR ld/28138"
+ pass "PR ld/28138 (build & run)"
} else {
- fail "PR ld/28138"
+ fail "PR ld/28138 (built ok, run failed)"
}
} else {
- pass "PR ld/28138"
+ pass "PR ld/28138 (build only)"
}
} else {
- fail "PR ld/28138"
+ fail "PR ld/28138 (build only)"
}
set testname "Build liblto-11.a"