diff --git a/tests/Makefile.am b/tests/Makefile.am index 24d45c950cf28b80fd92da3c9e4bf12397bbd1e8..c1d95c1041052de11e7ca0fa8e033bc94f65e428 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,18 +1,21 @@ NULL = +noinst_PROGRAMS = TESTS = coroutine \ util \ session \ - usb-acl-helper \ $(NULL) if WITH_PHODAV TESTS += pipe endif -noinst_PROGRAMS = $(TESTS) \ - mock-acl-helper \ - $(NULL) +if WITH_POLKIT +TESTS += usb-acl-helper +noinst_PROGRAMS += mock-acl-helper +endif + +noinst_PROGRAMS += $(TESTS) AM_CPPFLAGS = \ $(COMMON_CFLAGS) \