build: Install httpcache if installed-tests are enabled
authorSimon McVittie <smcv@debian.org>
Mon, 20 Aug 2018 14:22:00 +0000 (15:22 +0100)
committerSimon McVittie <smcv@debian.org>
Mon, 20 Aug 2018 20:29:02 +0000 (21:29 +0100)
Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://github.com/flatpak/flatpak/pull/1989

Gbp-Pq: Name build-Install-httpcache-if-installed-tests-are-enabled.patch

tests/Makefile.am.inc

index 1575c239b7f4d355e2ace533c8e6690b57377b01..b902a79942f122b102f379a4acbe173cfd0124a1 100644 (file)
@@ -109,7 +109,7 @@ dist_test_scripts = \
        $(NULL)
 
 test_programs = testlibrary
-noinst_PROGRAMS += httpcache
+test_extra_programs = httpcache
 
 @VALGRIND_CHECK_RULES@
 VALGRIND_SUPPRESSIONS_FILES=tests/flatpak.supp tests/glib.supp