summaryrefslogtreecommitdiff
path: root/testing/embedding/test_basic.py
Commit message (Collapse)AuthorAgeFilesLines
* Replace py.test usage with pytest, explicitly require py for testspy.testMiro Hrončok2022-11-111-2/+2
| | | | | | | pytest 7.2+ no longer depends on py. It ships py.path and py.error only. See https://docs.pytest.org/en/7.2.x/changelog.html#deprecations The tests use py.code as well, hence we declare and document a test dependency on py.
* Test and fix for the case where ffi.embedding_api() is called butArmin Rigo2021-12-281-0/+3
| | | | does not list any `extern "Python"` function
* Allow ffi.embedding_init_code("unicode-with-non-ascii-chars")Armin Rigo2020-07-241-0/+6
|
* Windows fixArmin Rigo2019-04-191-2/+2
|
* py3.8 fixesArmin Rigo2019-03-161-1/+2
|
* Basic "does not crash" test for the error logic in _cffi_initialize_pythonArmin Rigo2017-06-161-0/+6
|
* Re-add this hack, removed in 51f1337c9b4c; but this time only in testsArmin Rigo2016-04-211-2/+15
|
* Test and fix for converting empty ffi's in embedding modeArmin Rigo2016-04-151-0/+3
|
* Python 3 compatArmin Rigo2016-03-161-1/+1
|
* Oops, tests fail if we run them one by oneArmin Rigo2016-03-021-2/+7
|
* more pypy tweaksArmin Rigo2016-02-191-23/+31
|
* Pfff, debug=True goes in the way on Windows if you don't explicitlyArmin Rigo2016-02-131-1/+5
| | | | have the debug version of the MS CRT installed first
* prepend dll path on win32mattip2016-02-021-1/+1
|
* allow embedding tests to run on pypy win32mattip2016-01-301-5/+11
|
* Support extensions for pydebug cpythonsStefano Rivera2016-01-171-4/+0
|
* Use os.pathsep instead of directly ':'Armin Rigo2016-01-171-2/+2
|
* Don't blow away PYTHONPATHStefano Rivera2016-01-171-4/+10
| | | | Rather parse it, and prefix our base directory, if necessary.
* more tests passArmin Rigo2016-01-161-1/+1
|
* OS/X: in-progress, one test now passesArmin Rigo2016-01-161-0/+4
|
* fixArmin Rigo2016-01-161-0/+1
|
* Print all commands executed with all detailsArmin Rigo2016-01-161-13/+18
|
* fixes for pypyArmin Rigo2016-01-151-1/+1
|
* tried hard and failed to have the embedding tests run in a debug-mode pythonArmin Rigo2016-01-141-0/+4
|
* (untested) trying to have the multithreaded tests run on windowsArmin Rigo2016-01-121-0/+1
|
* two tests pass on windows! progressArmin Rigo2016-01-121-4/+3
|
* Test and fixArmin Rigo2016-01-121-0/+4
|
* Give up testing windows: it kinda seems to work but I really, really,Armin Rigo2016-01-081-0/+4
| | | | | really don't manage to make the tests pass. Call for help (we can be optimistic)
* tryArmin Rigo2016-01-081-1/+1
|
* tryArmin Rigo2016-01-081-1/+4
|
* fixArmin Rigo2016-01-081-1/+1
|
* trying win fixArmin Rigo2016-01-081-1/+8
|
* py3 compatArmin Rigo2016-01-081-1/+2
|
* Py3 fixArmin Rigo2016-01-081-1/+3
|
* Py3 fixes. Skip the embedding tests if linking with -lpython%d.%dArmin Rigo2016-01-081-1/+20
| | | | fails (likely, the Python was not compiled with --enable-shared)
* fixArmin Rigo2016-01-081-1/+6
|
* In-progress: fix tests to attempt to use distutils also for compilingArmin Rigo2016-01-071-62/+39
| | | | the executable
* Allow platform-specific hacks to invoke the compilerArmin Rigo2016-01-071-2/+24
|
* Generalize a bitArmin Rigo2016-01-071-6/+16
|
* Write a line when we run the final executable tooArmin Rigo2016-01-041-0/+1
|
* in-progress: a comment about eggs, and hacks to run the tests on pypy (some ↵Armin Rigo2016-01-021-3/+22
| | | | failures so far)
* Fix the multithreaded initialization.Armin Rigo2016-01-011-1/+1
|
* Update the version numbers and make sure the _cffi_backend module isArmin Rigo2016-01-011-1/+4
| | | | a version that supports embedding!
* test multiple threads all doing the initial call to an "extern Python"Armin Rigo2016-01-011-5/+5
| | | | function in parallel
* A test with two modules.Armin Rigo2016-01-011-0/+11
|
* Avoid setting LD_LIBRARY_PATHArmin Rigo2016-01-011-5/+2
|
* Add a simple test (cpython 2.7 only)Armin Rigo2016-01-011-0/+61