On Mon, Apr 14, 2025 at 07:47:21PM +0200, Thomas Schwinge wrote:
>       gcc/testsuite/
>       * lib/gcc-dg.exp (${tool}_load): Polish 'dg-output-file' test
>       logs.
> ---
>  gcc/testsuite/lib/gcc-dg.exp | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/gcc/testsuite/lib/gcc-dg.exp b/gcc/testsuite/lib/gcc-dg.exp
> index eadc1cd90bc..6dd8fa3fce9 100644
> --- a/gcc/testsuite/lib/gcc-dg.exp
> +++ b/gcc/testsuite/lib/gcc-dg.exp
> @@ -507,8 +507,7 @@ if { [info procs ${tool}_load] != [list] \
>           set linenum 1
>           set outfile [open [lindex ${output-file} 1]]
>           set do_fail 0
> -         set name [file tail [lindex ${output-file} 1]]
> -         verbose "output-file args is $args program is $program" 1
> +         set name [testname-for-summary]
>           while { [gets $outfile line] >= 0 } {
>               if { $linenum != 1 } {
>                   set c [string index $output $idx]

LGTM, thanks.

        Jakub

Reply via email to