[IPython-dev] Slow testsuite?

Fernando Perez fperez.net at gmail.com
Tue Feb 21 14:00:04 EST 2012

On Tue, Feb 21, 2012 at 10:49 AM, Jörgen Stenarson
<jorgen.stenarson at bostream.nu> wrote:
> How long does the testsuite take to run on an average linux machine? On
> my windows machine it takes 125s with 100s for the parallel stuff. Is
> that normal? The reason I'm asking is that I think the running time for

On my fairly new and fast linux desktop, I get nearly identical results:

IPython test group: IPython.parallel
Ran 121 tests in 98.502s
Ran 10 test groups in 125.719s

> the parallel stuff has increased significantly from the last time I ran
> tests. (is there a way to just skip the parallel tests but run all the
> others?)

No, we don't currently have an easy way to skip one group.  We do have
an easy way to *include* one or more:

iptest IPython.core IPython.lib

will do just core and lib, for example.  But there's no way to spell
'everything but X'.  But in a pinch, you could make  a simple shell
alias/batch file that does

iptest IPython.core IPython.lib IPython....

listing manually everything but parallel.  The list of groups hardly
changes, so it's not a big deal to maintain that alias.

We do need to start tagging tests as slow (nose supports labeling), so
that it's easier to have a 'quick tests'  that gets run in < 30s, and
a 'full suite' that can take much longer.



More information about the IPython-dev mailing list