[gnome-software] trivial: Always build the test flatpak data when tests are enabled



commit 0d150596962a0540c6a3580632f3427145d4190e
Author: Richard Hughes <richard hughsie com>
Date:   Tue Mar 7 17:21:17 2017 +0000

    trivial: Always build the test flatpak data when tests are enabled

 plugins/flatpak/Makefile.am |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/plugins/flatpak/Makefile.am b/plugins/flatpak/Makefile.am
index 50beaa0..17848d9 100644
--- a/plugins/flatpak/Makefile.am
+++ b/plugins/flatpak/Makefile.am
@@ -34,6 +34,13 @@ gs_self_test_SOURCES = gs-self-test.c
 gs_self_test_LDADD = $(GS_PRIVATE_LIBS)
 gs_self_test_CFLAGS = $(GS_PRIVATE_CFLAGS)
 TESTS = gs-self-test
+
+tests/app-with-runtime/repo: tests/app-with-runtime
+       $(AM_V_GEN) cd tests && ./build.py && cd -
+
+BUILT_SOURCES =                                                \
+       tests/app-with-runtime/repo
+
 endif
 
 -include $(top_srcdir)/git.mk


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]