Index: Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py |
diff --git a/Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py b/Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py |
index 3579d23bf4745d65dc10bda5fdce11ec7ba38cbb..d091244dc99b01120015ecc5920e63049d1cd737 100644 |
--- a/Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py |
+++ b/Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py |
@@ -28,6 +28,7 @@ |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
import logging |
+import signal |
import time |
from webkitpy.layout_tests.models import test_expectations |
@@ -36,8 +37,9 @@ from webkitpy.layout_tests.models import test_failures |
_log = logging.getLogger(__name__) |
- |
class TestRunResults(object): |
+ INTERRUPTED_EXIT_STATUS = signal.SIGINT + 128 |
Dirk Pranke
2013/09/13 05:37:31
Okay, I think my memory was wrong before, because
r.kasibhatla
2013/09/13 13:43:35
Done.
|
+ |
def __init__(self, expectations, num_tests): |
self.total = num_tests |
self.remaining = self.total |
@@ -62,6 +64,7 @@ class TestRunResults(object): |
self.tests_by_timeline[timeline] = expectations.get_tests_with_timeline(timeline) |
self.slow_tests = set() |
self.interrupted = False |
+ self.keyboard_interrupted = False |
self.run_time = 0 # The wall clock time spent running the tests (layout_test_runner.run()). |
def add(self, test_result, expected, test_is_slow): |