drgn/tests
Omar Sandoval 6d980a95a7 Add better rlcompleter
The standard library rlcompleter doesn't support expressions involving
an item lookup (e.g., x[0] or x['foo']). This is a pain for the drgn
CLI, because it's common to use prog['variable'] and want to
autocomplete it. Instead of using the standard library rlcompleter,
implement our own, cleaned up version of it with the ability to handle
expressions containing [key]. rlcompleter already allows for arbitrary
__getattr__() calls, and __getitem__() isn't any different.
2018-05-13 23:51:42 -07:00
..
__init__.py type: improve type handling 2018-02-24 19:37:51 -08:00
test_leb128.py dwarf: rewrite drgn.dwarf in pure Python 2018-03-26 01:51:20 -07:00
test_memberdesignator.py Add member designator parser 2018-05-13 00:41:20 -07:00
test_program.py program: fix ProgramObject.__round__() with ndigits is not None 2018-05-13 00:47:44 -07:00
test_rlcompleter.py Add better rlcompleter 2018-05-13 23:51:42 -07:00
test_type.py type: make offsetof() and typeof() accept arbitrary member designators 2018-05-13 00:42:50 -07:00
test_typeindex.py typeindex: fix mypy errors in drgn.program 2018-05-12 15:34:00 -07:00
test_typename.py typename: use a better canonical formatting for integer types 2018-04-29 23:56:31 -07:00