TESTS = check_PROGRAMS = DISTCLEANFILES = $(TESTS) DBUS_RUNNER=dbus-test-runner ########################## # test simple ########################## TESTS += test-simple check_PROGRAMS += test-simple-client test-simple-server test-simple: test-simple-client test-simple-server Makefile.am @echo "#!/bin/sh" > $@ @echo "$(DBUS_RUNNER) --task ./test-simple-client --task-name Client --task ./test-simple-server --task-name Server" >> $@ @chmod +x $@ test_simple_client_SOURCES = \ test-simple-client.c test_simple_client_CFLAGS = \ $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. test_simple_client_LDADD = \ ../libindicate/libindicate.la \ $(LIBINDICATE_LIBS) test_simple_server_SOURCES = \ test-simple-server.c test_simple_server_CFLAGS = \ $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. test_simple_server_LDADD = \ ../libindicate/libindicate.la \ $(LIBINDICATE_LIBS) ########################## # test properties ########################## TESTS += test-properties check_PROGRAMS += test-properties-client test-properties-server test-properties: test-properties-client test-properties-server Makefile.am @echo "#!/bin/sh" > $@ @echo "$(DBUS_RUNNER) --task ./test-properties-client --task-name Client --task ./test-properties-server --task-name Server" >> $@ @chmod +x $@ test_properties_client_SOURCES = \ test-properties-client.c test_properties_client_CFLAGS = \ $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. test_properties_client_LDADD = \ ../libindicate/libindicate.la \ $(LIBINDICATE_LIBS) test_properties_server_SOURCES = \ test-properties-server.c test_properties_server_CFLAGS = \ $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. test_properties_server_LDADD = \ ../libindicate/libindicate.la \ $(LIBINDICATE_LIBS) ########################## # test interests ########################## TESTS += test-interests check_PROGRAMS += test-interests-client test-interests-server test-interests: test-interests-client test-interests-server Makefile.am @echo "#!/bin/sh" > $@ @echo "$(DBUS_RUNNER) --task ./test-interests-client --task-name Client --task ./test-interests-server --task-name Server" >> $@ @chmod +x $@ test_interests_client_SOURCES = \ test-interests-client.c test_interests_client_CFLAGS = \ $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. test_interests_client_LDADD = \ ../libindicate/libindicate.la \ $(LIBINDICATE_LIBS) test_interests_server_SOURCES = \ test-interests-server.c test_interests_server_CFLAGS = \ $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. test_interests_server_LDADD = \ ../libindicate/libindicate.la \ $(LIBINDICATE_LIBS) ########################## # test interests ########################## TESTS += test-interests-multi check_PROGRAMS += test-interests-server1 test-interests-server2 test-interests-server3 test-interests-server4 test-interests-server5 test-interests-multi: test-interests-client test-interests-server1 test-interests-server2 test-interests-server3 test-interests-server4 test-interests-server5 Makefile.am @echo "#!/bin/sh" > $@ @echo "$(DBUS_RUNNER) --task ./test-interests-client --task-name Client --task ./test-interests-server1 --task-name Server1 --task ./test-interests-server2 --task-name Server2 --task ./test-interests-server3 --task-name Server3 --task ./test-interests-server4 --task-name Server4 --task ./test-interests-server5 --task-name Server5" >> $@ @chmod +x $@ test_interests_server1_SOURCES = \ test-interests-server1.c test_interests_server1_CFLAGS = \ $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. test_interests_server1_LDADD = \ ../libindicate/libindicate.la \ $(LIBINDICATE_LIBS) test_interests_server2_SOURCES = \ test-interests-server2.c test_interests_server2_CFLAGS = \ $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. test_interests_server2_LDADD = \ ../libindicate/libindicate.la \ $(LIBINDICATE_LIBS) test_interests_server3_SOURCES = \ test-interests-server3.c test_interests_server3_CFLAGS = \ $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. test_interests_server3_LDADD = \ ../libindicate/libindicate.la \ $(LIBINDICATE_LIBS) test_interests_server4_SOURCES = \ test-interests-server4.c test_interests_server4_CFLAGS = \ $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. test_interests_server4_LDADD = \ ../libindicate/libindicate.la \ $(LIBINDICATE_LIBS) test_interests_server5_SOURCES = \ test-interests-server5.c test_interests_server5_CFLAGS = \ $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. test_interests_server5_LDADD = \ ../libindicate/libindicate.la \ $(LIBINDICATE_LIBS) ########################## # test menu ########################## TESTS += test-menu check_PROGRAMS += test-menu-client test-menu-server test-menu: test-menu-client test-menu-server Makefile.am @echo "#!/bin/sh" > $@ @echo "$(DBUS_RUNNER) --task ./test-menu-client --task-name Client --task ./test-menu-server --task-name Server" >> $@ @chmod +x $@ test_menu_client_SOURCES = \ test-menu-client.c test_menu_client_CFLAGS = \ $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. test_menu_client_LDADD = \ ../libindicate/libindicate.la \ $(LIBINDICATE_LIBS) test_menu_server_SOURCES = \ test-menu-server.c test_menu_server_CFLAGS = \ $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. test_menu_server_LDADD = \ ../libindicate/libindicate.la \ $(LIBINDICATE_LIBS) ########################## # test thousand indicators ########################## TESTS += test-thousand-indicators check_PROGRAMS += test-thousand-indicators-client test-thousand-indicators-server test-thousand-indicators: test-thousand-indicators-client test-thousand-indicators-server Makefile.am @echo "#!/bin/sh" > $@ @echo "$(DBUS_RUNNER) --task ./test-thousand-indicators-client --task-name Client --task ./test-thousand-indicators-server --task-name Server" >> $@ @chmod +x $@ test_thousand_indicators_client_SOURCES = \ test-thousand-indicators-client.c test_thousand_indicators_client_CFLAGS = \ $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. test_thousand_indicators_client_LDADD = \ ../libindicate/libindicate.la \ $(LIBINDICATE_LIBS) test_thousand_indicators_server_SOURCES = \ test-thousand-indicators-server.c test_thousand_indicators_server_CFLAGS = \ $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. test_thousand_indicators_server_LDADD = \ ../libindicate/libindicate.la \ $(LIBINDICATE_LIBS) ########################## # test max indicators ########################## TESTS += test-max-indicators check_PROGRAMS += test-max-indicators-client test-max-indicators-server test-max-indicators: test-max-indicators-client test-max-indicators-server Makefile.am @echo "#!/bin/sh" > $@ @echo "$(DBUS_RUNNER) --task ./test-max-indicators-client --task-name Client --task ./test-max-indicators-server --task-name Server" >> $@ @chmod +x $@ test_max_indicators_client_SOURCES = \ test-max-indicators-client.c test-max-indicators-list.h test_max_indicators_client_CFLAGS = \ $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. test_max_indicators_client_LDADD = \ ../libindicate/libindicate.la \ $(LIBINDICATE_LIBS) test_max_indicators_server_SOURCES = \ test-max-indicators-server.c test-max-indicators-list.h test_max_indicators_server_CFLAGS = \ $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. test_max_indicators_server_LDADD = \ ../libindicate/libindicate.la \ $(LIBINDICATE_LIBS) ########################## # test max indicators repeat ########################## TESTS += test-max-indicators-repeat check_PROGRAMS += test-max-indicators-server-repeat test-max-indicators-repeat: test-max-indicators-client test-max-indicators-server-repeat Makefile.am @echo "#!/bin/sh" > $@ @echo "$(DBUS_RUNNER) --task ./test-max-indicators-client --task-name Client --task ./test-max-indicators-server-repeat --task-name Server --ignore-return " >> $@ @chmod +x $@ test_max_indicators_server_repeat_SOURCES = \ test-max-indicators-server-repeat.c test-max-indicators-list.h test_max_indicators_server_repeat_CFLAGS = \ $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. test_max_indicators_server_repeat_LDADD = \ ../libindicate/libindicate.la \ $(LIBINDICATE_LIBS) ########################## # test indicator display ########################## TESTS += test-indicator-display check_PROGRAMS += test-indicator-display-client test-indicator-display-server test-indicator-display: test-indicator-display-client test-indicator-display-server Makefile.am @echo "#!/bin/sh" > $@ @echo "$(DBUS_RUNNER) --task ./test-indicator-display-client --task-name Client --task ./test-indicator-display-server --task-name Server" >> $@ @chmod +x $@ test_indicator_display_client_SOURCES = \ test-indicator-display-client.c test_indicator_display_client_CFLAGS = \ $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. test_indicator_display_client_LDADD = \ ../libindicate/libindicate.la \ $(LIBINDICATE_LIBS) test_indicator_display_server_SOURCES = \ test-indicator-display-server.c test_indicator_display_server_CFLAGS = \ $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. test_indicator_display_server_LDADD = \ ../libindicate/libindicate.la \ $(LIBINDICATE_LIBS) ########################## # test indicator display half ########################## TESTS += test-indicator-display-half check_PROGRAMS += test-indicator-display-half-client test-indicator-display-half-server test-indicator-display-half: test-indicator-display-half-client test-indicator-display-half-server Makefile.am @echo "#!/bin/sh" > $@ @echo "$(DBUS_RUNNER) --task ./test-indicator-display-half-client --task-name Client --task ./test-indicator-display-half-server --task-name Server" >> $@ @chmod +x $@ test_indicator_display_half_client_SOURCES = \ test-indicator-display-half-client.c test_indicator_display_half_client_CFLAGS = \ $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. test_indicator_display_half_client_LDADD = \ ../libindicate/libindicate.la \ $(LIBINDICATE_LIBS) test_indicator_display_half_server_SOURCES = \ test-indicator-display-half-server.c test_indicator_display_half_server_CFLAGS = \ $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. test_indicator_display_half_server_LDADD = \ ../libindicate/libindicate.la \ $(LIBINDICATE_LIBS)