File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
lldb/test/API/functionalities/stats_api Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -85,14 +85,15 @@ def test_stats_api(self):
85
85
stats_summary .GetAsJSON (stream_summary )
86
86
debug_stats_summary = json .loads (stream_summary .GetData ())
87
87
self .assertNotIn ("modules" , debug_stats_summary )
88
- self .assertNotIn ("memory" , debug_stats_summary )
89
88
self .assertNotIn ("commands" , debug_stats_summary )
90
89
91
90
# Summary values should be the same as in full statistics.
92
- # Except the parse time on Mac OS X is not deterministic.
91
+ # The exceptions to this are:
92
+ # - The parse time on Mac OS X is not deterministic.
93
+ # - Memory usage may grow over time due to the use of ConstString.
93
94
for key , value in debug_stats_summary .items ():
94
95
self .assertIn (key , debug_stats )
95
- if key != "targets" and not key .endswith ("Time" ):
96
+ if key != "memory" and key != " targets" and not key .endswith ("Time" ):
96
97
self .assertEqual (debug_stats [key ], value )
97
98
98
99
def test_command_stats_api (self ):
You can’t perform that action at this time.
0 commit comments