-
Notifications
You must be signed in to change notification settings - Fork 15.9k
[lldb] skip TestHiddenFrameMarkers test on Windows #176736
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
[lldb] skip TestHiddenFrameMarkers test on Windows #176736
Conversation
|
@llvm/pr-subscribers-lldb Author: Charles Zablit (charles-zablit) ChangesThis patch deactivates the #167550 introduced a new marker in front of hidden frames in the lldb backtrace printer. Hidden frames do not seem to be working on Windows. Full diff: https://github.com/llvm/llvm-project/pull/176736.diff 1 Files Affected:
diff --git a/lldb/test/API/terminal/hidden_frame_markers/TestHiddenFrameMarkers.py b/lldb/test/API/terminal/hidden_frame_markers/TestHiddenFrameMarkers.py
index 178d97fce17c2..c7f62861d65b5 100644
--- a/lldb/test/API/terminal/hidden_frame_markers/TestHiddenFrameMarkers.py
+++ b/lldb/test/API/terminal/hidden_frame_markers/TestHiddenFrameMarkers.py
@@ -9,6 +9,7 @@
class HiddenFrameMarkerTest(TestBase):
+ @skipIfWindows
@unicode_test
def test_hidden_frame_markers(self):
"""Test that hidden frame markers are rendered in backtraces"""
@@ -51,7 +52,8 @@ def test_hidden_frame_markers(self):
],
)
- def test_hidden_frame_markers(self):
+ @skipIfWindows
+ def test_hidden_frame_markers_setting_deactivation(self):
"""
Test that hidden frame markers are not rendered in backtraces when
mark-hidden-frames is set to false
|
🐧 Linux x64 Test Results
Failed Tests(click on a test name to see its output) lldb-apilldb-api.terminal/hidden_frame_markers/TestHiddenFrameMarkers.pyIf these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the |
|
It looks more like a |
|
FWIW, to keep the tests (which in any way rely on a specific STL) as hermetic as possible we usually don't include the STL headers unless we're specifically testing them for, e.g., data-formatters, frame recognizers. You're not really testing the frame recognizers themselves, but just the fact that hidden frames get marked. We might be able to use scripted frame providers to artificially set up a scenario where some of the frames are hidden (see It would be unfortunate to lose coverage for something that is possibly system dependent just because a user/buildbot didn't happen to build libc++ locally (this is only required on Darwin, so can definitely happen). |
|
I will try that, thanks! I ended up reverting the patch in the meantime until I come up with a proper fix for the test. |
This patch deactivates the
TestHiddenFrameMarkerstest on Windows.#167550 introduced a new marker in front of hidden frames in the lldb backtrace printer. Hidden frames do not seem to be working on Windows.
#176738 is the tracking issue for the hidden frames on Windows.