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

fijal at codespeak.net fijal at codespeak.net
Wed Jan 16 13:28:23 CET 2008


Author: fijal
Date: Wed Jan 16 13:28:22 2008
New Revision: 50662

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	Wed Jan 16 13:28:22 2008
@@ -680,10 +680,16 @@
     def test_prebuilt_constant(self):
         header = py.code.Source("""
         #include <stdlib.h>
-        
+
+        #ifndef _SOME_H_H_
+        #define _SOME_H_H_
+
         static int x = 3;
-        char **z = NULL;
+        char **z;
+
+        #endif _SOME_H_H_
         """)
+
         h_file = udir.join("some_h.h")
         h_file.write(header)
         



More information about the Pypy-commit mailing list