Skip to content

Conversation

@kastiglione
Copy link
Contributor

@kastiglione kastiglione commented Apr 24, 2025

Rename this test because another test by the same name already exists: reverse-execution/TestReverseContinueNotSupported.py.

Having multiple tests of the same name breaks running any test with: lldb-dotest -p <TestName>.

This tests reverse continue commands, and so the rename adds "Commands" to the test name (TestReverseContinueCommandNotSupported.py)

@llvmbot
Copy link
Member

llvmbot commented Apr 24, 2025

@llvm/pr-subscribers-lldb

Author: Dave Lee (kastiglione)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/137262.diff

1 Files Affected:

  • (renamed) lldb/test/API/commands/process/reverse-continue/TestReverseContinueCommandNotSupported.py ()
diff --git a/lldb/test/API/commands/process/reverse-continue/TestReverseContinueNotSupported.py b/lldb/test/API/commands/process/reverse-continue/TestReverseContinueCommandNotSupported.py
similarity index 100%
rename from lldb/test/API/commands/process/reverse-continue/TestReverseContinueNotSupported.py
rename to lldb/test/API/commands/process/reverse-continue/TestReverseContinueCommandNotSupported.py

@kastiglione
Copy link
Contributor Author

cc @rocallahan (for some reason I can't add you as a reviewer)

@rocallahan
Copy link
Contributor

Shouldn't you change the name of the Python class as well?

@kastiglione
Copy link
Contributor Author

I'll do that too (for what it's worth that name doesn't matter to the test system).

Copy link
Collaborator

@DavidSpickett DavidSpickett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also noticed this trying to reproduce a failure on Windows with lldb-dotest.py, LGTM.

@kastiglione kastiglione force-pushed the lldb-Rename-reverse-continue-TestReverseContinueNotSupported.py-NFC branch from b37837e to 53b9bcc Compare April 25, 2025 17:17
@kastiglione kastiglione merged commit 00e3885 into llvm:main Apr 25, 2025
6 of 9 checks passed
@kastiglione kastiglione deleted the lldb-Rename-reverse-continue-TestReverseContinueNotSupported.py-NFC branch April 25, 2025 17:17
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
…C) (llvm#137262)

Rename this test because another test by the same name already exists:
reverse-execution/TestReverseContinueNotSupported.py.

Having multiple tests of the same name breaks running any test with:
`lldb-dotest -p <TestName>`.

This tests reverse continue _commands_, and so the rename adds
"Commands" to the test name (TestReverseContinueCommandNotSupported.py)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants