123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208 |
- # vim:ft=automake
- # Gearman server and library
- # Copyright (C) 2011 Data Differential, http://datadifferential.com/
- # Copyright (C) 2008 Brian Aker, Eric Day
- # All rights reserved.
- #
- # Use and distribution licensed under the BSD license. See
- # the COPYING file in the parent directory for full text.
- noinst_HEADERS+= \
- tests/basic.h \
- tests/client.h \
- tests/context.h \
- tests/do.h \
- tests/do_background.h \
- tests/execute.h \
- tests/gearman_client_do_job_handle.h \
- tests/gearman_execute_partition.h \
- tests/limits.h \
- tests/protocol.h \
- tests/regression.h \
- tests/server_options.h \
- tests/start_worker.h \
- tests/task.h \
- tests/unique.h \
- tests/worker.h \
- tests/workers.h \
- tests/workers_v1.h
- noinst_LTLIBRARIES+= tests/libstartworker.la
- tests_libstartworker_la_CXXFLAGS=
- tests_libstartworker_la_LIBADD=
- tests_libstartworker_la_CXXFLAGS+= $(PTHREAD_CFLAGS)
- tests_libstartworker_la_CXXFLAGS+= $(BOOST_CPPFLAGS)
- tests_libstartworker_la_LIBADD+= $(BOOST_THREAD_LDFLAGS)
- tests_libstartworker_la_LIBADD+= $(PTHREAD_LIBS)
- tests_libstartworker_la_LIBADD+= $(BOOST_THREAD_LIBS)
- tests_libstartworker_la_LIBADD+= libgearman/libgearman.la
- tests_libstartworker_la_SOURCES= tests/start_worker.cc
- tests_libstartworker_la_SOURCES+= util/instance.cc
- tests_libstartworker_la_SOURCES+= util/operation.cc
- CLIENT_LDADD= \
- libgearman/libgearman.la \
- libtest/libtest.la \
- tests/libstartworker.la
- tests_cycle_SOURCES= tests/cycle.cc
- tests_cycle_DEPENDENCIES= ${CLIENT_LDADD} gearmand/gearmand
- tests_cycle_LDADD= ${CLIENT_LDADD}
- check_PROGRAMS+=tests/cycle
- noinst_PROGRAMS+=tests/cycle
- tests_blobslap_client_SOURCES= tests/blobslap_client.cc
- tests_blobslap_client_DEPENDENCIES= ${CLIENT_LDADD} gearmand/gearmand
- tests_blobslap_client_LDADD= ${CLIENT_LDADD}
- noinst_PROGRAMS+= tests/blobslap_client
- tests_cli_SOURCES= tests/cli.cc
- tests_cli_SOURCES+= tests/libgearman-1.0/workers.cc
- tests_cli_DEPENDENCIES= ${CLIENT_LDADD} gearmand/gearmand bin/gearman bin/gearadmin
- tests_cli_LDADD= ${CLIENT_LDADD}
- check_PROGRAMS+= tests/cli
- noinst_PROGRAMS+= tests/cli
- tests_gearmand_SOURCES= tests/gearmand.cc
- tests_gearmand_DEPENDENCIES= ${CLIENT_LDADD} gearmand/gearmand
- tests_gearmand_LDADD= ${CLIENT_LDADD}
- check_PROGRAMS+= tests/gearmand
- noinst_PROGRAMS+= tests/gearmand
- include tests/libgearman-1.0/include.am
- tests_round_robin_test_SOURCES= tests/round_robin.cc
- tests_round_robin_test_DEPENDENCIES= ${CLIENT_LDADD} libgearman/libgearmancore.la gearmand/gearmand
- tests_round_robin_test_LDADD= ${CLIENT_LDADD} libgearman/libgearmancore.la
- check_PROGRAMS+= tests/round_robin_test
- noinst_PROGRAMS+= tests/round_robin_test
- tests_hostileworker_test_SOURCES=
- tests_hostileworker_test_DEPENDENCIES=
- tests_hostileworker_test_CXXFLAGS=
- tests_hostileworker_test_LDADD=
- if TARGET_LINUX
- tests_hostileworker_test_CXXFLAGS+= -DHAVE_LIBHOSTILE=1
- tests_hostileworker_test_DEPENDENCIES+= libhostile/libhostile.la
- tests_hostileworker_test_LDADD+= libhostile/libhostile.la
- tests_hostileworker_test_LDADD+= $(DL_LIB)
- tests_hostileworker_test_LDADD+= $(RT_LIB)
- endif
- tests_hostileworker_test_SOURCES+= tests/stress_worker.cc
- tests_hostileworker_test_SOURCES+= tests/libgearman-1.0/workers.cc
- tests_hostileworker_test_DEPENDENCIES+= ${CLIENT_LDADD} gearmand/gearmand
- tests_hostileworker_test_LDADD+= ${CLIENT_LDADD}
- check_PROGRAMS+=tests/hostileworker_test
- noinst_PROGRAMS+=tests/hostileworker_test
- test-hostile: tests/hostileworker_test gearmand/gearmand
- @tests/hostileworker_test
- gdb-hostile: tests/hostileworker_test gearmand/gearmand
- @$(GDB_COMMAND) tests/hostileworker_test
- # Test linking with C++ application
- tests_cpp_test_SOURCES= tests/cpp_test.cc
- tests_cpp_test_DEPENDENCIES= ${CLIENT_LDADD} gearmand/gearmand
- tests_cpp_test_LDADD= ${CLIENT_LDADD}
- check_PROGRAMS+=tests/cpp_test
- noinst_PROGRAMS+=tests/cpp_test
- # Test linking with C application
- tests_c_test_SOURCES= tests/c_test.c
- tests_c_test_DEPENDENCIES= ${CLIENT_LDADD} gearmand/gearmand
- tests_c_test_LDADD= ${CLIENT_LDADD}
- check_PROGRAMS+=tests/c_test
- noinst_PROGRAMS+=tests/c_test
- tests_burnin_test_SOURCES= tests/burnin.cc
- tests_burnin_test_DEPENDENCIES= ${CLIENT_LDADD} gearmand/gearmand
- tests_burnin_test_LDADD= ${CLIENT_LDADD}
- check_PROGRAMS+=tests/burnin_test
- noinst_PROGRAMS+=tests/burnin_test
- test-burnin: tests/burnin_test gearmand/gearmand
- @tests/burnin_test
- test-cycle: tests/cycle gearmand/gearmand
- @tests/cycle
- test-cli: tests/cli gearmand/gearmand
- @tests/cli
- test-gearmand: tests/gearmand gearmand/gearmand
- @tests/gearmand
- tests-blobslap_client: tests/blobslap_client gearmand/gearmand
- @tests/blobslap_client
- test-round-robin: tests/round_robin_test gearmand/gearmand
- @tests/round_robin_test
- test-worker: tests/worker_test gearmand/gearmand
- @tests/worker_test
- check-local:
- gdb-round-robin: tests/round_robin_test gearmand/gearmand
- @$(GDB_COMMAND) tests/round_robin_test
- gdb-burnin: tests/burnin_test gearmand/gearmand
- @$(GDB_COMMAND) tests/burnin_test
- gdb-cli: tests/cli gearmand/gearmand
- @$(GDB_COMMAND) tests/cli
- gdb-blobslap_client: tests/blobslap_client gearmand/gearmand
- @$(GDB_COMMAND) tests/blobslap_client
- gdb-cycle: tests/cycle gearmand/gearmand
- @$(GDB_COMMAND) tests/cycle
- valgrind-cli: tests/cli gearmand/gearmand
- @$(VALGRIND_COMMAND) tests/cli gearmand/gearmand
- valgrind-round-robin: tests/round_robin_test gearmand/gearmand
- @$(VALGRIND_COMMAND) tests/round_robin_test
- valgrind-worker: tests/worker_test gearmand/gearmand
- @$(VALGRIND_COMMAND) tests/worker_test
- valgrind-burnin: tests/burnin_test gearmand/gearmand
- @$(VALGRIND_COMMAND) tests/burnin_test
- valgrind-cycle: tests/cycle gearmand/gearmand
- @$(VALGRIND_COMMAND) tests/cycle
- helgrind-client: tests/client_test gearmand/gearmand
- @$(HELGRIND_COMMAND) tests/client_test
- helgrind-round-robin: tests/round_robin_test gearmand/gearmand
- @$(HELGRIND_COMMAND) tests/round_robin_test
- helgrind-worker: tests/worker_test gearmand/gearmand
- @$(HELGRIND_COMMAND) tests/worker_test
- helgrind-burnin: tests/burnin_test gearmand/gearmand
- @$(HELGRIND_COMMAND) tests/burnin_test
- helgrind-cycle: tests/cycle gearmand/gearmand
- @$(HELGRIND_COMMAND) tests/cycle
- drd-cycle: tests/cycle gearmand/gearmand
- @$(DRD_COMMAND) tests/cycle
- include tests/ephemeral.am
- include tests/libdrizzle.am
- include tests/libmemcached.am
- include tests/postgres.am
- include tests/sqlite.am
- include tests/tokyocabinet.am
- include tests/redis.am
- include tests/httpd.am
- bogus:
|