Skip to content

Commit 7e5fe3e

Browse files
authored
[lldb][test] Remove benchmark API tests (#108629)
These benchmarks don't get run as part of the regular API test-suite. And I'm not aware of any CI running this. Also, I haven't quite managed to actually run them locally using the `bench.py` script. It looks like these are obsolete, so I'm proposing to remove the infrastructure around it entirely. If anyone does know of a use for these do let me know.
1 parent 9e9b117 commit 7e5fe3e

File tree

19 files changed

+0
-925
lines changed

19 files changed

+0
-925
lines changed

lldb/packages/Python/lldbsuite/test/bench.py

Lines changed: 0 additions & 77 deletions
This file was deleted.

lldb/packages/Python/lldbsuite/test/decorators.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -426,18 +426,6 @@ def impl(func):
426426
return impl
427427

428428

429-
def benchmarks_test(func):
430-
"""Decorate the item as a benchmarks test."""
431-
432-
def should_skip_benchmarks_test():
433-
return "benchmarks test"
434-
435-
# Mark this function as such to separate them from the regular tests.
436-
result = skipTestIfFn(should_skip_benchmarks_test)(func)
437-
result.__benchmarks_test__ = True
438-
return result
439-
440-
441429
def no_debug_info_test(func):
442430
"""Decorate the item as a test what don't use any debug info. If this annotation is specified
443431
then the test runner won't generate a separate test for each debug info format."""

lldb/test/API/benchmarks/continue/Makefile

Lines changed: 0 additions & 3 deletions
This file was deleted.

lldb/test/API/benchmarks/continue/TestBenchmarkContinue.py

Lines changed: 0 additions & 65 deletions
This file was deleted.

lldb/test/API/benchmarks/continue/main.cpp

Lines changed: 0 additions & 36 deletions
This file was deleted.

lldb/test/API/benchmarks/expression/Makefile

Lines changed: 0 additions & 3 deletions
This file was deleted.

lldb/test/API/benchmarks/expression/TestExpressionCmd.py

Lines changed: 0 additions & 74 deletions
This file was deleted.

0 commit comments

Comments
 (0)