From: H.J. Lu Date: Wed, 11 Aug 2021 12:53:56 +0000 (-0700) Subject: ld: Update the pass and fail strings of PR ld/28138 test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0d81afad67091936f75457fac19f6c136669c2b8;p=binutils-gdb.git ld: Update the pass and fail strings of PR ld/28138 test 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. --- diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp index 999d911ce6a..68d2db1caeb 100644 --- a/ld/testsuite/ld-plugin/lto.exp +++ b/ld/testsuite/ld-plugin/lto.exp @@ -710,15 +710,15 @@ if [string match "" $exec_output] then { 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"