From ecfb1c26cdb0908e552a33ccad288f3224038f97 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 20 Apr 2009 10:57:57 -0500 Subject: Build infrastructure for first test --- tests/Makefile.am | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 tests/Makefile.am (limited to 'tests') diff --git a/tests/Makefile.am b/tests/Makefile.am new file mode 100644 index 0000000..8f290f9 --- /dev/null +++ b/tests/Makefile.am @@ -0,0 +1,29 @@ + +DBUS_RUNNER=/home/ted/Development/dbus-fun/dbus-test-runner --dbus-config /home/ted/Development/dbus-fun/session.conf + +TESTS = \ + test_simple + +test_simple: test_simple_c test_simple_s + $(DBUS_RUNNER) --task ./test_simple_c --task-name Client --task ./test_simple_s --task-name Server + +test_simple_c_SOURCES = \ + test-simple-c.c + +test_simple_c_CFLAGS = \ + $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. + +test_simple_c_LDADD = \ + ../libindicate/libindicate.la \ + $(LIBINDICATE_LIBS) + +test_simple_s_SOURCES = \ + test-simple-s.c + +test_simple_s_CFLAGS = \ + $(LIBINDICATE_CFLAGS) -I$(srcdir)/.. + +test_simple_s_LDADD = \ + ../libindicate/libindicate.la \ + $(LIBINDICATE_LIBS) + -- cgit v1.2.3