include.am 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. # vim:ft=automake
  2. noinst_HEADERS+= tests/libgearman-1.0/client_test.h
  3. noinst_HEADERS+= tests/libgearman-1.0/fork.h
  4. noinst_HEADERS+= tests/libgearman-1.0/gearman_client_job_status_by_unique.h
  5. noinst_HEADERS+= tests/libgearman-1.0/multi_client_test.h
  6. LIBGEARMAN_1_0_CLIENT_LDADD:=
  7. LIBGEARMAN_1_0_CLIENT_LDADD+= libgearman/libgearman.la
  8. LIBGEARMAN_1_0_CLIENT_LDADD+= libtest/libtest.la
  9. LIBGEARMAN_1_0_CLIENT_LDADD+= tests/libstartworker.la
  10. t_client_CXXFLAGS=
  11. t_client_SOURCES=
  12. t_client_LDADD=
  13. t_client_CXXFLAGS+= @PTHREAD_CFLAGS@
  14. t_client_SOURCES+= tests/libgearman-1.0/client_test.cc
  15. t_client_SOURCES+= tests/libgearman-1.0/do.cc
  16. t_client_SOURCES+= tests/libgearman-1.0/do_background.cc
  17. t_client_SOURCES+= tests/libgearman-1.0/execute.cc
  18. t_client_SOURCES+= tests/libgearman-1.0/fork.cc
  19. t_client_SOURCES+= tests/libgearman-1.0/gearman_client_do_job_handle.cc
  20. t_client_SOURCES+= tests/libgearman-1.0/gearman_client_job_status_by_unique.cc
  21. t_client_SOURCES+= tests/libgearman-1.0/gearman_execute_partition.cc
  22. t_client_SOURCES+= tests/libgearman-1.0/limits.cc
  23. t_client_SOURCES+= tests/libgearman-1.0/protocol.cc
  24. t_client_SOURCES+= tests/libgearman-1.0/server_options.cc
  25. t_client_SOURCES+= tests/libgearman-1.0/task.cc
  26. t_client_SOURCES+= tests/libgearman-1.0/unique.cc
  27. t_client_SOURCES+= tests/workers/aggregator/cat.cc
  28. t_client_SOURCES+= tests/workers/v1/echo_or_react.cc
  29. t_client_SOURCES+= tests/workers/v1/echo_or_react_chunk.cc
  30. t_client_SOURCES+= tests/workers/v1/unique.cc
  31. t_client_SOURCES+= tests/workers/v2/call_exception.cc
  32. t_client_SOURCES+= tests/workers/v2/echo_or_react.cc
  33. t_client_SOURCES+= tests/workers/v2/echo_or_react_chunk.cc
  34. t_client_SOURCES+= tests/workers/v2/sleep_return_random.cc
  35. t_client_SOURCES+= tests/workers/v2/split.cc
  36. t_client_SOURCES+= tests/workers/v2/unique.cc
  37. t_client_LDADD+= ${LIBGEARMAN_1_0_CLIENT_LDADD}
  38. t_client_LDADD+= @PTHREAD_LIBS@
  39. check_PROGRAMS+=t/client
  40. noinst_PROGRAMS+=t/client
  41. t_multi_client_CXXFLAGS=
  42. t_multi_client_SOURCES=
  43. t_multi_client_LDADD=
  44. t_multi_client_SOURCES+= tests/libgearman-1.0/multi_client_test.cc
  45. t_multi_client_LDADD+= ${LIBGEARMAN_1_0_CLIENT_LDADD}
  46. check_PROGRAMS+= t/multi_client
  47. noinst_PROGRAMS+= t/multi_client
  48. test-multi-client: t/multi_client gearmand/gearmand
  49. @t/multi_client
  50. gdb-multi-client: t/multi_client gearmand/gearmand
  51. @$(GDB_COMMAND) t/multi_client
  52. valgrind-multi-client: t/multi_client gearmand/gearmand
  53. @$(VALGRIND_COMMAND) t/multi_client
  54. t_internals_SOURCES=
  55. t_internals_LDADD=
  56. t_internals_SOURCES+= tests/libgearman-1.0/internals.cc
  57. t_internals_SOURCES+= tests/libgearman-1.0/regression.cc
  58. t_internals_LDADD+= ${LIBGEARMAN_1_0_CLIENT_LDADD}
  59. t_internals_LDADD+= libgearman/libgearmancore.la
  60. check_PROGRAMS+= t/internals
  61. noinst_PROGRAMS+= t/internals
  62. t_worker_LDADD=
  63. t_worker_SOURCES=
  64. t_worker_SOURCES+= libgearman/command.cc
  65. t_worker_SOURCES+= tests/libgearman-1.0/worker_test.cc
  66. t_worker_SOURCES+= tests/workers/v2/call_exception.cc
  67. t_worker_SOURCES+= tests/workers/v2/echo_or_react.cc
  68. t_worker_SOURCES+= tests/workers/v2/echo_or_react_chunk.cc
  69. t_worker_SOURCES+= tests/workers/v2/echo_specific_worker.cc
  70. t_worker_LDADD+= ${LIBGEARMAN_1_0_CLIENT_LDADD}
  71. t_worker_LDADD+= libgearman/libgearmancore.la
  72. check_PROGRAMS+=t/worker
  73. noinst_PROGRAMS+=t/worker
  74. test-internals: t/internals gearmand/gearmand
  75. @t/internals
  76. gdb-internals: t/internals gearmand/gearmand
  77. @$(GDB_COMMAND) t/internals
  78. helgrind-internals: t/internals gearmand/gearmand
  79. @$(HELGRIND_COMMAND) t/internals
  80. valgrind-internals: t/internals gearmand/gearmand
  81. @$(VALGRIND_COMMAND) t/internals
  82. valgrind-worker: t/worker gearmand/gearmand
  83. @$(VALGRIND_COMMAND) t/worker
  84. massif-worker: t/worker gearmand/gearmand
  85. @$(MASSIF_COMMAND) t/worker
  86. helgrind-worker: t/worker gearmand/gearmand
  87. @$(HELGRIND_COMMAND) t/worker
  88. gdb-worker: t/worker gearmand/gearmand
  89. @$(GDB_COMMAND) t/worker
  90. ptrdiff-worker: t/worker gearmand/gearmand
  91. @$(PTRCHECK_COMMAND) t/worker
  92. test-worker: t/worker gearmand/gearmand
  93. @t/worker
  94. test-client: t/client gearmand/gearmand
  95. @t/client
  96. gdb-client: t/client gearmand/gearmand
  97. @$(GDB_COMMAND) t/client
  98. valgrind-client: t/client gearmand/gearmand
  99. @$(VALGRIND_COMMAND) t/client
  100. t_1077917_SOURCES= tests/libgearman-1.0/1077917.c
  101. t_1077917_LDADD= libgearman/libgearman.la
  102. check_PROGRAMS+= t/1077917
  103. noinst_PROGRAMS+= t/1077917
  104. valgrind-1077917: t/1077917
  105. @$(VALGRIND_COMMAND) --leak-check=full --show-reachable=yes --track-origins=yes t/1077917