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

Re: RFH pychopper - test in cowbuilder does not find tests



It is fixed on my end now. I may have replied to Nilesh only :o)

It is a path issue, I tend to think, dependening on if you invoke the
tests from the source root or from within the build directory.

Cheers,

Steffen

On 18.06.20 16:33, Emmanuel Arias wrote:
Hi!

I can reproduce the error that say Nilesh, and there's a issue about
it [0]

[0] https://github.com/nanoporetech/pychopper/issues/37
<https://github.com/nanoporetech/pychopper/issues/37>


Cheers,
Arias Emmanuel
@eamanu
yaerobi.com <http://yaerobi.com>


On Thu, Jun 18, 2020 at 10:30 AM Nilesh Patra <npatra974@gmail.com
<mailto:npatra974@gmail.com>> wrote:



    On Thu, 18 Jun 2020 at 18:44, Steffen Möller
    <steffen_moeller@gmx.de <mailto:steffen_moeller@gmx.de>> wrote:

        Hello,

        https://salsa.debian.org/med-team/pychopper
        <https://salsa.debian.org/med-team/pychopper>

        It is a Python module with a small script to its side that is
        not named
        pychopper  - a bit surprising. More surprising, cowbuilder
        gives me

        writing... pychopper.1{
        cmd_listmodulespychopperpychopper.phmm_datapychopper.primer_datapychopper.tests}

        done
        build succeeded.

        The manual pages are in _build/man.

        Build finished. The manual pages are in _build/man.
        make[2]: Leaving directory '/build/pychopper-2.4.0/docs'
        make[1]: Leaving directory '/build/pychopper-2.4.0'
           dh_auto_test -O--buildsystem=pybuild
                pybuild --test --test-pytest -i python{version} -p 3.8
        I: pybuild base:217: cd
        /build/pychopper-2.4.0/.pybuild/cpython3_3.8_pychopper/build;
        python3.8
        -m pytest
        =========================================================================================

        test session starts
        ==========================================================================================
        platform linux -- Python 3.8.3, pytest-4.6.11, py-1.8.1,
        pluggy-0.13.0
        rootdir: /build/pychopper-2.4.0, inifile: pytest.ini
        plugins: xonsh-0.9.18, doctestplus-0.7.0, xdist-1.32.0,
        cov-2.8.1,
        mock-1.10.4, openfiles-0.5.0, forked-1.1.3, arraydiff-0.3,
        hypothesis-5.16.0, timeout-1.3.3, remotedata-0.3.2
        collected 0 items

        =====================================================================================

        no tests ran in 0.02 seconds
        =====================================================================================
        E: pybuild pybuild:352: test: plugin distutils failed with:
        exit code=5:
        cd /build/pychopper-2.4.0/.pybuild/cpython3_3.8_pychopper/build;
        python3.8 -m pytest
        dh_auto_test: error: pybuild --test --test-pytest -i
        python{version} -p
        3.8 returned exit code 13


    Very weird and same for me (gbp buildpackage with sbuild).
    And I've pushed a patch - this runs now.

    $git pull :)

    However - one of the tests fail, and I'm leaving this on you to debug.

    Regards,
    Nilesh



Reply to: