commit | be000ac620aad34aaba67497c4fe4324508d8394 | [log] [tgz] |
---|---|---|
author | Kevin Cheng <kevcheng@google.com> | Tue Jul 23 22:58:54 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Tue Jul 23 22:58:54 2019 -0700 |
tree | 0f638124f3689022c99d8c464002eb34755af309 | |
parent | e93cbd5e6468bcb119237e1791eedabce547085a [diff] | |
parent | 55f0ba8f8f7b03e5e33ccee067b13ebac4c1f33b [diff] |
Add in TEST_MAPPING for acloud unittests. am: c279f19ed3 am: eda8f0e877 am: a883d64d74 am: b7afdebeb8 am: 55f0ba8f8f Change-Id: If9be455e41a54a9293ac063a679b29cd3fb5b987
Foreign Function Interface for Python calling C code. Please see the Documentation or uncompiled in the doc/ subdirectory.
To run tests under CPython, run::
pip install pytest # if you don't have py.test already pip install pycparser python setup.py build_ext -f -i py.test c/ testing/
If you run in another directory (either the tests or another program), you should use the environment variable PYTHONPATH=/path
to point to the location that contains the _cffi_backend.so
just compiled.