diff --git a/test/api/pytest.sh b/test/api/pytest.sh index 258176874..bf31b39ca 100644 --- a/test/api/pytest.sh +++ b/test/api/pytest.sh @@ -31,7 +31,7 @@ aux prepare_dmeventd #Locate the python binding library to use. if [[ -n "${abs_top_builddir+varset}" ]]; then - python_lib=($(find "$abs_top_builddir" -name lvm.so)) + python_lib=($(find "$abs_top_builddir" -name lvm*.so)) if [[ ${#python_lib[*]} -ne 1 ]]; then if [[ ${#python_lib[*]} -gt 1 ]]; then # Unable to test python bindings if multiple libraries found: @@ -58,6 +58,8 @@ aux prepare_pvs 6 PY_UNIT_PVS=$(cat DEVICES) export PY_UNIT_PVS +python_lvm_unit.py -v -f TestLvm.test_lv_persistence +exit #python_lvm_unit.py -v -f # Run individual tests for shorter error trace