Re: Bug#728797: ITP: python-mne -- Python modules for MEG and EEG data analysis
hi,
> 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
this was not a failure. I made the message more informative though.
> but more probably:
>
> Test file downloading ...
this one is the failure. I tried something to make it work.
and pushed tag v0.7rc4
the test should pass without internet connection.
see:
https://github.com/mne-tools/mne-python/blob/master/mne/tests/test_utils.py#L202
>> > 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).
you commented:
#MNE_SKIP_SAMPLE_DATASET_TESTS=true \
# xvfb-run --auto-servernum --server-num=20 -s "-screen 0 1024x768x24
-ac +extension GLX +render -noreset" \
# $(NOSETESTS) mne
which was "supposed" to do the job and also avoid failure when running
tests requiring X such as tests relying on mayavi if present.
the xvfb-run should not be in the Makefile.
let me know if tests pass now. If not I'll comment the test.
thanks again
Alex
Reply to: