[PATCH v2 3/8] Add self-test framework to gdb

Tom Tromey tom@tromey.com
Fri Apr 29 15:13:00 GMT 2016


Yao> I'd like the framework to only run tests from one module in one gdb
Yao> instance, restart gdb after they are finished, and continue running
Yao> tests from other modules.  For example, we have registered three self
Yao> tests in different modules,

Sounds reasonable.

It would also be possible to use exceptions rather than asserts.
Then the current single command could be kept, since gdb wouldn't abort
on failure.

Let me know which you'd prefer.

Tom



More information about the Gdb-patches mailing list