Also define TESTS once
autoreconf complains when there are multiple definitions of
a variable. In this case (partial error message follows):
warning: check_PROGRAMS multiply defined
Signed-off-by: Uri Lublin <[email protected]>
---
Makefile.am | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index c2e9668..d1afae2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,7 +3,12 @@ NULL =
bin_PROGRAMS = src/spice-vdagent
sbin_PROGRAMS = src/spice-vdagentd
-check_PROGRAMS = tests/test-file-xfers
+
+check_PROGRAMS = \
+ tests/test-file-xfers \
+ tests/test-device-info \
+ $(NULL)
+
TESTS = $(check_PROGRAMS)
common_sources = \
@@ -167,9 +172,3 @@ DISTCHECK_CONFIGURE_FLAGS = \
tests_test_device_info_LDADD = $(src_spice_vdagent_LDADD)
tests_test_device_info_CFLAGS = $(src_spice_vdagent_CFLAGS)
-check_PROGRAMS = \
- tests/test-device-info \
- $(NULL)
-
-TESTS = $(check_PROGRAMS)
-
--
2.20.1
_______________________________________________
Spice-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel