Skip to content

[lldb] Run TestFrameLanguageCommands.py only on Darwin #141866

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

kastiglione
Copy link
Contributor

Tests using ObjC do not readily run on Linux.

Tests using ObjC do not readily run on Linux.
@kastiglione kastiglione requested a review from JDevlieghere as a code owner May 28, 2025 22:08
@llvmbot llvmbot added the lldb label May 28, 2025
@kastiglione kastiglione merged commit 1d48e55 into llvm:main May 28, 2025
7 of 10 checks passed
@kastiglione kastiglione deleted the lldb-Run-TestFrameLanguageCommands.py-only-on-Darwin branch May 28, 2025 22:09
@llvmbot
Copy link
Member

llvmbot commented May 28, 2025

@llvm/pr-subscribers-lldb

Author: Dave Lee (kastiglione)

Changes

Tests using ObjC do not readily run on Linux.


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

1 Files Affected:

  • (modified) lldb/test/API/commands/command/language/TestFrameLanguageCommands.py (+1)
diff --git a/lldb/test/API/commands/command/language/TestFrameLanguageCommands.py b/lldb/test/API/commands/command/language/TestFrameLanguageCommands.py
index ff00c9d7cb3f6..b02ffd079ebd2 100644
--- a/lldb/test/API/commands/command/language/TestFrameLanguageCommands.py
+++ b/lldb/test/API/commands/command/language/TestFrameLanguageCommands.py
@@ -5,6 +5,7 @@
 
 
 class TestCase(TestBase):
+    @skipUnlessDarwin
     def test(self):
         self.build()
         _, _, thread, _ = lldbutil.run_to_source_breakpoint(

kastiglione added a commit to swiftlang/llvm-project that referenced this pull request May 29, 2025
Tests using ObjC do not readily run on Linux.
(cherry-picked from commit 1d48e55)
google-yfyang pushed a commit to google-yfyang/llvm-project that referenced this pull request May 29, 2025
adrian-prantl pushed a commit to swiftlang/llvm-project that referenced this pull request Jun 2, 2025
…rent frame (llvm#136766) (#10755)

* [lldb] Expose language plugin commands based based on language of current frame (llvm#136766)

Use the current frame's language to lookup commands provided by language plugins.

This means commands like `language {objc,cplusplus} <command>` can be used directly, without using the `language <lang>` prefix.

For example, when stopped on a C++ frame, `demangle _Z1fv` will run `language cplusplus demangle _Z1fv`.

rdar://149882520
(cherry picked from commit 7ed185a)

* [lldb] Fix typo in tagged-pointer syntax string (NFC) (llvm#137069)


(cherry-picked from commit cef9ed5)

* [lldb] Run TestFrameLanguageCommands.py only on Darwin (llvm#141866)

Tests using ObjC do not readily run on Linux.
(cherry-picked from commit 1d48e55)

* [lldb] Fix TestFrameLanguageCommands.py build (llvm#141829)

The use of `-lobjc` resulted in this test failing to build on Linux. The
flag is not necessary, this removes the flag with the expectation it
will fix the test on Linux.
(cherry-picked from commit e653dc9)
sivan-shani pushed a commit to sivan-shani/llvm-project that referenced this pull request Jun 3, 2025
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.

2 participants