diff options
author | Zachary Turner <zturner@google.com> | 2015-12-08 18:36:05 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2015-12-08 18:36:05 +0000 |
commit | aad25fb9a559241c7f78f8555c328e5fe734f0ab (patch) | |
tree | a91167483d54cf2731b3208732c5f9c435bb0ba3 /lldb/packages/Python/lldbsuite/test/lldbtest.py | |
parent | 614e8ff855568c250cb6331f8233099f83218605 (diff) | |
download | llvm-aad25fb9a559241c7f78f8555c328e5fe734f0ab.zip llvm-aad25fb9a559241c7f78f8555c328e5fe734f0ab.tar.gz llvm-aad25fb9a559241c7f78f8555c328e5fe734f0ab.tar.bz2 |
Remove +b option from dotest.py
llvm-svn: 255037
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lldbtest.py | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py index 4b0fb37..72c9586 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbtest.py +++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py @@ -521,8 +521,7 @@ def benchmarks_test(func): raise Exception("@benchmarks_test can only be used to decorate a test method") @wraps(func) def wrapper(self, *args, **kwargs): - if not configuration.just_do_benchmarks_test: - self.skipTest("benchmarks tests") + self.skipTest("benchmarks test") return func(self, *args, **kwargs) # Mark this function as such to separate them from the regular tests. @@ -1457,19 +1456,6 @@ class Base(unittest2.TestCase): # used for all the test cases. self.testMethodName = self._testMethodName - # Benchmarks test is decorated with @benchmarks_test, - # which also sets the "__benchmarks_test__" attribute of the - # function object to True. - try: - if configuration.just_do_benchmarks_test: - testMethod = getattr(self, self._testMethodName) - if getattr(testMethod, "__benchmarks_test__", False): - pass - else: - self.skipTest("non benchmarks test") - except AttributeError: - pass - # This is for the case of directly spawning 'lldb'/'gdb' and interacting # with it using pexpect. self.child = None |