Plan 9 from Bell Labs’s /usr/web/sources/contrib/jas/root/sys/lib/python2.7/distutils/tests/test_ccompiler.pyo

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


��Qc@s�dZddlZddlZddlmZddlmZmZmZddl	m
Z
ddlmZddl
mZdefd	��YZd
ejejfd��YZd�Zed
kr�ejdd�ndS(sTests for distutils.ccompiler.i�N(tcaptured_stdout(tgen_lib_optionst	CCompilertget_default_compiler(tcustomize_compiler(tdebug(tsupporttFakeCompilercBs/eZd�Zd�Zdd�Zd�ZRS(cCsd|S(Ns-L((tselftdir((s4/sys/lib/python2.7/distutils/tests/test_ccompiler.pytlibrary_dir_option
scCsdd|gS(Ns-cools-R((RR	((s4/sys/lib/python2.7/distutils/tests/test_ccompiler.pytruntime_library_dir_optionsicCsdS(Ntfound((RtdirstlibR((s4/sys/lib/python2.7/distutils/tests/test_ccompiler.pytfind_library_filescCsd|S(Ns-l((RR((s4/sys/lib/python2.7/distutils/tests/test_ccompiler.pytlibrary_options(t__name__t
__module__R
RRR(((s4/sys/lib/python2.7/distutils/tests/test_ccompiler.pyRs		tCCompilerTestCasecBs#eZd�Zd�Zd�ZRS(cCszt�}ddg}dg}tjjdd�dg}t||||�}ddd	d
ddg}|j||�dS(
Ntlib1tlib2trunlib1R	tnametname2s-Llib1s-Llib2s-cools	-Rrunlib1Rs-lname2(RtostpathtjoinRtassertEqual(Rtcompilertlibdirst
runlibdirstlibstoptstwanted((s4/sys/lib/python2.7/distutils/tests/test_ccompiler.pyttest_gen_lib_optionss			cCs�dtfd��Y}|�}t��}|jd�WdQX|jd�|j|j�d�tt_zFt��}|jd�WdQX|jd�|j|j�d�Wdt	t_XdS(NtMyCCompilercBseZiZRS((RRtexecutables(((s4/sys/lib/python2.7/distutils/tests/test_ccompiler.pyR$(stxxxitsxxx
(
RRtdebug_printtseekRtreadtTrueRtDEBUGtFalse(RR$Rtstdout((s4/sys/lib/python2.7/distutils/tests/test_ccompiler.pyttest_debug_print&s	
	
cCsnt�dkrdSdtjd<dtjd<dd
d��Y}|�}t|�|j|jdd	�dS(Ntunixtmy_artARs-arflagstARFLAGSRcBseZdZd�ZRS(R0c[s
||_dS(N(texes(Rtkw((s4/sys/lib/python2.7/distutils/tests/test_ccompiler.pytset_executablesGs(RRt
compiler_typeR6(((s4/sys/lib/python2.7/distutils/tests/test_ccompiler.pyRDstarchiversmy_ar -arflags((RRtenvironRRR4(RRtcomp((s4/sys/lib/python2.7/distutils/tests/test_ccompiler.pyttest_customize_compiler:s

	
(RRR#R/R;(((s4/sys/lib/python2.7/distutils/tests/test_ccompiler.pyRs		cCs
tjt�S(N(tunittestt	makeSuiteR(((s4/sys/lib/python2.7/distutils/tests/test_ccompiler.pyt
test_suiteNst__main__tdefaultTestR>(t__doc__RR<ttest.test_supportRtdistutils.ccompilerRRRtdistutils.sysconfigRt	distutilsRtdistutils.testsRtobjectRtEnvironGuardtTestCaseRR>Rtmain(((s4/sys/lib/python2.7/distutils/tests/test_ccompiler.pyt<module>s
5	

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].