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

Henrik Grindal Bakken hgb at ifi.uio.no
Wed Apr 17 10:25:22 PDT 2013


Lennart Poettering <lennart at poettering.net> writes:

> 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).

Yeah, so then my first patch is back to the number one candidate.  Or I
can make a new one, similar to this, with two variable.  Perhaps that's
prettier?


-- 
Henrik Grindal Bakken <hgb at ifi.uio.no>
PGP ID: 8D436E52
Fingerprint: 131D 9590 F0CF 47EF 7963  02AF 9236 D25A 8D43 6E52


More information about the systemd-devel mailing list