[Lldb-commits] [PATCH] D131539: [lldb] Make sure all Python API tests are marked as NO_DEBUG_INFO_TESTCASE

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 9 20:26:25 PDT 2022


JDevlieghere created this revision.
JDevlieghere added reviewers: mib, kastiglione.
Herald added a project: All.
JDevlieghere requested review of this revision.

I noticed a few Python API tests (`test/API/python_api`) were not marked as `NO_DEBUG_INFO_TESTCASE` causing them to be rerun needlessly with different debug info variants. Instead of adding `NO_DEBUG_INFO_TESTCASE`, I decided it would be less error prone to convert all of them to a new test case format (`PythonAPITest`) which has that property set.


https://reviews.llvm.org/D131539

Files:
  lldb/packages/Python/lldbsuite/test/lldbtest.py
  lldb/test/API/python_api/breakpoint/TestBreakpointAPI.py
  lldb/test/API/python_api/class_members/TestSBTypeClassMembers.py
  lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py
  lldb/test/API/python_api/debugger/TestDebuggerAPI.py
  lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
  lldb/test/API/python_api/disassemble-raw-data/TestDisassembleRawData.py
  lldb/test/API/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py
  lldb/test/API/python_api/event/TestEvents.py
  lldb/test/API/python_api/file_handle/TestFileHandle.py
  lldb/test/API/python_api/findvalue_duplist/TestSBFrameFindValue.py
  lldb/test/API/python_api/formatters/TestFormattersSBAPI.py
  lldb/test/API/python_api/frame/TestFrames.py
  lldb/test/API/python_api/frame/get-variables/TestGetVariables.py
  lldb/test/API/python_api/frame/inlines/TestInlinedFrame.py
  lldb/test/API/python_api/function_symbol/TestDisasmAPI.py
  lldb/test/API/python_api/function_symbol/TestSymbolAPI.py
  lldb/test/API/python_api/get-value-32bit-int/TestGetValue32BitInt.py
  lldb/test/API/python_api/hello_world/TestHelloWorld.py
  lldb/test/API/python_api/interpreter/TestCommandInterpreterAPI.py
  lldb/test/API/python_api/interpreter/TestRunCommandInterpreterAPI.py
  lldb/test/API/python_api/lldbutil/TestSwigVersion.py
  lldb/test/API/python_api/lldbutil/frame/TestFrameUtils.py
  lldb/test/API/python_api/lldbutil/iter/TestLLDBIterator.py
  lldb/test/API/python_api/lldbutil/iter/TestRegistersIterator.py
  lldb/test/API/python_api/lldbutil/process/TestPrintStackTraces.py
  lldb/test/API/python_api/module_section/TestModuleAndSection.py
  lldb/test/API/python_api/name_lookup/TestNameLookup.py
  lldb/test/API/python_api/objc_type/TestObjCType.py
  lldb/test/API/python_api/process/TestProcessAPI.py
  lldb/test/API/python_api/process/io/TestProcessIO.py
  lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py
  lldb/test/API/python_api/sbdata/TestSBData.py
  lldb/test/API/python_api/sbenvironment/TestSBEnvironment.py
  lldb/test/API/python_api/sberror/TestSBError.py
  lldb/test/API/python_api/sblaunchinfo/TestSBLaunchInfo.py
  lldb/test/API/python_api/sbmodule/TestSBModule.py
  lldb/test/API/python_api/sbplatform/TestSBPlatform.py
  lldb/test/API/python_api/sbstructureddata/TestStructuredDataAPI.py
  lldb/test/API/python_api/sbvalue_persist/TestSBValuePersist.py
  lldb/test/API/python_api/section/TestSectionAPI.py
  lldb/test/API/python_api/signals/TestSignalsAPI.py
  lldb/test/API/python_api/symbol-context/TestSymbolContext.py
  lldb/test/API/python_api/symbol-context/two-files/TestSymbolContextTwoFiles.py
  lldb/test/API/python_api/target/TestTargetAPI.py
  lldb/test/API/python_api/thread/TestThreadAPI.py
  lldb/test/API/python_api/type/TestTypeList.py
  lldb/test/API/python_api/value/TestValueAPI.py
  lldb/test/API/python_api/value/change_values/TestChangeValueAPI.py
  lldb/test/API/python_api/value/empty_class/TestValueAPIEmptyClass.py
  lldb/test/API/python_api/value/linked_list/TestValueAPILinkedList.py
  lldb/test/API/python_api/value_var_update/TestValueVarUpdate.py
  lldb/test/API/python_api/watchpoint/TestSetWatchpoint.py
  lldb/test/API/python_api/watchpoint/TestWatchpointIgnoreCount.py
  lldb/test/API/python_api/watchpoint/TestWatchpointIter.py
  lldb/test/API/python_api/watchpoint/condition/TestWatchpointConditionAPI.py
  lldb/test/API/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
  lldb/test/API/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131539.451343.patch
Type: text/x-patch
Size: 37092 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220810/a51f7661/attachment-0001.bin>


More information about the lldb-commits mailing list