%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python2.7/distutils/tests/
Upload File :
Create Path :
Current File : //usr/local/lib/python2.7/distutils/tests/test_ccompiler.pyo

ó
Pêáac@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((s:/usr/local/lib/python2.7/distutils/tests/test_ccompiler.pytlibrary_dir_option
scCsdd|gS(Ns-cools-R((RR	((s:/usr/local/lib/python2.7/distutils/tests/test_ccompiler.pytruntime_library_dir_optionsicCsdS(Ntfound((RtdirstlibR((s:/usr/local/lib/python2.7/distutils/tests/test_ccompiler.pytfind_library_filescCsd|S(Ns-l((RR((s:/usr/local/lib/python2.7/distutils/tests/test_ccompiler.pytlibrary_options(t__name__t
__module__R
RRR(((s:/usr/local/lib/python2.7/distutils/tests/test_ccompiler.pyRs		tCCompilerTestCasecBsGeZd„Zd„Zd„Zejeƒdkdƒd„ƒZRS(cCs°dtfd„ƒY}|ƒ}|jddddgƒ|j|jdddgƒ|jddƒ|j|jdd	d
gƒ|jddƒ|j|jd
ddgƒdS(NtMyCCompilercBs#eZidd6dd6dd6ZRS(ttcompilertcompiler_cxxtlinker(RRtexecutables(((s:/usr/local/lib/python2.7/distutils/tests/test_ccompiler.pyRsRtenvsOMPI_MPICC=clangtmpiccRsenv OMPI_MPICXX=clang++ mpicxxsOMPI_MPICXX=clang++tmpicxxRuenv OMPI_MPICXX=clang++ mpiCCuenvuOMPI_MPICXX=clang++umpiCC(Rtset_executablestassertEqualRRR(RRR((s:/usr/local/lib/python2.7/distutils/tests/test_ccompiler.pyttest_set_executabless	

cCsztƒ}ddg}dg}tjjddƒdg}t||||ƒ}ddd	d
ddg}|j||ƒdS(
Ntlib1tlib2trunlib1R	tnametname2s-Llib1s-Llib2s-cools	-Rrunlib1Rs-lname2(RtostpathtjoinRR(RRtlibdirst
runlibdirstlibstoptstwanted((s:/usr/local/lib/python2.7/distutils/tests/test_ccompiler.pyttest_gen_lib_options3s			cCsÁdtfd„ƒY}|ƒ}tƒ}|jdƒWdQX|jdƒ|j|jƒdƒtt_zFtƒ}|jdƒWdQX|jdƒ|j|jƒdƒWdt	t_XdS(NRcBseZiZRS((RRR(((s:/usr/local/lib/python2.7/distutils/tests/test_ccompiler.pyR@stxxxiRsxxx
(
RRtdebug_printtseekRtreadtTrueRtDEBUGtFalse(RRRtstdout((s:/usr/local/lib/python2.7/distutils/tests/test_ccompiler.pyttest_debug_print>s	
	
tunixs+not testing if default compiler is not unixcCs[dtjd<dtjd<dd	d„ƒY}|ƒ}t|ƒ|j|jddƒdS(
Ntmy_artARs-arflagstARFLAGSRcBseZdZd„ZRS(R7c[s
||_dS(N(texes(Rtkw((s:/usr/local/lib/python2.7/distutils/tests/test_ccompiler.pyR\s(RRt
compiler_typeR(((s:/usr/local/lib/python2.7/distutils/tests/test_ccompiler.pyRYstarchiversmy_ar -arflags((R%tenvironRRR;(RRtcomp((s:/usr/local/lib/python2.7/distutils/tests/test_ccompiler.pyttest_customize_compilerRs

	
(	RRRR-R6tunittestt
skipUnlessRRA(((s:/usr/local/lib/python2.7/distutils/tests/test_ccompiler.pyRs
			cCs
tjtƒS(N(RBt	makeSuiteR(((s:/usr/local/lib/python2.7/distutils/tests/test_ccompiler.pyt
test_suitecst__main__tdefaultTestRE(t__doc__R%RBttest.test_supportRtdistutils.ccompilerRRRtdistutils.sysconfigRt	distutilsRtdistutils.testsRtobjectRtEnvironGuardtTestCaseRRERtmain(((s:/usr/local/lib/python2.7/distutils/tests/test_ccompiler.pyt<module>s
J	

Zerion Mini Shell 1.0