summaryrefslogtreecommitdiff
path: root/testing
Commit message (Collapse)AuthorAgeFilesLines
* SIZE_OF_LONG may differ from SIZE_OF_PTRArmin Rigo2013-08-011-2/+2
|
* Crash with a clear error message in case of built-in but unsupportedArmin Rigo2013-07-301-0/+3
| | | | types. Add a test that fails so far, to fix.
* Add the (now-passing) test from issue #92Armin Rigo2013-07-181-0/+21
|
* Finish the fix for issue #91.Armin Rigo2013-06-193-5/+11
|
* Fix for the alignment calculation of anonymous and zero sized bitfields on ARM.David Schneider2013-06-161-1/+28
|
* Fix MSVC bitfields in all tested cases.Armin Rigo2013-06-011-0/+1
|
* Fix this test for MSVCArmin Rigo2013-06-011-2/+10
|
* Always run the C compiler, even if it's MSVC. Found out that theArmin Rigo2013-06-011-34/+28
| | | | logic to pack bitfields is, of course, very different.
* One more testArmin Rigo2013-06-011-0/+1
|
* Oups, fix.Armin Rigo2013-05-311-2/+2
|
* issue #82: implement bitfields in a way that is, as far as I can tell,Armin Rigo2013-05-301-6/+21
| | | | fully compatible with gcc.
* Fixes to the testArmin Rigo2013-05-301-4/+7
|
* Improve the testsArmin Rigo2013-05-301-4/+48
|
* Failing tests for issue #82.Armin Rigo2013-05-301-1/+50
|
* Issue #81 resolved: dir(ffi.verify(...))Armin Rigo2013-05-301-0/+15
|
* issue 87: first stabArmin Rigo2013-05-221-0/+9
|
* Fix for enums used as bitfields. (thanks jerith)Armin Rigo2013-05-052-0/+22
|
* Fix for issue 77: give cdatas __module__, __name__ and __doc__ attributes,Armin Rigo2013-04-151-0/+16
| | | | for convenience with functools.wraps().
* Try to work around issues when running in a buildbot: only writes to stderr.Armin Rigo2013-04-091-58/+45
|
* Merged in pjenvey/cffi (pull request #13)Armin Rigo2013-04-061-0/+25
|\
| * Test and fix in the ctypes backend for calling "void *" functions with aArmin Rigo2013-04-061-0/+25
| | | | | | | | Python string argument.
* | fix handling w/ py3 hasattr, which only swallows AttributeErrorsPhilip Jenvey2013-04-051-0/+8
| |
* | py3 compatPhilip Jenvey2013-04-051-1/+1
|/
* Hack to support, on top of CPython, older versions of pycparserArmin Rigo2013-04-051-0/+6
|
* Check that pycparser was correctly installed, by checking thatArmin Rigo2013-04-031-0/+4
| | | | lextab.py and yacctab.py are not regenerated at run-time.
* Backed out changeset 982940f8c484Armin Rigo2013-04-031-12/+0
| | | | Should not be needed any more after PyPy's revert to "lib-python/2.7".
* an attempt to not run it on older virtualenvsMaciej Fijalkowski2013-04-031-0/+12
|
* use abspath in testsMaciej Fijalkowski2013-04-031-1/+1
|
* some more fixesMaciej Fijalkowski2013-04-021-1/+6
|
* skip this if we're on PyPyMaciej Fijalkowski2013-04-021-1/+5
|
* fixesMaciej Fijalkowski2013-04-021-1/+1
|
* Python 3 compatArmin Rigo2013-04-011-1/+3
|
* merge headsArmin Rigo2013-03-311-5/+6
|\
| * Merge d0f6755466f7 into default:Armin Rigo2013-03-313-4/+38
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Cancel again these changes: we can't pass 0 or None to mean NULL. Just use NULL explicitly. (After discussion on IRC, notably with Amaury -- thanks) Removed some unrelated doc changes that describe something that was planned but never implemented.
| * | Cancel again these changes: we can't pass 0 or None to mean NULL. JustArmin Rigo2013-03-071-5/+5
| | | | | | | | | | | | | | | use NULL explicitly. (After discussion on IRC, notably with Amaury -- thanks)
* | | Add missing b prefix to a byte-tring in the big-endian code pathStefano Rivera2013-03-301-1/+1
| | |
* | | Linux isn't the only platform using glibc. Debian gnukfreebsd and hurd ports ↵Stefano Rivera2013-03-301-1/+1
| |/ |/| | | | | do too
* | Skip testing for large unsigned values on Windows, where the C compilerArmin Rigo2013-03-301-0/+2
| | | | | | | | silently truncates them to negative values, apparently.
* | Always test the mention of cffi-$VERSION.tar.gz in the docs,Armin Rigo2013-03-301-2/+1
| | | | | | | | | | even if it does not exist so far, because readthedocs displays the doc of the latest release now by default.
* | Only ignore mismatches between *different* types; using twice the same type ↵Armin Rigo2013-03-301-1/+1
| | | | | | | | must be tested to work.
* | Ignore mismatches between two different primitive types of the same size,Armin Rigo2013-03-301-1/+6
| | | | | | | | like on some platforms "double" and "long double".
* | Be more lenient and skip this test in non-x86 casesArmin Rigo2013-03-301-1/+2
| |
* | Test and fix for pull request #11: anonymous enums.Armin Rigo2013-03-291-1/+4
| |
* | A passing test.Armin Rigo2013-03-281-0/+6
| |
* | A bit hackish, but solves exactly issue #71: ffi.typeof(builtin_function).Armin Rigo2013-03-281-0/+8
| |
* | Issue #67Armin Rigo2013-03-271-0/+9
|/ | | | Copy the enum's values on the library object returned by dlopen().
* Refactor get_c_name() in model.py to use the same logic as with theArmin Rigo2013-03-032-0/+107
| | | | backend.
* Fix the test for 64-bit: alignment issuesArmin Rigo2013-03-031-4/+5
|
* Generate correct type name for pointers to arrays.Tom Nixon2013-03-021-0/+8
| | | | | | | | | Previously, get_c_name("a") on the type "int (*)[5]" would return "int *[5]". This caused "incompatible type" errors when verifying structs containing pointers to arrays. A partial workaround for this bug was originally made in vengine_*; this has been removed.
* Change the hack: instead of passing None for NULL pointers, we pass 0.Armin Rigo2013-02-281-3/+9
| | | | | This is more compatible with C. Also accept 0 at other places that expect a pointer.