summaryrefslogtreecommitdiff
path: root/testing
Commit message (Collapse)AuthorAgeFilesLines
* Add tests for buffer comparisonsAndrew Leech2017-02-032-3/+20
|
* complain clearly if set_source() is given a /-separated nameArmin Rigo2017-01-261-0/+5
|
* bump version number to 1.10.0Armin Rigo2017-01-231-1/+1
|
* Add '#pragma GCC visibility push(default)' in case the userArmin Rigo2017-01-171-0/+13
| | | | specifies -fvisibility=hidden
* py3 test fixArmin Rigo2017-01-021-1/+1
|
* Python 2.6 compatArmin Rigo2016-12-301-1/+5
|
* Explicitly flush the import machinery cache, in case the filesystem doesn't ↵Stefano Rivera2016-12-301-0/+3
| | | | have enough mtime resolution to notice change
* We're interested in --with-pydebug not -dStefano Rivera2016-12-301-3/+4
|
* Detect packed structs. Improve error messages and test them.Armin Rigo2016-12-223-20/+104
|
* A failing testArmin Rigo2016-12-221-0/+22
|
* Fix/test/expand the error messages we get by using structs/unions asArmin Rigo2016-12-221-0/+76
| | | | arguments/return values of functions
* fix testArmin Rigo2016-12-071-1/+2
|
* test and fix for b6adad5f4ea3, actually reverting some C changes thatArmin Rigo2016-12-061-0/+12
| | | | are not necessary and cause segfaults
* Fix: the condition "offsetof == sizeof" for being a var-sized arrayArmin Rigo2016-10-293-4/+9
| | | | | is bogus. See test for a case where it is not the case because of alignment.
* One more case, this time in CompiledFFI.sizeof().Armin Rigo2016-10-282-5/+10
|
* Decided to fix ffi.sizeof() too. Update the documentation.Armin Rigo2016-10-271-4/+9
|
* Fix testArmin Rigo2016-10-251-5/+8
|
* Fix what is hopefully the last remaining issues with ↵Armin Rigo2016-10-251-1/+10
| | | | calculate_variable_array_length
* Revert b84710ae130a again. Ensure we get a warning for every opaqueArmin Rigo2016-10-201-7/+7
| | | | | enum, but then fall back to 'unsigned int'. See documentation for motivation.
* Tweaks, and add extra tests, which fail for now :-/Armin Rigo2016-10-191-1/+11
|
* typedef int foo_t[...];Armin Rigo2016-09-203-0/+34
|
* skip testArmin Rigo2016-09-061-0/+3
|
* Issue #283: initializer for nested anonymous structs inside unionsArmin Rigo2016-09-051-7/+36
|
* Skip test if setuptools cannot be importedArmin Rigo2016-09-041-1/+4
|
* Issue #282: probable test and fixArmin Rigo2016-09-031-0/+1
|
* Backed out changeset 0087e2aec9efArmin Rigo2016-09-037-186/+316
| | | | Un-kill the ctypes backend. Issue #282 for a justification.
* Windows funArmin Rigo2016-09-031-3/+3
|
* Kill the ctypes backend.Armin Rigo2016-09-037-316/+186
|
* Fix testArmin Rigo2016-09-031-1/+1
|
* merge headsArmin Rigo2016-08-221-0/+18
|\
| * Add two tests for 34b29a139894Armin Rigo2016-08-221-0/+18
| |
* | Remove the extra checks, which should be unnecessary and possibly causeArmin Rigo2016-08-221-3/+0
| | | | | | | | more confusion.
* | use py_limited_api flag when available.Daniel Holth2016-08-211-0/+25
|/ | | | | In setuptools>=26, Extension(..., py_limited_api=True) sets the .abi3.so filename, readable by Python 3.2+.
* Avoid a combination where we end up with two incompatible "typedef xxxArmin Rigo2016-08-061-0/+12
| | | | _Bool;"
* Test and fix: refuse to 'recompile' a cdef that declares a structArmin Rigo2016-07-311-0/+32
| | | | with an opaque struct as a field
* Use Py_LIMITED_API in the generated C extension modules, because doingArmin Rigo2016-07-191-3/+6
| | | | | so seems easy. Still need to check if and how we have to produce the actual .so files.
* Issue #271: in the test, call "cc" instead of "gcc", in case gcc isn'tArmin Rigo2016-07-181-1/+1
| | | | installed but another compiler is.
* update version number to 1.7Armin Rigo2016-06-051-2/+2
|
* Test and fix: the "bool" type in C++Armin Rigo2016-06-051-0/+7
|
* Haaaack! Have 'lib.__class__' return &PyModule_Type. It makesArmin Rigo2016-05-251-2/+2
| | | | | | | | | help(lib) behave and display a nice module-like view of your compiled lib. Note that this is seriously unexpected, but I hope nobody should get hit by it by looking at 'lib.__class__' directly... Might be reverted if I hear about someone :-)
* Fix tests in 'testing' to account for e7ca388b0197 (I only fixed theArmin Rigo2016-05-082-6/+18
| | | | tests in 'c/test_c.py')
* Add ffi.gc(ptr, None) which *removes* the destructor in-place on a ffi.gc() ↵Amaury Forgeot d'Arc2016-04-231-0/+14
| | | | object.
* Implement backend.gcp() for the ctypes backend, and remove gc_weakref.Amaury Forgeot d'Arc2016-04-231-5/+0
|
* Re-add this hack, removed in 51f1337c9b4c; but this time only in testsArmin Rigo2016-04-213-2/+33
|
* Windows fix: 'struct a' is a great name for being predefined and not reusableArmin Rigo2016-04-212-15/+15
|
* Support help(lib.foo)Armin Rigo2016-04-191-3/+15
|
* Still delay this a bit longerArmin Rigo2016-04-181-2/+2
|
* Issue #254: extern "Python+C"Armin Rigo2016-04-181-1/+32
|
* Remove again ffi.rawstring(), and implement instead ffi.unpack().Armin Rigo2016-04-162-15/+8
| | | | | | | | | | | | | Pre-documentation notes: (hi Amaury :-) * ffi.unpack(<cdata 'char'>, n) == ffi.buffer(<cdata 'char'>, n)[:] but I hope it is a little bit more natural * ffi.unpack(<cdata 'wchar_t'>, n): this is the original motivation, because it has no previous equivalent * ffi.unpack(<cdata 'int'>, n) == list(<cdata 'int'>[0:n]) but should be much faster on CPython
* Python3 compatArmin Rigo2016-04-152-6/+6
|