[libvirt] [dbus PATCH v2 4/5] tests: Drop fallback path for abs_top_builddir

Andrea Bolognani abologna at redhat.com
Thu Jun 21 11:04:58 UTC 2018


We have made sure all callers set up the environment
correctly, so it's pointless to have a fallback path now.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 tests/libvirttest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/libvirttest.py b/tests/libvirttest.py
index 06e52c0..3741abd 100644
--- a/tests/libvirttest.py
+++ b/tests/libvirttest.py
@@ -10,7 +10,7 @@ import time
 import xmldata
 
 
-root = os.environ.get('abs_top_builddir', os.path.dirname(os.path.dirname(__file__)))
+root = os.environ.get('abs_top_builddir')
 exe = os.path.join(root, 'src', 'libvirt-dbus')
 
 DBusGMainLoop(set_as_default=True)
-- 
2.17.1




More information about the libvir-list mailing list