> > 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 <uril@xxxxxxxxxx> Acked-by: Frediano Ziglio <fziglio@xxxxxxxxxx> now both tests are executed! > --- > > changes since v1: > - Instead of having a single check_PROGRAMS at the top, > use += to add tests to check_PROGRAMS (Frediano) > > --- > Makefile.am | 7 +------ > 1 file changed, 1 insertion(+), 6 deletions(-) > > diff --git a/Makefile.am b/Makefile.am > index c2e9668..a39a40e 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -167,9 +167,4 @@ 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) > - > +check_PROGRAMS += tests/test-device-info _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel