[gnutls-devel] [PATCH] tests: skip tests that requires tools if tools are disabled
Nikos Mavrogiannopoulos
n.mavrogiannopoulos at gmail.com
Tue Jan 3 09:51:45 CET 2017
On Tue, Jan 3, 2017 at 8:51 AM, Alon Bar-Lev <alon.barlev at gmail.com> wrote:
> I considered several alternatives...
>
> 1. Force --enable-tools if --enable-tests in autoconf
>
> We skip important tests that can be done for minimal installation.
>
> 2. Always build tools but modify automake to conditionally install
> them based on --enable-tools
>
> We have this huge dependency graph of autogen, guile and libxml with
> their own dependencies.
>
> 3. Skip tests that requires tools
>
> Test whatever we can without introducing more dependencies for minimal
> installation.
>
> 4. Clone at least certtool which is common to all tests to
> certtool-test that has no extra dependencies with simpler usage.
>
> I chose #3 as it seems to balance between having minimal build with
> minimal tests and full build and test suites.
> However, #4 is the best but more than I can contribute right now.
Ok, let's test it. Would you like to submit it as a merge request in
gitlab? That will make it run through the CI and we can verify that no
test cases are skipped unintentionally.
regards,
Nikos
More information about the Gnutls-devel
mailing list