[pypy-svn] r50714 - pypy/dist/pypy/rpython/lltypesystem/test

arigo at codespeak.net arigo at codespeak.net
Thu Jan 17 17:49:10 CET 2008


Author: arigo
Date: Thu Jan 17 17:49:10 2008
New Revision: 50714

Modified:
   pypy/dist/pypy/rpython/lltypesystem/test/test_ll2ctypes.py
Log:
Fix test.


Modified: pypy/dist/pypy/rpython/lltypesystem/test/test_ll2ctypes.py
==============================================================================
--- pypy/dist/pypy/rpython/lltypesystem/test/test_ll2ctypes.py	(original)
+++ pypy/dist/pypy/rpython/lltypesystem/test/test_ll2ctypes.py	Thu Jan 17 17:49:10 2008
@@ -683,10 +683,15 @@
 
     def test_prebuilt_constant(self):
         header = py.code.Source("""
+        #ifndef _SOME_H
+        #define _SOME_H
+        
         #include <stdlib.h>
         
         static int x = 3;
         char **z = NULL;
+
+        #endif  /* _SOME_H */
         """)
         h_file = udir.join("some_h.h")
         h_file.write(header)



More information about the Pypy-commit mailing list