B
    u9aJ                 @   sx   d dl Z d dlZd dlZd dlZd dlZd dlmZ d dlmZ e	e j
dkdG dd dejZedkrte  dS )	    N)support)script_helperposixzonly supported on Unixc               @   s&   e Zd Zeeedddd ZdS )
EINTRTests	setitimerzrequires setitimer()c             C   s   t jddd}d|dg}t jrtt  tddd tjd	d
df|}t|}td|j ddd |jr| 	d nt
d|d d S )Nzeintr_tester.pyZ	eintrdata)Zsubdirz-uz-vz--- run eintr_tester.py ---T)flushz-Ez-XZfaulthandlerz)--- eintr_tester.py completed: exit code z ---zeintr_tester.py failed)r   Zfindfileverboseprintsys
executable
subprocessrun
returncodeZfailr   Zassert_python_ok)selfZtesterargsproc r    /usr/lib/python3.7/test_eintr.pytest_all   s    

zEINTRTests.test_allN)__name__
__module____qualname__unittest
skipUnlesshasattrsignalr   r   r   r   r   r      s   r   __main__)osr   r   r
   r   Ztestr   Ztest.supportr   r   nameZTestCaser   r   mainr   r   r   r   <module>   s   
