#842449 test suite built and -Werror used iff .git present

#842449#5
Date:
2016-10-29 11:06:38 UTC
From:
To:
While debugging a build problem, I discovered this curious fact:

The libvirt configure script checks for the existence of a directory
called .git, and if so it:
 - enables building the test suite
 - adds -Werror to the build flags

I can sort of see why upstream might think these useful but in the
Debian context I don't think I agree.

I suggest passing to configure from debian/rules,
 --with-test-suite 
 --disable-werror

Thanks,
Ian.

#842449#10
Date:
2025-11-18 21:29:12 UTC
From:
To:
Control: found -1 11.9.0-2

Although the build system has changed since 2016, I just discovered
that unfortunately this curious fact has not.  The .git-dependent
behavior can now be avoided by adding