summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-10-28 13:14:47 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2019-10-28 13:24:07 -0700
commitf8a92af893eee7ac7ffda93c24b9e69df506148f (patch)
tree2753056fd92c3f378d5be76700847ecec4182a0f /lldb/packages/Python/lldbsuite
parentf5094e182947710f0b8dd4fafd23fd66634a3f19 (diff)
downloadbcm5719-llvm-f8a92af893eee7ac7ffda93c24b9e69df506148f.tar.gz
bcm5719-llvm-f8a92af893eee7ac7ffda93c24b9e69df506148f.zip
[LLDB] Remove incorrect dotest.py invocation
The invocation shown by dotest.py to re-run a single test is misleading: it ranges from missing arguments (best case scenario) to being totally wrong (worst case scenario). In the past I've tried to get it right, but given the dotest architecture this is harder than it looks. Furthermore, we have pretty good documentation on the website [1] for most use cases. This patch removes the rerun invocation. [1] https://lldb.llvm.org/resources/test.html
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r--lldb/packages/Python/lldbsuite/test/lldbtest.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py
index 34e6aa8f460..f3165ab3258 100644
--- a/lldb/packages/Python/lldbsuite/test/lldbtest.py
+++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py
@@ -1169,27 +1169,11 @@ class Base(unittest2.TestCase):
if test is self:
print(traceback, file=self.session)
- # put footer (timestamp/rerun instructions) into session
- testMethod = getattr(self, self._testMethodName)
- if getattr(testMethod, "__benchmarks_test__", False):
- benchmarks = True
- else:
- benchmarks = False
-
import datetime
print(
"Session info generated @",
datetime.datetime.now().ctime(),
file=self.session)
- print(
- "To rerun this test, issue the following command from the 'test' directory:\n",
- file=self.session)
- print(
- "./dotest.py %s -v %s %s" %
- (self.getRunOptions(),
- ('+b' if benchmarks else '-t'),
- self.getRerunArgs()),
- file=self.session)
self.session.close()
del self.session
OpenPOWER on IntegriCloud