
    /g                     <   S r SSKrSSKrSSKrSSKr\R
                  R                  \R
                  R                  \R
                  R                  \5      5      5      r\R                  " 5       /\R                  " 5       -   r/ rS rS rS r\S:X  a  \" 5         gg)zA test runner for pywin32    Nc                    [         R                  R                  U 5      u  p#[        R                  SU/U-   n[        SU -  5        [        R                  R                  5         [        R                  " USUS9n[        SU  SUR                   35        [        R                  R                  5         UR                  (       a  [        R                  U 5        g g )Nz-uz--- Running '%s' ---F)checkcwdz*** Test script 'z' exited with )ospathsplitsys
executableprintstdoutflush
subprocessrun
returncodefailuresappend)scriptcmdline_extrasdirname
scriptnamecmdresults         vC:\Users\julio\OneDrive\Documentos\Trabajo\Ideas Frescas\mi_entorno\Lib\site-packages\../../Scripts/pywin32_testall.pyrun_testr      s    ''--/G>>4
,~
=C	
 6
)*JJ^^Cu':F	fX^F4E4E3F
GHJJ     c                     U  H4  n[         R                  R                  U5      (       d  M)  [        X!5          g    [	        SU -  5      e)Nz+Failed to locate a test script in one of %s)r   r   isfiler   RuntimeError)possible_locationsextrasmaybes      r   find_and_runr"       sB    #77>>%  U# $
 9<NN
 	
r   c            	         SS K n [        /[        -   nU R                  SS9nUR	                  SSSSS9  UR	                  S	SS
S9  UR	                  SSSSS9  UR                  5       u  p4/ nUR                  (       a  UR                  S	5        UR                  U5        SS/nU H=  nU Vs/ s H"  n[        R                  R                  X5      PM$     n	n[        X5        M?     [        R                  R                  [        S5      /[        -    Vs/ s H%  n[        R                  R                  USSS5      PM'     n	nUS/-   n[        X5        UR                  (       dz  U Vs/ s H%  n[        R                  R                  USSS5      PM'     n	n[        X5        U Vs/ s H%  n[        R                  R                  USSS5      PM'     n	n[        X5        [        (       a:  [        S5        [         H  n
[        SU
5        M     [         R"                  " S5        [        S5        g s  snf s  snf s  snf s  snf )Nr   z8A script to trigger tests in all subprojects of PyWin32.)descriptionz-no-user-interactionF
store_truezC(This is now the default - use `-user-interaction` to include them))defaultactionhelpz-user-interactionz,Include tests which require user interaction)r'   r(   z-skip-adodbapiz@Skip the adodbapi tests; useful for CI where there's no providerzwin32/test/testall.pyzPythonwin/pywin/test/all.pycomwin32comtestz
testall.py1adodbapizadodbapitest.pyztest_adodbapi_dbapi20.pyzThe following scripts failed>   zAll tests passed \o/)argparseproject_rootsite_packagesArgumentParseradd_argumentparse_known_argsuser_interactionr   extendr   r   joinr"   skip_adodbapir   r   r	   exit)r0   code_directoriesparserargsremainsr    scriptsr   	directorymaybesfailures              r   mainrC   +   sA   $~5$$N % F R	   ;   O	   ++-MD F)*
MM'%G CSTCSi"'',,y1CSTV$  '',,|U;<}LLI 	Y
FLAL   u_F   .
-	 GGLLJ8IJ- 	 
 	V% .
-	 GGLLJ8RS- 	 
 	V%x,-G#w  	
!"A U

s   +)H.,H3',H8$,H=__main__)__doc__r   siter   r	   r   r   __file__r1   getusersitepackagesgetsitepackagesr2   r   r   r"   rC   __name__ r   r   <module>rL      s     	   
 wwrwwrwwx/HIJ))+,t/C/C/EE
 
I#X zF r   