python (3.11.7)

(root)/
lib/
python3.11/
distutils/
tests/
__pycache__/
test_unixccompiler.cpython-311.opt-2.pyc

ed	ddlZddlZddlmZddlmZddlmZGddejZ	e
dkrejdSdS)N)EnvironmentVarGuard)	sysconfig)
UnixCCompilerceZdZdZdZejejdkddZ	ej
ejdkddZej
ejdkdd	Zd
S)UnixCCompilerTestCasectj|_tj|_t
tj|_Gddt}||_
dS)NceZdZdZdS)4UnixCCompilerTestCase.setUp.<locals>.CompilerWrapperc,|dS)Nz/foo)runtime_library_dir_optionselfs V/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/distutils/tests/test_unixccompiler.py	rpath_fooz>UnixCCompilerTestCase.setUp.<locals>.CompilerWrapper.rpath_foos66v>>>N)__name__
__module____qualname__rrrCompilerWrapperr
s#
?
?
?
?
?rr)sysplatform_backup_platformrget_config_var_backup_get_config_vardict_config_vars_backup_config_varsrcc)rrs  rsetUpzUnixCCompilerTestCase.setUpsi #&/&>##'	(>#?#? 	?	?	?	?	?m	?	?	?"/##rc|jt_|jt_tjtj|j	dS)N)
rrrrrrrclearupdaterr
s rtearDownzUnixCCompilerTestCase.tearDownsL,#'#>	 $$&&&%%d&>?????rwin32zcan't test on Windowscdt_||jddt_t
j}d}|t
_||jddgd}|t
_||jddgd}|t
_||jddg|t
_d	t_d
}|t
_||jdd	t_d}|t
_||jd
d	t_d}|t
_||jdd	t_d}|t
_||jdd	t_d}|t
_||jddS)Ndarwinz-L/foozhp-uxcdS)Nxxxrvs rgcvz=UnixCCompilerTestCase.test_runtime_libdir_option.<locals>.gcv(5rz+scdS)Ngccrr*s rr,z=UnixCCompilerTestCase.test_runtime_libdir_option.<locals>.gcv-r-rz-Wl,+scdS)Nzg++rr*s rr,z=UnixCCompilerTestCase.test_runtime_libdir_option.<locals>.gcv2r-rbarc&|dkrdS|dkrdSdS)NCCr/GNULDyesrr*s rr,z=UnixCCompilerTestCase.test_runtime_libdir_option.<locals>.gcv;s%Dyyugurz-Wl,--enable-new-dtags,-R/fooc&|dkrdS|dkrdSdS)Nr3r/r4norr*s rr,z=UnixCCompilerTestCase.test_runtime_libdir_option.<locals>.gcvEs%Dyyugtrz
-Wl,-R/fooc&|dkrdS|dkrdSdS)Nr3zx86_64-pc-linux-gnu-gcc-4.4.2r4r5rr*s rr,z=UnixCCompilerTestCase.test_runtime_libdir_option.<locals>.gcvPs&Dyy66gurc&|dkrdS|dkrdSdS)Nr3rr4r5rr*s rr,z=UnixCCompilerTestCase.test_runtime_libdir_option.<locals>.gcvZs%Dyytgurz-R/fooc&|dkrdS|dkrdSdS)Nr3rr4r7rr*s rr,z=UnixCCompilerTestCase.test_runtime_libdir_option.<locals>.gcvds%Dyytgtr)rrassertEqualrrrr)rold_gcvr,s   rtest_runtime_libdir_optionz0UnixCCompilerTestCase.test_runtime_libdir_optionsn **,,h777*			#&	 **,,tX.>???			#&	 **,,x.BCCC			#&	 **,,x.BCCC#*	 			
$'	 **,,.MNNN			
$'	 **,,l;;;			
$'	 **,,.MNNN			
$'	 **,,h777			
$'	 **,,h77777rr'ztest only relevant for OS Xcd}|t_t5}d|d<|d=tj|jdddn#1swxYwY||jjdddS)Nc|dkrdSdSNLDSHAREDz*gcc-4.2 -bundle -undefined dynamic_lookup zgcc-4.2rr*s rr,zAUnixCCompilerTestCase.test_osx_cc_overrides_ldshared.<locals>.gcvpJCC9rmy_ccr3rArrrrcustomize_compilerrr;	linker_sorr,envs   rtest_osx_cc_overrides_ldsharedz4UnixCCompilerTestCase.test_osx_cc_overrides_ldsharedls			$'	 
 
"
"	2cCIJ(111	2	2	2	2	2	2	2	2	2	2	2	2	2	2	2	
*1-w77777s"AAAcd}|t_t5}d|d<d|d<tj|jdddn#1swxYwY||jjdddS)Nc|dkrdSdSr@rr*s rr,z=UnixCCompilerTestCase.test_osx_explicit_ldshared.<locals>.gcvrBrrCr3zmy_ld -bundle -dynamicrArmy_ldrDrGs   rtest_osx_explicit_ldsharedz0UnixCCompilerTestCase.test_osx_explicit_ldshared{s
			$'	 
 
"
"	2cCI6C
O(111	2	2	2	2	2	2	2	2	2	2	2	2	2	2	2	
*1-w77777s$AAAN)
rrrr r$unittestskipIfrrr=
skipUnlessrIrMrrrrr	s$$$@@@X_S\W,.EFFO8O8GFO8bX13PQQ88RQ8X13PQQ
8
8RQ
8
8
8rr__main__)rrNtest.support.os_helperr	distutilsrdistutils.unixccompilerrTestCaserrmainrrr<module>rWs(



666666111111@8@8@8@8@8H-@8@8@8FzHMOOOOOr