[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#728797: ITP: python-mne -- Python modules for MEG and EEG data analysis



Hi Alexandre,

On Sat, Nov 23, 2013 at 03:50:20PM +0100, Alexandre Gramfort wrote:
> > I have tried to build the package and noticed that not all the test
> > are passing.  For instance:
> 
> the full test suite requires a large download but it can be skipped while
> maintaining > 60% coverage of the code. See target test-no-sample
> in Makefile.
> 
> test-no-sample: in
>     @MNE_SKIP_SAMPLE_DATASET_TESTS=true \
>     $(NOSETESTS) mne
> 
> it should be good enough?

I adapted packaging in Git to 0.7~rc3 and we are down to only one failed
test:

-----------------------------------------------------------------
TOTAL                               20945   8173    61%
----------------------------------------------------------------------
Ran 290 tests in 366.180s

FAILED (SKIP=89, failures=1)
make[2]: *** [test-no-sample] Error 1

See full build log attached.  Seems it is either

Test Yule-Walker against statsmodels ... SKIP: XFailed Test

but more probably:

Test file downloading ...

FAIL


 
> > occures in the build log.  You need to know that the package build
> > process needs to run on a computer without internet connection and you
> > can/should easily simulate this by using pdebuild.  Since you are
> > upstream you might be able to inject some option to the tests to ignore
> > all those that need to download something.
> 
> it's what test-no-sample should hopefully do.

Tried this (see d/rules in Git).

Kind regards

      Andreas.

-- 
http://fam-tille.de

Attachment: mne-python_0.7~rc3-1_amd64.build.gz
Description: Binary data


Reply to: