This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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"

-- 
Yao (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]