diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-08-27 00:18:22 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-08-27 00:18:22 +0000 |
commit | 27cb29a59606af9350fdbd6781fc26d5c054f618 (patch) | |
tree | 9efde48a08176eb9b48bb2ee9c0d93de90bea61b /lldb/packages/Python/lldbsuite/test/lldbtest.py | |
parent | 0a6564980b548429f3ed54cbd5cbc0a79e83e339 (diff) | |
download | llvm-27cb29a59606af9350fdbd6781fc26d5c054f618.zip llvm-27cb29a59606af9350fdbd6781fc26d5c054f618.tar.gz llvm-27cb29a59606af9350fdbd6781fc26d5c054f618.tar.bz2 |
[dotest] Remove long running test "decorator" and re-enable tests.
Today I discovered the skipLongRunningTest decorator and to my surprise
all the tests were passing without the decorator. They don't seem to be
that expensive either, they take a few seconds but we have tests that
take much longer than that. As such I propose to remove the decorator
and enable them by default.
Differential revision: https://reviews.llvm.org/D66774
llvm-svn: 369995
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lldbtest.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py index 69cfff1..9d38909 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbtest.py +++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py @@ -560,18 +560,6 @@ class Base(unittest2.TestCase): print("Restore dir to:", cls.oldcwd, file=sys.stderr) os.chdir(cls.oldcwd) - @classmethod - def skipLongRunningTest(cls): - """ - By default, we skip long running test case. - This can be overridden by passing '-l' to the test driver (dotest.py). - """ - if "LLDB_SKIP_LONG_RUNNING_TEST" in os.environ and "NO" == os.environ[ - "LLDB_SKIP_LONG_RUNNING_TEST"]: - return False - else: - return True - def enableLogChannelsForCurrentTest(self): if len(lldbtest_config.channels) == 0: return |