[Lldb-commits] [lldb] r236913 - Bump the default timeout in dosep.py to 10m.
Siva Chandra
sivachandra at google.com
Fri May 8 16:08:53 PDT 2015
Author: sivachandra
Date: Fri May 8 18:08:53 2015
New Revision: 236913
URL: http://llvm.org/viewvc/llvm-project?rev=236913&view=rev
Log:
Bump the default timeout in dosep.py to 10m.
Summary:
This seems to be sufficient to get the tests taking longer than the
previous timeout of 5m to run to completion on Android to pass instead
of timing out.
Reviewers: chaoren
Reviewed By: chaoren
Subscribers: tberghammer, lldb-commits
Differential Revision: http://reviews.llvm.org/D9627
Modified:
lldb/trunk/test/dosep.py
Modified: lldb/trunk/test/dosep.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dosep.py?rev=236913&r1=236912&r2=236913&view=diff
==============================================================================
--- lldb/trunk/test/dosep.py (original)
+++ lldb/trunk/test/dosep.py Fri May 8 18:08:53 2015
@@ -3,9 +3,9 @@
"""
Run the test suite using a separate process for each test file.
-Each test will run with a time limit of 5 minutes by default.
+Each test will run with a time limit of 10 minutes by default.
-Override the default time limit of 5 minutes by setting
+Override the default time limit of 10 minutes by setting
the environment variable LLDB_TEST_TIMEOUT.
E.g., export LLDB_TEST_TIMEOUT=10m
@@ -48,12 +48,7 @@ def get_timeout_command():
timeout_command = get_timeout_command()
-# TestConcurrentEvents is a long test and it times out with default 5m timeout.
-# Increase its timeout if it hasn't been already set.
-if os.environ.get('LLDB_TEST_TIMEOUT') == None and os.environ.get('LLDB_TESTCONCURRENTEVENTS_TIMEOUT') == None:
- os.environ['LLDB_TESTCONCURRENTEVENTS_TIMEOUT'] = "7m"
-
-default_timeout = os.getenv("LLDB_TEST_TIMEOUT") or "5m"
+default_timeout = os.getenv("LLDB_TEST_TIMEOUT") or "10m"
# Status codes for running command with timeout.
eTimedOut, ePassed, eFailed = 124, 0, 1
@@ -158,9 +153,9 @@ def main():
parser = OptionParser(usage="""\
Run lldb test suite using a separate process for each test file.
- Each test will run with a time limit of 5 minutes by default.
+ Each test will run with a time limit of 10 minutes by default.
- Override the default time limit of 5 minutes by setting
+ Override the default time limit of 10 minutes by setting
the environment variable LLDB_TEST_TIMEOUT.
E.g., export LLDB_TEST_TIMEOUT=10m
More information about the lldb-commits
mailing list