Re: [PATCH 02/36] test/T391-python-cffi

Subject: Re: [PATCH 02/36] test/T391-python-cffi

Date: Sun, 10 Jan 2021 17:33:18 +0200

To: David Bremner, notmuch@notmuchmail.org

Cc:

From: Tomi Ollila


On Sun, Jan 03 2021, David Bremner wrote:

> Make bindings test verbose. This helps in debugging.
> ---
>  test/T391-python-cffi.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/test/T391-python-cffi.sh b/test/T391-python-cffi.sh
> index f961069b..d54bad27 100755
> --- a/test/T391-python-cffi.sh
> +++ b/test/T391-python-cffi.sh
> @@ -10,5 +10,5 @@ fi
>  test_begin_subtest "python cffi tests"
>  pytest_dir=$NOTMUCH_BUILDDIR/bindings/python-cffi/build/stage
>  printf "[pytest]\nminversion = 3.0\naddopts = -ra\n" > $pytest_dir/pytest.ini
> -test_expect_success "(cd $pytest_dir && ${NOTMUCH_PYTHON} -m pytest --log-file=$TMP_DIRECTORY/test.output)"
> +test_expect_success "(cd $pytest_dir && ${NOTMUCH_PYTHON} -m pytest --verbose --log-file=$TMP_DIRECTORY/test.output)"

Looks trivial enough to me

Note to self (anyone): ${NOTMUCH_PYTHON} -bb -m pytest ..

(so b'aa' == 'aa' would raise an error instead of returning False)

Tomi

>  test_done
> -- 
> 2.29.2
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: