ó
]c           @   s~   d  Z  d d l Z d d l Z d d l Z d d l m Z e j j e  pR e j	 Z
 d   Z e d k rz e e    n  d S(   s  Test suite for distutils.

This test suite consists of a collection of test modules in the
distutils.tests package.  Each test module has a name starting with
'test' and contains a function test_suite().  The function is expected
to return an initialized unittest.TestSuite instance.

Tests for the command classes in the distutils.command package are
included in distutils.tests as well, instead of using a separate
distutils.command.tests package, since command identification is done
by import rather than matching pre-defined names.

i’’’’N(   t   run_unittestc          C   s   t  j   }  xp t j t  D]_ } | j d  r | j d  r d | d  } t |  t j	 | } |  j
 | j    q q W|  S(   Nt   tests   .pys   distutils.tests.iż’’’(   t   unittestt	   TestSuitet   ost   listdirt   heret
   startswitht   endswitht
   __import__t   syst   modulest   addTestt
   test_suite(   t   suitet   fnt   modnamet   module(    (    s)   lib/python2.7/distutils/tests/__init__.pyR      s    
t   __main__(   t   __doc__R   R
   R   t   test.test_supportR    t   patht   dirnamet   __file__t   curdirR   R   t   __name__(    (    (    s)   lib/python2.7/distutils/tests/__init__.pyt   <module>   s   	