[Spice-commits] server/tests

Frediano Ziglio fziglio at kemper.freedesktop.org
Thu Oct 20 07:46:00 UTC 2016


 server/tests/Makefile.am |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

New commits:
commit b0d8ba9a6acf9ef762cce58dc034a2b0cb9bdabb
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Tue Oct 18 11:24:24 2016 +0100

    Allows to use scripts for "make check"
    
    Allow both compiled and non-compiled tests to be used with "make
    check". Compiled tests should be added to check_PROGRAMS, and scripts
    that do not need to be built should be added to TESTS.
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Jonathon Jongsma <jjongsma at redhat.com>

diff --git a/server/tests/Makefile.am b/server/tests/Makefile.am
index 17a06e8..8580a9a 100644
--- a/server/tests/Makefile.am
+++ b/server/tests/Makefile.am
@@ -36,7 +36,7 @@ LDADD =								\
 	$(SPICE_NONPKGCONFIG_LIBS)		                \
 	$(NULL)
 
-TESTS =						\
+check_PROGRAMS =				\
 	spice-options-test			\
 	stat_test				\
 	stream-test				\
@@ -57,10 +57,11 @@ noinst_PROGRAMS =				\
 	test_vdagent				\
 	test_display_width_stride		\
 	spice-server-replay			\
-	$(TESTS)				\
+	$(check_PROGRAMS)			\
 	$(NULL)
 
-check_PROGRAMS = $(TESTS)
+TESTS = $(check_PROGRAMS)			\
+	$(NULL)
 
 noinst_LIBRARIES += \
 	libstat_test1.a \


More information about the Spice-commits mailing list