[systemd-devel] [PATCH] buildsys: Add --disable-tests to avoid building tests

Lennart Poettering lennart at poettering.net
Wed Apr 17 10:13:48 PDT 2013


On Wed, 17.04.13 18:48, Henrik Grindal Bakken (hgb at ifi.uio.no) wrote:

> @@ -125,8 +125,13 @@ dist_dbussystemservice_DATA =
>  check_PROGRAMS =
>  check_DATA =
>  noinst_tests=
> +if ENABLE_TESTS
>  noinst_PROGRAMS = $(noinst_tests)
>  TESTS = $(noinst_tests)
> +else
> +noinst_PROGRAMS =
> +TESTS =
> +endif
>  udevlibexec_PROGRAMS =

There must be two different vars for these, you cannot collapse them
(see other mail for explanation).

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list