From b0d8ba9a6acf9ef762cce58dc034a2b0cb9bdabb Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Tue, 18 Oct 2016 11:24:24 +0100 Subject: [PATCH] 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 Acked-by: Jonathon Jongsma --- server/tests/Makefile.am | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/server/tests/Makefile.am b/server/tests/Makefile.am index 17a06e83..8580a9a5 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 \