[PATCH,v3 testsuite] Fix some duplicate test names

Pedro Alves palves@redhat.com
Tue May 26 19:35:58 GMT 2020


On 5/26/20 8:02 PM, Luis Machado via Gdb-patches wrote:

> @@ -45,10 +45,10 @@ proc break_at { breakpoint where } {
>  
>      set test "break $breakpoint"
>      set bp 0
> -    gdb_test_multiple "$test" "$test" {
> +    gdb_test_multiple "$test" "$test inserted as number $bp" {

As discussed, this change should be backed out, and replaced with
with_test_prefix, right?  $bp is always zero here.

>  	-re "Breakpoint (\[0-9\]*) at .*$where.*$gdb_prompt $" {
>  	    set bp $expect_out(1,string)
> -	    pass "$test"
> +	    pass $gdb_test_name
>  	}
>      }
>      return $bp


Thanks,
Pedro Alves



More information about the Gdb-patches mailing list