mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-20 00:28:28 +08:00
Run gdb stubtests (#11644)
The gdb package is only available inside gdb and cannot be installed externally through e.g. pip. Run the stubtest inside gdb.
This commit is contained in:
119
stubs/gdb/@tests/stubtest_allowlist.txt
Normal file
119
stubs/gdb/@tests/stubtest_allowlist.txt
Normal file
@@ -0,0 +1,119 @@
|
||||
# TODO: Update types in stub
|
||||
# This list includes everything to allow initial stubtests to run in gdb's environment
|
||||
gdb.BP_NONE
|
||||
gdb.Breakpoint.stop
|
||||
gdb.BreakpointEvent
|
||||
gdb.ClearObjFilesEvent
|
||||
gdb.Command.complete
|
||||
gdb.Command.invoke
|
||||
gdb.ConnectionEvent
|
||||
gdb.ContinueEvent
|
||||
gdb.DUMMY_FRAME
|
||||
gdb.Event
|
||||
gdb.EventRegistry
|
||||
gdb.ExitedEvent
|
||||
gdb.FRAME_UNWIND_FIRST_ERROR
|
||||
gdb.FinishBreakpoint.out_of_scope
|
||||
gdb.Function.invoke
|
||||
gdb.GdbExitingEvent
|
||||
gdb.GdbSetPythonDirectory
|
||||
gdb.HOST_CONFIG
|
||||
gdb.Inferior.connection
|
||||
gdb.Inferior.thread_from_thread_handle
|
||||
gdb.InferiorCallPostEvent
|
||||
gdb.InferiorCallPreEvent
|
||||
gdb.InferiorDeletedEvent
|
||||
gdb.InferiorThread.details
|
||||
gdb.Instruction
|
||||
gdb.LazyString
|
||||
gdb.LineTable.__next__
|
||||
gdb.LineTable.is_valid
|
||||
gdb.LineTable.source_lines
|
||||
gdb.LineTable.source_lnes
|
||||
gdb.LineTableIterator
|
||||
gdb.MICommand.invoke
|
||||
gdb.Membuf
|
||||
gdb.MemoryChangedEvent
|
||||
gdb.NewInferiorEvent
|
||||
gdb.NewObjFileEvent
|
||||
gdb.NewThreadEvent
|
||||
gdb.Objfile.frame_unwinders
|
||||
gdb.Objfile.lookup_static_method
|
||||
gdb.Objfile.lookup_static_symbol
|
||||
gdb.Objfile.xmethods
|
||||
gdb.Parameter.get_set_string
|
||||
gdb.Parameter.get_show_string
|
||||
gdb.Progspace.frame_unwinders
|
||||
gdb.Progspace.xmethods
|
||||
gdb.Record
|
||||
gdb.RecordFunctionSegment
|
||||
gdb.RecordGap
|
||||
gdb.RecordInstruction
|
||||
gdb.RegisterChangedEvent
|
||||
gdb.RegisterDescriptor
|
||||
gdb.RegisterDescriptorIterator
|
||||
gdb.RegisterGroup
|
||||
gdb.RegisterGroupsIterator
|
||||
gdb.RemoteTargetConnection
|
||||
gdb.SYMBOL_FUNCTIONS_DOMAIN
|
||||
gdb.SYMBOL_TYPES_DOMAIN
|
||||
gdb.SYMBOL_VARIABLES_DOMAIN
|
||||
gdb.SignalEvent
|
||||
gdb.StopEvent
|
||||
gdb.TARGET_CONFIG
|
||||
gdb.ThreadEvent
|
||||
gdb.TuiWindow
|
||||
gdb.Type.__contains__
|
||||
gdb.Type.get
|
||||
gdb.Type.has_key
|
||||
gdb.Type.is_scalar
|
||||
gdb.Type.is_signed
|
||||
gdb.Type.items
|
||||
gdb.Type.iteritems
|
||||
gdb.Type.iterkeys
|
||||
gdb.Type.itervalues
|
||||
gdb.Type.keys
|
||||
gdb.Type.values
|
||||
gdb.TypeIterator
|
||||
gdb.Unwinder
|
||||
gdb.Value.rvalue_reference_value
|
||||
gdb.frame_filters
|
||||
gdb.frame_unwinders
|
||||
gdb.packages
|
||||
gdb.prompt_hook
|
||||
gdb.type_printers
|
||||
gdb.xmethods
|
||||
gdb.events
|
||||
gdb.printing.RegexpCollectionPrettyPrinter.RegexpSubprinter
|
||||
gdb.printing.add_builtin_pretty_printer
|
||||
gdb.prompt.prompt_help
|
||||
gdb.prompt.prompt_substitutions
|
||||
gdb.types.TypePrinter.instantiate
|
||||
gdb.unwinder.Unwinder
|
||||
gdb.xmethod.SimpleXMethodMatcher
|
||||
gdb.xmethod.XMethodMatcher.match
|
||||
gdb.xmethod.XMethodWorker.__call__
|
||||
gdb.xmethod.XMethodWorker.get_arg_types
|
||||
gdb.xmethod.XMethodWorker.get_result_type
|
||||
gdb.FrameDecorator
|
||||
gdb.FrameIterator
|
||||
gdb.command
|
||||
gdb.command.explore
|
||||
gdb.command.frame_filters
|
||||
gdb.command.pretty_printers
|
||||
gdb.command.prompt
|
||||
gdb.command.type_printers
|
||||
gdb.command.unwinders
|
||||
gdb.command.xmethods
|
||||
gdb.frames
|
||||
gdb.function
|
||||
gdb.function.as_string
|
||||
gdb.function.caller_is
|
||||
gdb.function.strfns
|
||||
gdb.printer
|
||||
gdb.printer.bound_registers
|
||||
gdb.printing.basestring
|
||||
gdb.printing.long
|
||||
gdb.xmethod.basestring
|
||||
gdb.xmethod.long
|
||||
gdb.styling
|
||||
@@ -11,6 +11,5 @@ extra_description = """\
|
||||
"""
|
||||
|
||||
[tool.stubtest]
|
||||
# Since the "gdb" Python package is available only inside GDB, it is not
|
||||
# possible to install it through pip, so stub tests cannot install it.
|
||||
skip = true
|
||||
platforms = ["linux"]
|
||||
apt_dependencies = ["gdb"]
|
||||
|
||||
Reference in New Issue
Block a user