diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2023-02-27 20:00:25 +0100 |
---|---|---|
committer | Hans-Peter Nilsson <hp@bitrange.com> | 2023-02-28 02:26:17 +0100 |
commit | cdbcd46c1b521c57637af6d001241aa658e96651 (patch) | |
tree | 973557336534d5210b2e7ab810f704f5f07aa0d0 /gcc | |
parent | 5c70121c57c544a9afeb842984c9a0a36816c590 (diff) | |
download | gcc-cdbcd46c1b521c57637af6d001241aa658e96651.zip gcc-cdbcd46c1b521c57637af6d001241aa658e96651.tar.gz gcc-cdbcd46c1b521c57637af6d001241aa658e96651.tar.bz2 |
testsuite: Shorten multiline pattern message to the same for fail and pass
As recommended by testsuite maintainer: Regression analysis
works only if the string is the same.
testsuite:
* lib/multiline.exp (handle-multiline-outputs): Shorten
message to the same for fail and pass.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/lib/multiline.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/lib/multiline.exp b/gcc/testsuite/lib/multiline.exp index 5eccf2b..cfd928f 100644 --- a/gcc/testsuite/lib/multiline.exp +++ b/gcc/testsuite/lib/multiline.exp @@ -169,9 +169,9 @@ proc handle-multiline-outputs { text } { # Use "regsub" to attempt to prune the pattern from $text if {[regsub -line $rexp $text "" text]} { # The multiline pattern was pruned. - ${maybe_x}pass "$title was found" + ${maybe_x}pass "$title" } else { - ${maybe_x}fail "$title not found" + ${maybe_x}fail "$title" } set index [expr $index + 1] |