[Lldb-commits] [lldb] Remove a flaky and unnecessary check (PR #114251)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 30 08:46:49 PDT 2024


https://github.com/adrian-prantl created https://github.com/llvm/llvm-project/pull/114251

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.

>From 553d4742e6972a068105177aafd47b3da2c01d8f Mon Sep 17 00:00:00 2001
From: Adrian Prantl <aprantl at apple.com>
Date: Wed, 30 Oct 2024 08:44:58 -0700
Subject: [PATCH] Remove a flaky and unnecessary check

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.
---
 .../libcxx/initializerlist/TestInitializerList.py               | 2 --
 1 file changed, 2 deletions(-)

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())



More information about the lldb-commits mailing list