]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Print the results of ctypes.util.find_library("c") and
authorThomas Heller <theller@ctypes.org>
Fri, 8 Dec 2006 20:44:19 +0000 (20:44 +0000)
committerThomas Heller <theller@ctypes.org>
Fri, 8 Dec 2006 20:44:19 +0000 (20:44 +0000)
ctypes.util.find_library("m") so that we can see if it works on the
buildbots.

Lib/ctypes/test/test_loading.py

index 28c83fd4a9deca0bc9d0df3b90cbe1de91e945ba..1e7870b79fd1e327662e37ef2d6e7f939cf8630f 100644 (file)
@@ -14,8 +14,9 @@ elif sys.platform == "cygwin":
 else:
     libc_name = find_library("c")
 
-if is_resource_enabled("printing"):
-    print "libc_name is", libc_name
+if True or is_resource_enabled("printing"):
+    print >> sys.stderr, "\tfind_library('c') -> ", find_library('c')
+    print >> sys.stderr, "\tfind_library('m') -> ", find_library('m')
 
 class LoaderTest(unittest.TestCase):