summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/recursion/TestValueObjectRecursion.py
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2020-09-04 11:25:38 +0200
committerRaphael Isemann <teemperor@gmail.com>2020-09-04 11:25:43 +0200
commitf9ad112770ece2e3612ddcdd6a4157bc0b0faf31 (patch)
treefa5dd2d764910e131c61611bda96730b55ade328 /lldb/test/API/functionalities/recursion/TestValueObjectRecursion.py
parent0c2a4d3c1c95c8217e9e00d5a20feed0d5c37ac5 (diff)
[lldb] Speed up TestValueObjectRecursion by making it a no_debug_info_test
This is one of the most expensive tests and runs for nearly half a minute on my machine. Beside this test just doing a lot of work by iterating 15k times on one ValueObject (which seems to be the point), it also runs this for every debug info variant which doesn't seem relevant to just iterating ValueObject. This marks it as no_debug_info_test to only run one debug info variation and cut down the runtime to around 7 seconds on my machine.
Diffstat (limited to 'lldb/test/API/functionalities/recursion/TestValueObjectRecursion.py')
-rw-r--r--lldb/test/API/functionalities/recursion/TestValueObjectRecursion.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/test/API/functionalities/recursion/TestValueObjectRecursion.py b/lldb/test/API/functionalities/recursion/TestValueObjectRecursion.py
index e949f1a1a07e..1653fe36af7b 100644
--- a/lldb/test/API/functionalities/recursion/TestValueObjectRecursion.py
+++ b/lldb/test/API/functionalities/recursion/TestValueObjectRecursion.py
@@ -6,6 +6,7 @@ from __future__ import print_function
import lldb
+from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
import lldbsuite.test.lldbutil as lldbutil
@@ -20,6 +21,7 @@ class ValueObjectRecursionTestCase(TestBase):
# Find the line number to break at.
self.line = line_number('main.cpp', '// Set break point at this line.')
+ @no_debug_info_test
def test_with_run_command(self):
"""Test that deeply nested ValueObjects still work."""
self.build()