Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484280 - sci-libs/scikits_learn - why does USE=-doc run tests?
Summary: sci-libs/scikits_learn - why does USE=-doc run tests?
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-09 00:49 UTC by Luciano
Modified: 2013-09-10 17:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luciano 2013-09-09 00:49:55 UTC
Please change the ebuild test() phase to depend on the 'example' (or even 'test') USE flag instead of 'doc'. Currently the 'doc' flag is causing tests to run which take a really long time to complete.

Reproducible: Always

Steps to Reproduce:
1.Enable 'doc' flag
2.emerge scikits_learn



The ebuild (0.14.1):
----
python_test() {
    # doc builds and runs tests
    use doc && return
    distutils_install_for_testing ${SCIPY_FCONFIG}
    esetup.py \
Comment 1 Sébastien Fabbro (RETIRED) gentoo-dev 2013-09-10 17:43:53 UTC
i'm not sure i understand what you mean. in the current ebuild:
* if USE=-doc tests are only run upon user request
* if USE=doc, tests are run during doc compilation (upstream want to build documentation with plots), but will not be run at test phase
Comment 2 Luciano 2013-09-10 17:46:48 UTC
Hi I'm terribly sorry; I didn't realise that the plots in the documentation were created on the fly; I thought these were simply going in an 'examples' directory. I'll try to close the bug.