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..6e905d9902071e2f045dd87137e62d71a6d5dc21 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,6 +37,7 @@ from webkitpy.layout_tests.models import test_failures |
_log = logging.getLogger(__name__) |
+INTERRUPTED_EXIT_STATUS = signal.SIGINT + 128 |
class TestRunResults(object): |
def __init__(self, expectations, num_tests): |
@@ -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): |