aboutsummaryrefslogtreecommitdiff
path: root/test/T391-python-cffi.sh
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-12-04 09:27:30 -0400
committerDavid Bremner <david@tethera.net>2021-12-04 09:27:30 -0400
commit1e7d33961e626488b09b56c8543e8edf00648670 (patch)
tree20c45ab5912db85b2aefd399c31b5318356ebf43 /test/T391-python-cffi.sh
parent20b2ae12183a5be79d2f3d8da7943bc358e8202c (diff)
parentd7f95724132bf658fd151630185899737e2ed829 (diff)
Merge branch 'release'
Diffstat (limited to 'test/T391-python-cffi.sh')
-rwxr-xr-xtest/T391-python-cffi.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/T391-python-cffi.sh b/test/T391-python-cffi.sh
index d54bad27..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 --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