[pypy-commit] cffi default: Check that pycparser was correctly installed, by checking that
arigo
noreply at buildbot.pypy.org
Wed Apr 3 13:24:34 CEST 2013
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r1228:c8d9d1907505
Date: 2013-04-03 13:24 +0200
http://bitbucket.org/cffi/cffi/changeset/c8d9d1907505/
Log: Check that pycparser was correctly installed, by checking that
lextab.py and yacctab.py are not regenerated at run-time.
diff --git a/testing/test_zintegration.py b/testing/test_zintegration.py
--- a/testing/test_zintegration.py
+++ b/testing/test_zintegration.py
@@ -61,6 +61,10 @@
really_run_setup_and_program(dirname, venv_dir, python_snippet)
finally:
del sys._force_generic_engine_
+ # the two files lextab.py and yacctab.py are created by not-correctly-
+ # installed versions of pycparser.
+ assert not os.path.exists(str(SNIPPET_DIR.join(dirname, 'lextab.py')))
+ assert not os.path.exists(str(SNIPPET_DIR.join(dirname, 'yacctab.py')))
def test_infrastructure():
run_setup_and_program('infrastructure', '''
More information about the pypy-commit
mailing list