diff options
Diffstat (limited to 'test/name-test/Makefile.am')
-rw-r--r-- | test/name-test/Makefile.am | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/name-test/Makefile.am b/test/name-test/Makefile.am new file mode 100644 index 00000000..7e931c8a --- /dev/null +++ b/test/name-test/Makefile.am @@ -0,0 +1,26 @@ +INCLUDES=-I$(top_srcdir) $(DBUS_CLIENT_CFLAGS) $(DBUS_GLIB_CFLAGS) -DDBUS_COMPILATION + +## note that TESTS has special meaning (stuff to use in make check) +## so if adding tests not to be run in make check, don't add them to +## TESTS +if DBUS_BUILD_TESTS +TESTS_ENVIRONMENT=DBUS_TOP_BUILDDIR=$(ABSOLUTE_TOP_BUILDDIR) +TESTS=run-test.sh +else +TESTS= +endif + +EXTRA_DIST=run-test.sh + +if DBUS_BUILD_TESTS + +## we use noinst_PROGRAMS not check_PROGRAMS for TESTS so that we +## build even when not doing "make check" +noinst_PROGRAMS=test-names + +test_names_SOURCES= \ + test-names.c + +test_names_LDADD=$(top_builddir)/dbus/libdbus-1.la $(top_builddir)/dbus/libdbus-convenience.la +endif + |