diff --git a/tests/Makefile.am b/tests/Makefile.am index 1d38f76fa7fb7c607ff07dfb161eae8d0856052b..1a2436793f719676f4c153ca06908ca90a07215f 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -128,10 +128,13 @@ test_programs = virshtest sockettest \ virportallocatortest \ sysinfotest \ virstoragetest \ - fdstreamtest \ fchosttest \ $(NULL) +if WITH_LIBVIRTD +test_programs += fdstreamtest +endif WITH_LIBVIRTD + if WITH_DBUS test_programs += virdbustest \ virsystemdtest