Commit cfae3194 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Oh it wasn't an issue, we were just passing more tests than expected

parent 20232797
# Note: the expected counts here are set to match the CI, and I can't re[rpduce them locally
import os, sys, subprocess, shutil import os, sys, subprocess, shutil
sys.path.append(os.path.dirname(__file__) + "/../lib") sys.path.append(os.path.dirname(__file__) + "/../lib")
...@@ -24,9 +25,9 @@ def install_and_test_cffi(): ...@@ -24,9 +25,9 @@ def install_and_test_cffi():
# looks like clang 3.5 causes more errors like: 214 != -42 doing casts # looks like clang 3.5 causes more errors like: 214 != -42 doing casts
if os.environ.has_key("CC") and "clang" in os.environ["CC"]: if os.environ.has_key("CC") and "clang" in os.environ["CC"]:
expected = [{ "failed": 58, "passed": 1619, "skipped": 70, "xfailed": 4, "error": 5 }] expected = [{ "failed": 34, "passed": 1643, "skipped": 70, "xfailed": 4, "error": 5 }]
else: else:
expected = [{ "failed": 49, "passed": 1628, "skipped": 70, "xfailed": 4, "error": 5 }] expected = [{ "failed": 25, "passed": 1652, "skipped": 70, "xfailed": 4, "error": 5 }]
run_test([PYTEST_EXE], cwd=CFFI_DIR, expected=expected) run_test([PYTEST_EXE], cwd=CFFI_DIR, expected=expected)
create_virtenv(ENV_NAME, ["pytest==2.8.7", "py==1.4.31", "pycparser==2.14"], force_create = True) create_virtenv(ENV_NAME, ["pytest==2.8.7", "py==1.4.31", "pycparser==2.14"], force_create = True)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment