Ñò
ýÉªWc           @   s^  y d  d k  Z Wn e j
 o d  d k Z n Xd  d k Z d  d k Z d „  Z e d j oú d Z y} e i e i	 d d d d g ƒ \ Z
 Z xN e
 D]F \ Z Z e d j o d
 GHe i d ƒ q˜ e d j o
 e Z q˜ q˜ WWn* e i j
 o Z d
 GHe i d ƒ n Xe o5 d  d k Z e i d e i d e ƒ d d g ƒ qZe i ƒ  n d S(   iÿÿÿÿNc         C   sQ   t  i ƒ  } x> t  i i d d d ƒD]$ } x | D] } | i | ƒ q2 Wq% W| S(   s\    Discover and load all unit tests in all files named "*Test.py" under current directory
    t   .t   patterns   *Test.py(   t   unittestt	   TestSuitet   defaultTestLoadert   discovert   addTests(   t   loadert   testsR   t   suitet   all_test_suitet
   test_suite(    (    se   /home/jenkins/workspace/prepack-aio-release-4.2/prepack-aio/src/main/resources/scripts/UnittestAll.pyt
   load_tests   s      t   __main__i   s   hr:t   helpt
   reportPaths   -hs   --helps   UnittestAll.py [-r reportPath]i    s   -rs   --reporti   t
   testRunnert   outputt   argvs   UnittestAll.py(   s   -hs   --help(   s   -rs   --report(   t	   unittest2R   t	   Exceptiont   getoptt   sysR   t   __name__t   NoneR   R   t   optst   argst   ot   at   exitt   GetoptErrort   errt	   xmlrunnert   maint   XMLTestRunner(    (    (    se   /home/jenkins/workspace/prepack-aio-release-4.2/prepack-aio/src/main/resources/scripts/UnittestAll.pyt   <module>   s0   		( )