summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Privoznik <mprivozn@redhat.com>2015-03-04 13:59:53 +0100
committerMichal Privoznik <mprivozn@redhat.com>2015-03-04 14:58:21 +0100
commitec18891ce5ed12b82c1a050f6d23d02b311d4008 (patch)
tree8447e487f345fab17fafc13b54653f9c679cc8e3
parent00fdf08ee3b10afff84d529f8b3c60f557840bf1 (diff)
Makefile: Build tests at the same time as the rest
Currently, since we were using check_PROGRAMS in the Makefile template, the test program build was postponed until 'make check' was run. That's not optimal. Lets build (not run!) test program in the 'make all' phase. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
-rw-r--r--libvirt-designer/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvirt-designer/Makefile.am b/libvirt-designer/Makefile.am
index bda4240..fd7627d 100644
--- a/libvirt-designer/Makefile.am
+++ b/libvirt-designer/Makefile.am
@@ -82,9 +82,9 @@ libvirt-designer-enum-types.c: $(DESIGNER_HEADER_FILES) libvirt-designer-enum-ty
$(AM_V_GEN) ( $(GLIB_MKENUMS) --template $(srcdir)/libvirt-designer-enum-types.c.template $(DESIGNER_HEADER_FILES:%=$(srcdir)/%) ) | \
sed -e "s/G_TYPE_VIR_CONFIG/GVIR_CONFIG_TYPE/" -e "s/g_vir/gvir/" > libvirt-designer-enum-types.c
-check_PROGRAMS = test-designer-domain
+noinst_PROGRAMS = test-designer-domain
-TESTS = $(check_PROGRAMS)
+TESTS = $(noinst_PROGRAMS)
test_designer_domain_CFLAGS = \
-I$(top_srcdir) \