ó
ŠwÛjc           @   s�   d  Z  d d l Z d d l m Z m Z e d d e ƒZ d d l Z d e j d d f d	 e j d
 d f d d g Z	 d „  Z
 e d k r™ e
 ƒ  n  d S(   sD   Test dlmodule.c
   Roger E. Masse  revised strategy by Barry Warsaw
iÿÿÿÿN(   t   verboset   import_modulet   dlt
   deprecateds   /usr/s   /libc.sot   getpidt   /s
   /libc.so.6s   /usr/bin/cygwin1.dlls   /usr/lib/libc.dylibc          C   sµ   x® t  D]š \ }  } y$ t r' d G|  Gn  t j |  ƒ } Wn4 t j k
 rm } t r¡ d Gt t | ƒ ƒ GHq¡ q Xt r{ d Gn  | j | ƒ | j ƒ  t r  d GHn  Pq Wt	 j
 d ‚ d  S(   Ns   trying to open:t   faileds   succeeded...s   worked!s#   Could not open any shared libraries(   t
   sharedlibsR    R   t   opent   errort   reprt   strt   callt   closet   unittestt   SkipTest(   t   st   funct   lt   err(    (    s‚   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_dl.pyt	   test_main   s"    
t   __main__(   s   /usr/bin/cygwin1.dllR   (   s   /usr/lib/libc.dylibR   (   t   __doc__R   t   test.test_supportR    R   t   TrueR   t   syst   libR   R   t   __name__(    (    (    s‚   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_dl.pyt   <module>   s   		