ó \ŠKc@sGddlZddlZddlmZmZd„Zdd„ZdS(i’’’’N(tjiffiestmemusagecCswtjdƒ}g}d}x@tjdD]1}|j|ƒrMt|ƒ}q)|j|ƒq)Wdj|ƒ}||fS(Ns\A\d+\Zit (tretcompiletsystargvtmatchtevaltappendtjoin(tmtargstrepeattat f2py_opts((s;/usr/lib/python2.7/site-packages/numpy/f2py/f2py_testing.pytcmdlinesic CsVg|D].}|t|jjdƒdjƒƒf^q}tƒ}d}tƒ}d}x ||krū|d7}xƒ|D]{\}} ||ƒ|dkr”qyn|dkr½tƒ|}qytƒ|} | |kryd|G| |G| GH| }qyqyWq\Wtƒ} dG|t|ƒGdGdtƒ|dGH|rRd G|Gd GHd G| Gd GHndS( Ns iismemory usage change at step %i:trunttestssin %.2f secondsgY@sinitial virtual memory size:tbytesscurrent virtual memory size:(treprt__doc__tsplittstripRtNoneRtlen( truntestttest_functionsR tttltstart_memusaget diff_memusaget start_jiffiestitfnametdiff_memusage2tcurrent_memusage((s;/usr/lib/python2.7/site-packages/numpy/f2py/f2py_testing.pyRs2;          (RRtnumpy.testing.utilsRRRR(((s;/usr/lib/python2.7/site-packages/numpy/f2py/f2py_testing.pyts