summaryrefslogtreecommitdiff
path: root/regtest
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2013-11-29 10:01:20 +0100
committerCarlos Garcia Campos <carlosgc@gnome.org>2013-11-29 10:01:20 +0100
commit3444a44397a890dbeb1bd10357dbc8246fd21ad0 (patch)
tree4eb92b39ebbbe1a64183eb9e05835eda2c1169b9 /regtest
parent5f825df417947c51943f1db327e1aa6c3faa15b0 (diff)
regtest: Remove unused method _check_exit_status2
It was used when the backends ran in parallel odd and even pages, but it's no longer used since threads support was added.
Diffstat (limited to 'regtest')
-rw-r--r--regtest/backends/__init__.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/regtest/backends/__init__.py b/regtest/backends/__init__.py
index ff6ef849..eab154de 100644
--- a/regtest/backends/__init__.py
+++ b/regtest/backends/__init__.py
@@ -220,26 +220,6 @@ class Backend:
return True
- def _check_exit_status2(self, p1, p2, out_path):
- p1_stderr = p1.stderr.read()
- status1 = p1.wait()
- p2_stderr = p2.stderr.read()
- status2 = p2.wait()
-
- if p1_stderr or p2_stderr:
- self.__create_stderr_file(p1_stderr + p2_stderr, out_path)
-
- if not os.WIFEXITED(status1) or not os.WIFEXITED(status2):
- open(out_path + '.crashed', 'w').close()
- return False
-
- if self.__create_failed_file_if_needed(status1, out_path):
- return False
- if self.__create_failed_file_if_needed(status2, out_path):
- return False
-
- return True
-
def _diff_png(self, ref_path, result_path):
try:
import Image, ImageChops