Allow conformance test runner to tolerate crashes, and re-enable conformance tests.
diff --git a/python/setup.py b/python/setup.py
index 1223775..6ea3bad 100755
--- a/python/setup.py
+++ b/python/setup.py
@@ -149,6 +149,10 @@
class test_conformance(_build_py):
target = 'test_python'
def run(self):
+ if sys.version_info >= (2, 7):
+ # Python 2.6 dodges these extra failures.
+ os.environ["CONFORMANCE_PYTHON_EXTRA_FAILURES"] = (
+ "--failure_list failure_list_python-post26.txt")
cmd = 'cd ../conformance && make %s' % (test_conformance.target)
status = subprocess.check_call(cmd, shell=True)