[PATCH 6/7] python: Add tests for record Python bindings

Simon Marchi simon.marchi@polymtl.ca
Fri Oct 28 17:47:00 GMT 2016


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.



More information about the Gdb-patches mailing list