Re: [PATCH 03/12] Step over exit with reinsert breakpoints

Pedro Alves
2016-06-13T15:01:14Z

On 06/13/2016 03:52 PM, Yao Qi wrote:
> Pedro Alves <palves@redhat.com> writes:
>
>>> +gdb_test "continue" "exited normally.*" "continue to end (2)"
>>> +gdb_test "inferior 1" ".*Switching to inferior 1.*" \
>>> + "switch back to inferior 1 (2)"
>>
>> Please don't use trailing " ($foo)" to differentiate tests (throughout).
>
> so, I use "first time" and "second time" to differentiate the test, like
>
> gdb_test "inferior 1" ".*Switching to inferior 1.*" \
> "switch back to inferior 1, second time"

Yes, that's fine.

Thanks,
Pedro Alves