Re: [PATCH 4/5] tests: run python-cffi tests

Subject: Re: [PATCH 4/5] tests: run python-cffi tests

Date: Fri, 08 Nov 2019 20:36:33 -0500

To: Tomi Ollila, notmuch@notmuchmail.org

Cc:

From: David Bremner


Tomi Ollila <tomi.ollila@iki.fi> writes:

>
> Right -- just that pytest-3 may not be available -- to iterate (tested)...
>
> if ${NOTMUCH_PYTHON} -m pytest -c $conf --version >/dev/null 2>&1; then
>

The problem with this is that it might pass if pytest is only installed
for python2. 

> (in this particular case redirecting both stdout and stderr is needed
>  to silence noise in all 'ordinary' cases, being 
>    1) pytest module not available -- silence stderr
>    2) pytest version not new enough -- silence stderr
>    3) pytest exists and is new enought -- silence stdout )

agreed
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: