[Lldb-commits] [lldb] ba45ad1 - Temporarily disable two libcxx chrono formatter tests

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 25 16:31:14 PST 2024


Author: Jason Molenda
Date: 2024-01-25T16:30:14-08:00
New Revision: ba45ad160e3f329aeb02c19eaf18af27fa423d85

URL: https://github.com/llvm/llvm-project/commit/ba45ad160e3f329aeb02c19eaf18af27fa423d85
DIFF: https://github.com/llvm/llvm-project/commit/ba45ad160e3f329aeb02c19eaf18af27fa423d85.diff

LOG: Temporarily disable two libcxx chrono formatter tests

On macOS, the formatter is printing signed values as
unsigned, it seems, and the tests are expecting correctly
signed values.  These tests were added in
https://github.com/llvm/llvm-project/pull/78609

Added: 
    

Modified: 
    lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/chrono/TestDataFormatterLibcxxChrono.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/chrono/TestDataFormatterLibcxxChrono.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/chrono/TestDataFormatterLibcxxChrono.py
index a90fb828d121a7f..9706f9e94e922f1 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/chrono/TestDataFormatterLibcxxChrono.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/chrono/TestDataFormatterLibcxxChrono.py
@@ -54,16 +54,17 @@ def test_with_run_command(self):
             substrs=["ss_0 = date/time=1970-01-01T00:00:00Z timestamp=0 s"],
         )
 
-        self.expect(
-            "frame variable ss_neg_date_time",
-            substrs=[
-                "ss_neg_date_time = date/time=-32767-01-01T00:00:00Z timestamp=-1096193779200 s"
-            ],
-        )
-        self.expect(
-            "frame variable ss_neg_seconds",
-            substrs=["ss_neg_seconds = timestamp=-1096193779201 s"],
-        )
+        # FIXME disabled temporarily, macOS is printing this as an unsigned?
+        #self.expect(
+        #    "frame variable ss_neg_date_time",
+        #    substrs=[
+        #        "ss_neg_date_time = date/time=-32767-01-01T00:00:00Z timestamp=-1096193779200 s"
+        #    ],
+        #)
+        #self.expect(
+        #    "frame variable ss_neg_seconds",
+        #    substrs=["ss_neg_seconds = timestamp=-1096193779201 s"],
+        #)
 
         self.expect(
             "frame variable ss_pos_date_time",
@@ -76,10 +77,11 @@ def test_with_run_command(self):
             substrs=["ss_pos_seconds = timestamp=971890963200 s"],
         )
 
-        self.expect(
-            "frame variable ss_min",
-            substrs=["ss_min = timestamp=-9223372036854775808 s"],
-        )
+        # FIXME disabled temporarily, macOS is printing this as an unsigned?
+        #self.expect(
+        #    "frame variable ss_min",
+        #    substrs=["ss_min = timestamp=-9223372036854775808 s"],
+        #)
         self.expect(
             "frame variable ss_max",
             substrs=["ss_max = timestamp=9223372036854775807 s"],


        


More information about the lldb-commits mailing list