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 6/7] python: Add tests for record Python bindings


On 2016-10-28 09:48, Wiederhake, Tim wrote:
If you are recording using the "full" method and try to access the
data from Python, you get a not-yet-implemented exception. All we can
test in this case is that the recording method in the gdb.Record
object is displayed properly, i.e. gdb.current_recording().method ==
"full". I could rename py-record.exp to py-record-btrace.exp and add a
py-record-full.exp with that exact test in it, but I don't see too
much value in that. Your opinion?

I think that at least renaming it to py-record-btrace.exp as you suggested would be good, since it tests specifically btrace. That will leave room for an eventual py-record.exp including more generic tests.


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