Revision 1863 trunk/tests/Makefile.am
| Makefile.am (revision 1863) | ||
|---|---|---|
| 1 | 1 | 
                  include $(top_srcdir)/Makefile.decl  | 
              
| 2 | 2 | 
                   | 
              
| 3 | 3 | 
                  if BUILD_TESTSUITE  | 
              
| 4 | 
                  noinst_PROGRAMS = test_schedular test_regex test_nzbcreator test_nntpconnection_backend test_jsonrpc test_download_queue  | 
              |
| 4 | 
                  noinst_PROGRAMS = test_schedular test_regex test_jsonrpc test_download_queue  | 
              |
| 5 | 5 | 
                   | 
              
| 6 | 
                  INCLUDES = $(GLIB_CFLAGS) -I$(top_srcdir)/base -I$(top_srcdir)/plugins -I$(top_srcdir)/nntpgrab_core  | 
              |
| 6 | 
                  if ENABLE_ONLINE_TESTS  | 
              |
| 7 | 
                  noinst_PROGRAMS += test_nzbcreator test_nntpconnection_backend  | 
              |
| 8 | 
                  endif  | 
              |
| 9 | 
                   | 
              |
| 10 | 
                  INCLUDES = $(GLIB_CFLAGS) $(GIO_CFLAGS) $(LIBPROXY_CFLAGS) $(OPENSSL_CFLAGS) $(NSS_CFLAGS) $(GNUTLS_CFLAGS) $(LIBPROXY_CFLAGS) -I$(top_srcdir)/base -I$(top_srcdir)/plugins -I$(top_srcdir)/nntpgrab_core  | 
              |
| 7 | 11 | 
                  AM_CFLAGS = -Wall  | 
              
| 8 | 12 | 
                   | 
              
| 9 | 13 | 
                  # The testcases test_nntp_connection and test_configuration require the  | 
              
| ... | ... | |
| 36 | 40 | 
                  test_par2_LDADD = $(top_srcdir)/plugins/par2/libnntpgrab_plugin_par2.la  | 
              
| 37 | 41 | 
                  test_par2_SOURCES = test_par2.c  | 
              
| 38 | 42 | 
                   | 
              
| 39 | 
                  test_nzbcreator_LDADD = $(top_srcdir)/base/libnntpgrab_utils.la  | 
              |
| 40 | 
                  test_nzbcreator_SOURCES = test_nzbcreator.c  | 
              |
| 41 | 
                   | 
              |
| 42 | 43 | 
                  test_unpack_CPPFLAGS = -I$(top_srcdir)/plugins/unpack  | 
              
| 43 | 44 | 
                  test_unpack_LDADD = $(top_srcdir)/plugins/unpack/libnntpgrab_plugin_unpack.la  | 
              
| 44 | 45 | 
                  test_unpack_SOURCES = test_unpack.c  | 
              
| 45 | 46 | 
                   | 
              
| 46 | 
                  test_nntpconnection_backend_LDADD = $(GLIB_LIBS) $(GIO_LIBS) $(LIBPROXY_LIBS) $(OPENSSL_LIBS) $(NSS_LIBS) $(GNUTLS_LIBS)  | 
              |
| 47 | 
                  if ENABLE_ONLINE_TESTS  | 
              |
| 48 | 
                  test_nzbcreator_LDADD = $(top_srcdir)/base/libnntpgrab_utils.la  | 
              |
| 49 | 
                  test_nzbcreator_SOURCES = test_nzbcreator.c  | 
              |
| 50 | 
                   | 
              |
| 51 | 
                  test_nntpconnection_backend_LDADD = $(GLIB_LIBS) $(GIO_LIBS) $(LIBPROXY_LIBS) $(OPENSSL_LIBS) $(NSS_LIBS) $(GNUTLS_LIBS) $(LIBPROXY_LIBS)  | 
              |
| 47 | 52 | 
                  test_nntpconnection_backend_SOURCES = test_nntpconnection_backend.c \  | 
              
| 48 | 53 | 
                  $(top_srcdir)/nntpgrab_core/nntpconnection_utils.c \  | 
              
| 49 | 54 | 
                  $(top_srcdir)/nntpgrab_core/nntpconnection_backend_iface.c \  | 
              
| 50 | 55 | 
                  $(top_srcdir)/nntpgrab_core/nntpconnection_backend_gio.c \  | 
              
| 51 | 56 | 
                  $(top_srcdir)/nntpgrab_core/nntpconnection_backend_native.c  | 
              
| 52 | 57 | 
                   | 
              
| 58 | 
                  TEST_PROGS += test_nzbcreator test_nntpconnection_backend  | 
              |
| 59 | 
                  endif  | 
              |
| 60 | 
                   | 
              |
| 53 | 61 | 
                  test_jsonrpc_CFLAGS = -I$(top_srcdir)/plugins/jsonrpc  | 
              
| 54 | 62 | 
                  test_jsonrpc_LDADD = $(GLIB_LIBS)  | 
              
| 55 | 63 | 
                  test_jsonrpc_SOURCES = test_jsonrpc.c \  | 
              
| ... | ... | |
| 76 | 84 | 
                  $(top_srcdir)/nntpgrab_core/download_queue.c \  | 
              
| 77 | 85 | 
                  $(top_srcdir)/nntpgrab_core/queue_rawfile.c  | 
              
| 78 | 86 | 
                   | 
              
| 79 | 
                  TEST_PROGS += test_nzbcreator test_nntpconnection_backend test_jsonrpc test_download_queue  | 
              |
| 87 | 
                  TEST_PROGS += test_jsonrpc test_download_queue  | 
              |
| 88 | 
                   | 
              |
| 80 | 89 | 
                  endif  | 
              
| 81 | 90 | 
                   | 
              
| 82 | 91 | 
                  noinst_HEADERS = common.h test_download_queue.h  | 
              
| 92 | 
                   | 
              |
| 93 | 
                  EXTRA_DIST = download_queue_with_1_file.db valgrind.supp  | 
              |
| 94 | 
                   | 
              |
Also available in: Unified diff
NNTPGrab

