Skip to content

Conversation

@adrian-prantl
Copy link
Collaborator

The order in which the libraries appear is not always stable and even if it were, this test is not the right place to check for this.

The order in which the libraries appear is not always stable and even
if it were, this test is not the right place to check for this.
@llvmbot
Copy link
Member

llvmbot commented Oct 30, 2024

@llvm/pr-subscribers-lldb

Author: Adrian Prantl (adrian-prantl)

Changes

The order in which the libraries appear is not always stable and even if it were, this test is not the right place to check for this.


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

1 Files Affected:

  • (modified) lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py (-2)
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py
index 0919eb3c5dd812..93d5392830b508 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py
@@ -40,5 +40,3 @@ def test(self):
             "frame variable ils",
             substrs=['[4] = "surprise it is a long string!! yay!!"'],
         )
-
-        self.expect("image list", substrs=self.getLibcPlusPlusLibs())

Copy link
Member

@Michael137 Michael137 left a comment

Choose a reason for hiding this comment

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

Think the intention was to originally make sure that we're debugging libc++. Checking this here is unnecessary (and should really be asserted at the Makefile layer, which do on Apple platforms, IIUC)

@adrian-prantl adrian-prantl merged commit eac2c18 into llvm:main Oct 30, 2024
6 of 7 checks passed
adrian-prantl added a commit to adrian-prantl/llvm-project that referenced this pull request Oct 30, 2024
The order in which the libraries appear is not always stable and even if
it were, this test is not the right place to check for this.

(cherry picked from commit eac2c18)
NoumanAmir657 pushed a commit to NoumanAmir657/llvm-project that referenced this pull request Nov 4, 2024
The order in which the libraries appear is not always stable and even if
it were, this test is not the right place to check for this.
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.

4 participants