+
    êh�
  ã                   ó¢   € R t ^ RIt^ RIt^ RIHt ^ RIHt ^ RIt^RIH	t	 ]P                  ! RR7      R 4       t ! R R	]P                  4      tR# )
z$Tests for distutils.cygwinccompiler.N)Ú	sysconfig)Úsupport)ÚcygwinT)Úautousec                 ó  € V P                   p\        P                  P                  VP	                  4       R 4      Vn        VP                  \        RVP                  4       VP                  \        R\        P                  4       R# )zpython.hÚget_config_h_filenameÚversionN)ÚinstanceÚosÚpathÚjoinÚmkdtempÚpython_hÚsetattrr   Ú_get_config_h_filenameÚsysr   )ÚrequestÚmonkeypatchÚdistutils_managed_tempdirÚselfs   &&& ÚU/usr/lib/python3/dist-packages/setuptools/_distutils/compilers/C/tests/test_cygwin.pyÚstuffr      sX   € à×Ñ€DÜ—G‘G—L‘L §¡£°Ó<€D„MØ×Ñœ	Ð#:¸D×<WÑ<WÔXØ×Ñœ˜Y¬¯©Ö4ó    c                   ó4  a € ] tR t^t o R t]P                  P                  R4      ]P                  P                  R4      R 4       4       t]P                  P                  R4      R 4       t	R t
R t]P                  P                  R4      R 4       tR	tV tR
# )ÚTestCygwinCCompilerc                ó   € V P                   # ©N)r   ©r   s   &r   r   Ú*TestCygwinCCompiler._get_config_h_filename   s   € Ø�}‰}Ðr   zsys.platform != "cygwin"z,not os.path.exists("/usr/lib/libbash.dll.a")c                óÀ   € ^ RI Hp V! 4       pRpVP                  R.V4      pVf   Q h\        P                  P                  V4      '       g   Q hVRVR R28X  g   Q hR# )é    ©ÚCygwinCCompilerÚbashz/usr/libNz/usr/lib/libÚsz.dll.a)Údistutils.cygwinccompilerr"   Úfind_library_filer
   r   Úexists)r   r"   ÚcompilerÚ	link_nameÚlinkable_files   &    r   Útest_find_library_fileÚ*TestCygwinCCompiler.test_find_library_file   sf   € õ 	>á"Ó$ˆØˆ	Ø ×2Ñ2°J°<ÀÓKˆØÒ(Ð(Ð(Ü�w‰w�~‰~˜m×,Ò,Ð,Ð,Ø ,¨y¸¨m¸6Ð BÔBÐBÒBr   c                óP   € ^ RI Hp V! 4       pVP                  R4      . 8X  g   Q hR# )r    r!   z/fooN)r%   r"   Úruntime_library_dir_option©r   r"   r(   s   &  r   Útest_runtime_library_dir_optionÚ3TestCygwinCCompiler.test_runtime_library_dir_option%   s&   € å=á"Ó$ˆØ×2Ñ2°6Ó:¸bÔ@Ð@Ò@r   c                ó*  € R \         n        \        P                  ! 4       ^ ,          \        P                  8X  g   Q hR\         n        \        P                  ! 4       ^ ,          \        P
                  8X  g   Q hV P                  V P                  R4       \        P                  ! 4       ^ ,          \        P                  8X  g   Q hV P                  V P                  R4       \        P                  ! 4       ^ ,          \        P                  8X  g   Q hR# )zX2.6.1 (r261:67515, Dec  6 2008, 16:42:21) 
[GCC 4.0.1 (Apple Computer, Inc. build 5370)]zsomething without the *CC wordÚxxxzxxx __GNUC__ xxxN)	r   r   r   Úcheck_config_hÚCONFIG_H_OKÚCONFIG_H_UNCERTAINÚ
write_filer   ÚCONFIG_H_NOTOKr   s   &r   Útest_check_config_hÚ'TestCygwinCCompiler.test_check_config_h,   sÌ   € ð7ô 	Œô
 ×$Ò$Ó& qÕ)¬V×-?Ñ-?Ô?Ð?Ð?ð 7ŒŒô ×$Ò$Ó& qÕ)¬V×-FÑ-FÔFÐFÐFð 	�‰˜Ÿ™ uÔ-Ü×$Ò$Ó& qÕ)¬V×-BÑ-BÔBÐBÐBð 	�‰˜Ÿ™Ð'9Ô:Ü×$Ò$Ó& qÕ)¬V×-?Ñ-?Ô?Ð?Ò?r   c                ó>   € \         P                  ! 4       . 8X  g   Q hR # r   )r   Ú	get_msvcrr   s   &r   Útest_get_msvcrÚ"TestCygwinCCompiler.test_get_msvcrD   s   € Ü×ÒÓ! RÔ'Ð'Ò'r   c                ó@   € ^ RI Hp V! 4       pVP                  f   Q hR# )r    r!   N)r%   r"   Údll_librariesr/   s   &  r   Útest_dll_libraries_not_noneÚ/TestCygwinCCompiler.test_dll_libraries_not_noneG   s   € å=á"Ó$ˆØ×%Ñ%Ò1Ð1Ò1r   © N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   ÚpytestÚmarkÚskipifr+   r0   r9   r=   rA   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r   r   r      sž   ø‡ € òð ‡[�[×ÑÐ2Ó3Ø‡[�[×ÑÐFÓGñCó Hó 4ðCð ‡[�[×ÑÐ2Ó3ñAó 4ðAò@ò0(ð ‡[�[×ÑÐ2Ó3ñ2ó 4ö2r   r   )Ú__doc__r
   r   Ú	distutilsr   Údistutils.testsr   rH   Ú r   Úfixturer   ÚTempdirManagerr   rC   r   r   Ú<module>rT      sI   ðÙ *ã 	Û 
Ý Ý #ã å ð ‡‚˜Ôñ5ó ð5ô72˜'×0Ñ0ö 72r   