diff options
author | Stef Walter <stefw@gnome.org> | 2014-03-04 16:12:16 +0100 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2014-03-05 13:02:15 +0100 |
commit | 50e0feec5d80263ba2c65d005290a3e9837905f4 (patch) | |
tree | b014be9d7a182affbd4440a5c7ac59fb79f0bbde /pkcs11/gnome2-store/tests/Makefile.am | |
parent | beea17679b71bdcb5363bc5844f1ed826d4424be (diff) |
Makefile.am: Move tests into same directories as tested code
This allows for a cleaner build tree, and will provide benefits
when moving to a single Makefile.
Diffstat (limited to 'pkcs11/gnome2-store/tests/Makefile.am')
-rw-r--r-- | pkcs11/gnome2-store/tests/Makefile.am | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/pkcs11/gnome2-store/tests/Makefile.am b/pkcs11/gnome2-store/tests/Makefile.am deleted file mode 100644 index 64731dd8..00000000 --- a/pkcs11/gnome2-store/tests/Makefile.am +++ /dev/null @@ -1,66 +0,0 @@ -include $(top_srcdir)/Makefile.decl - -INCLUDES = \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -I$(top_srcdir)/pkcs11 \ - -DSRCDIR="\"@abs_srcdir@\"" \ - $(GLIB_CFLAGS) \ - $(LIBGCRYPT_CFLAGS) - -LDADD = \ - $(top_builddir)/pkcs11/gnome2-store/libgkm-gnome2-store.la \ - $(top_builddir)/pkcs11/gkm/libgkm.la \ - $(top_builddir)/egg/libegg.la \ - $(GLIB_LIBS) \ - $(LIBGCRYPT_LIBS) - -if WITH_P11_TESTS -CHECK_PROGS = check-gnome2-module -else -CHECK_PROGS = -endif - -CHECK_FILES = \ - p11-tests.conf - -TEST_PROGS = \ - test-gnome2-file \ - test-gnome2-storage \ - test-gnome2-private-key \ - test-import - -test_gnome2_storage_SOURCES = \ - test-gnome2-storage.c \ - mock-gnome2-module.c mock-gnome2-module.h - -test_gnome2_private_key_SOURCES = \ - test-gnome2-private-key.c \ - mock-gnome2-module.c mock-gnome2-module.h - -test_import_CFLAGS = $(GCR_BASE_CFLAGS) $(GCK_CFLAGS) -test_import_LDADD = $(GCR_BASE_LIBS) $(GCK_LIBS) $(LDADD) - -check_PROGRAMS = $(TEST_PROGS) - -test: $(TEST_PROGS) $(CHECK_PROGS) $(CHECK_FILES) - gtester --verbose -m $(TEST_MODE) --g-fatal-warnings $(TEST_PROGS) - @for prog in $(CHECK_PROGS); do SRCDIR='.' ./$$prog || exit 1; done - -check-local: test - -all-local: $(check_PROGRAMS) - -noinst_PROGRAMS = \ - frob-gnome2-file \ - $(CHECK_PROGS) - -check_gnome2_module_CFLAGS = $(P11_TESTS_CFLAGS) -check_gnome2_module_LDADD = $(P11_TESTS_LIBS) $(LDADD) - -EXTRA_DIST = \ - p11-tests.conf.in \ - files - -CLEANFILES = \ - $(CHECK_FILES) |