ó €aUc@sÅdZddlmZmZmZmZddlZddlZddl Z ddl Z ej j deeee ƒddƒƒƒd„Zd„ZedkrÁeƒZejejƒ ƒndS( sRuns all netaddr unit tests.iÿÿÿÿ(tabspathtbasenametdirnametjoinNis..cCssddddg}ttttƒdƒƒ}d}tjddkrOd }ng}xB|D]:}t|d ||d ƒ}tj|ƒ}|j|ƒq\Wtjj d d j |ƒƒg}dddg}x-|D]%} tj | krÓ|j | ƒqÓqÓWg|D]} t | ƒ|kr| ^q}tjƒ} x9|D]1} tj| dtjdtƒ} | j| ƒq:W| S(Ntipteuitstrategytcores..s2.xiis3.xttestss*.txts testdir: %s s splatform_darwin.txtsplatform_linux2.txtsplatform_win32.txtt optionflagstmodule_relative(RtpathjoinRt__file__tsyst version_infotglobtextendtstdouttwriteRtplatformtappendRtunittestt TestSuitetdoctestt DocFileSuitetELLIPSIStFalsetaddTest(t test_dirst base_patht py_ver_dirt test_filestentryt test_pathtfilestskiplisttplatform_testst platform_testtttsuitet test_filet doctest_suite((s:/usr/lib/python2.7/site-packages/netaddr/tests/__init__.pyttest_suite_alls4    +   cCstjƒ}|jtƒƒS(N(RtTextTestRunnertrunR*(trunner((s:/usr/lib/python2.7/site-packages/netaddr/tests/__init__.pyR,Bs t__main__(t__doc__tos.pathRRRRR R RRRtpathtinsertR R*R,t__name__tresulttexitt wasSuccessful(((s:/usr/lib/python2.7/site-packages/netaddr/tests/__init__.pyts"    + 0