https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/181349
None >From 84f8fa1e614fa1c614e50425cc42df55e4d22039 Mon Sep 17 00:00:00 2001 From: Michael Buch <[email protected]> Date: Fri, 13 Feb 2026 11:51:58 +0000 Subject: [PATCH 1/2] Init github action --- .../lldb-check-test-name-duplicates.yml | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .github/workflows/lldb-check-test-name-duplicates.yml diff --git a/.github/workflows/lldb-check-test-name-duplicates.yml b/.github/workflows/lldb-check-test-name-duplicates.yml new file mode 100644 index 0000000000000..94d41f85c45ee --- /dev/null +++ b/.github/workflows/lldb-check-test-name-duplicates.yml @@ -0,0 +1,53 @@ +name: "LLDB Python Lint" + +permissions: + contents: read + +on: + pull_request: + branches: + - main + - 'users/**' + paths: + - 'lldb/test/API/**' + +jobs: + code_linter: + if: github.repository_owner == 'llvm' + runs-on: ubuntu-24.04 + defaults: + run: + shell: bash + container: + image: 'ghcr.io/llvm/ci-ubuntu-24.04-lint' + timeout-minutes: 60 + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + steps: + - name: Fetch LLVM sources + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + with: + fetch-depth: 2 + + - name: Get changed files + id: changed-files + uses: tj-actions/changed-files@e0021407031f5be11a464abee9a0776171c79891 # v47.0.1 + with: + separator: "," + skip_initial_fetch: true + base_sha: 'HEAD~1' + sha: 'HEAD' + + - name: Listed files + env: + CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }} + run: | + echo "Changed files:" + echo "$CHANGED_FILES" + + - name: Run Python test-name linter + env: + CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }} + run: | + pylint --fail-on=E0102 --fail-under=0 "$CHANGED_FILES" >From 1c05840ec1fca23de45356788ae0f1cda86124e2 Mon Sep 17 00:00:00 2001 From: Michael Buch <[email protected]> Date: Fri, 13 Feb 2026 11:53:05 +0000 Subject: [PATCH 2/2] TEST COMMIT --- lldb/source/Commands/CommandObjectBreakpoint.cpp | 1 + .../data-formatter/compactvectors/TestCompactVectors.py | 3 +++ .../generic/vector/TestDataFormatterStdVector.py | 6 ++++++ 3 files changed, 10 insertions(+) diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp index 75dc890cc40ed..a9b17e85c1e9f 100644 --- a/lldb/source/Commands/CommandObjectBreakpoint.cpp +++ b/lldb/source/Commands/CommandObjectBreakpoint.cpp @@ -43,6 +43,7 @@ static void AddBreakpointDescription(Stream *s, Breakpoint *bp, bp->GetDescription(s, level, true); s->IndentLess(); s->EOL(); + // Test } static bool GetDefaultFile(Target &target, StackFrame *cur_frame, diff --git a/lldb/test/API/functionalities/data-formatter/compactvectors/TestCompactVectors.py b/lldb/test/API/functionalities/data-formatter/compactvectors/TestCompactVectors.py index 6add5072cfb93..ee57a23542314 100644 --- a/lldb/test/API/functionalities/data-formatter/compactvectors/TestCompactVectors.py +++ b/lldb/test/API/functionalities/data-formatter/compactvectors/TestCompactVectors.py @@ -16,6 +16,9 @@ def setUp(self): # Find the line number to break at. self.line = line_number("main.cpp", "// Set break point at this line.") + def test_with_run_command(self): + pass + @skipUnlessDarwin def test_with_run_command(self): """Test that that file and class static variables display correctly.""" diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector/TestDataFormatterStdVector.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector/TestDataFormatterStdVector.py index af857d51b3d24..15c78667bc7d6 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector/TestDataFormatterStdVector.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector/TestDataFormatterStdVector.py @@ -11,6 +11,9 @@ class StdVectorDataFormatterTestCase(TestBase): TEST_WITH_PDB_DEBUG_INFO = True + def check_numbers(self, var_name, show_ptr=False): + pass + def check_numbers(self, var_name, show_ptr=False): patterns = [] substrs = [ @@ -238,3 +241,6 @@ def test_ref_and_ptr_libcxx(self): def test_ref_and_ptr_msvcstl(self): self.build() self.do_test_ref_and_ptr() + + def test_ref_and_ptr_msvcstl(self): + pass _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
