X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2FT391-python-cffi.sh;h=30872af0b9816a4e00da45a5f63b74844bcc84b2;hb=78632345868b5e4753ad402c806c29569946ce89;hp=f961069b87392e598f5f1f89f343da11cc70c5f5;hpb=ef0ab496b3f1e3a85f08102e3aaf251f4af69fd3;p=notmuch diff --git a/test/T391-python-cffi.sh b/test/T391-python-cffi.sh index f961069b..30872af0 100755 --- a/test/T391-python-cffi.sh +++ b/test/T391-python-cffi.sh @@ -7,8 +7,14 @@ if [ $NOTMUCH_HAVE_PYTHON3_CFFI -eq 0 -o $NOTMUCH_HAVE_PYTHON3_PYTEST -eq 0 ]; t fi -test_begin_subtest "python cffi tests" +test_begin_subtest "python cffi tests (NOTMUCH_CONFIG set)" 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)" + +test_begin_subtest "python cffi tests (NOTMUCH_CONFIG unset)" +pytest_dir=$NOTMUCH_BUILDDIR/bindings/python-cffi/build/stage +printf "[pytest]\nminversion = 3.0\naddopts = -ra\n" > $pytest_dir/pytest.ini +unset NOTMUCH_CONFIG +test_expect_success "(cd $pytest_dir && ${NOTMUCH_PYTHON} -m pytest --verbose --log-file=$TMP_DIRECTORY/test.output)" test_done