mattip committed 3f7550b

first draft of howto write test for _cffi_backend

  • Participants
  • Parent commits 673ee11

Comments (0)

Files changed (1)

File pypy/module/_cffi_backend/test/

 This file is OBSCURE.  Really.  The purpose is to avoid copying and changing
 '' from cffi/c/.
+Adding a test to _cffi_backend involves:
+1. add a test to cffi/_cffi_backend.c from the cffi module
+2. have it pass when you run in cffi
+3. copy into here
+4. add the _testfunc from 1 into _test_lib.c here
+5. make the test pass in pypy
 import py, sys, ctypes
 if sys.version_info < (2, 6):