summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-08-11 05:53:56 -0700
committerH.J. Lu <hjl.tools@gmail.com>2021-08-11 06:04:29 -0700
commit0d81afad67091936f75457fac19f6c136669c2b8 (patch)
treef3312d955fe22bffaf7fe875d1ca23ce7a087882
parent12612c24a6bd5cdcfb60cd254295b21a5ec8594a (diff)
downloadbinutils-gdb-0d81afad67091936f75457fac19f6c136669c2b8.tar.gz
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.
-rw-r--r--ld/testsuite/ld-plugin/lto.exp8
1 files changed, 4 insertions, 4 deletions
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"