��Qc@s�dZddlZddlZddlmZddlmZddlmZdej ej
fd��YZd�Ze
d kr�ee��ndS(
s"Tests for distutils.command.bdist.i�N(trun_unittest(tbdist(tsupportt
BuildTestCasecBseZd�Zd�ZRS(cCs�|j�d}t|�}dg|_|j�|j|jdg�dddddddd g}t|j�}|j||�dS(
Nitmsitbztartgztartrpmttartwininsttziptztar(tcreate_distRtformatstensure_finalizedtassertEqualtsortedtformat_command(tselftdisttcmdR
tfound((s0/sys/lib/python2.7/distutils/tests/test_bdist.pyttest_formatss
cCs�|j�d}t|�}d|_|j�||jd<ddg}tjdkrg|jd�nx4|D],}|j|�}|j |jd|�qnWdS(NiRt
bdist_dumbt
bdist_wininsttntt bdist_msis&%s should take --skip-build from bdist(
RRt
skip_buildRtcommand_objtostnametappendtget_finalized_commandt
assertTrue(RRRtnamesRtsubcmd((s0/sys/lib/python2.7/distutils/tests/test_bdist.pyttest_skip_builds
(t__name__t
__module__RR$(((s0/sys/lib/python2.7/distutils/tests/test_bdist.pyRs cCs
tjt�S(N(tunittestt makeSuiteR(((s0/sys/lib/python2.7/distutils/tests/test_bdist.pyt
test_suite0st__main__(t__doc__RR'ttest.test_supportRtdistutils.command.bdistRtdistutils.testsRtTempdirManagertTestCaseRR)R%(((s0/sys/lib/python2.7/distutils/tests/test_bdist.pyt<module>s $
|