aboutsummaryrefslogtreecommitdiff
path: root/test/py
diff options
context:
space:
mode:
Diffstat (limited to 'test/py')
-rw-r--r--test/py/libvfio_user.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/py/libvfio_user.py b/test/py/libvfio_user.py
index 25ae90e..246a4f1 100644
--- a/test/py/libvfio_user.py
+++ b/test/py/libvfio_user.py
@@ -224,10 +224,7 @@ VFU_MIGR_CALLBACKS_VERS = 1
SOCK_PATH = b"/tmp/vfio-user.sock.%d" % os.getpid()
topdir = os.path.realpath(os.path.dirname(__file__) + "/../..")
-build_type = os.getenv("BUILD_TYPE", default="dbg")
-libname = "%s/build/%s/lib/libvfio-user.so" % (topdir, build_type)
-if not os.path.exists(libname):
- libname = os.path.join(os.getenv("LIBVFIO_SO_DIR"), "libvfio-user.so")
+libname = os.path.join(os.getenv("LIBVFIO_SO_DIR"), "libvfio-user.so")
lib = c.CDLL(libname, use_errno=True)
libc = c.CDLL("libc.so.6", use_errno=True)