123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- # 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/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/ports.h \
- tests/protocol.h \
- tests/regression.h \
- tests/server_options.h \
- tests/task.h \
- tests/unique.h \
- tests/workers.h \
- tests/workers_v1.h
- CLIENT_LDADD= \
- libtest/libtest.la \
- libtest/libserver.la \
- libgearman/libgearman.la
- noinst_PROGRAMS+= \
- tests/burnin_test \
- tests/client_test \
- tests/c_test \
- tests/cycle \
- tests/cpp_test \
- tests/drizzle_test \
- tests/internals_test \
- tests/round_robin_test \
- tests/worker_test
- tests_client_test_SOURCES= \
- tests/client_test.cc \
- tests/do.cc \
- tests/do_background.cc \
- tests/execute.cc \
- tests/gearman_client_do_job_handle.cc \
- tests/gearman_execute_partition.cc \
- tests/protocol.cc \
- tests/server_options.cc \
- tests/task.cc \
- tests/unique.cc \
- tests/workers.cc \
- tests/workers_v1.cc
- tests_client_test_LDADD= ${CLIENT_LDADD}
- tests_client_test_DEPENDENCIES= ${CLIENT_LDADD}
- tests_burnin_test_SOURCES= tests/burnin.cc
- tests_burnin_test_LDADD= ${CLIENT_LDADD}
- tests_cycle_SOURCES= tests/cycle.cc
- tests_cycle_LDADD= ${CLIENT_LDADD}
- tests_gearadmin_SOURCES= tests/gearadmin.cc
- tests_gearadmin_LDADD= ${CLIENT_LDADD}
- check_PROGRAMS+= tests/gearadmin
- tests_internals_test_SOURCES= \
- tests/internals.cc \
- tests/regression.cc
- tests_internals_test_LDADD= ${CLIENT_LDADD} libgearman/libgearmancore.la
- tests_internals_test_DEPENDENCIES= ${CLIENT_LDADD} libgearman/libgearmancore.la
- tests_round_robin_test_SOURCES= tests/round_robin.cc
- tests_round_robin_test_LDADD= ${CLIENT_LDADD} libgearman/libgearmancore.la
- tests_worker_test_SOURCES= tests/worker_test.cc
- tests_worker_test_LDADD= \
- ${CLIENT_LDADD} \
- libgearman/libgearmancore.la
- # Test linking with C++ application
- tests_cpp_test_SOURCES= tests/cpp_test.cc
- tests_cpp_test_LDADD= ${CLIENT_LDADD}
- # Test linking with C application
- tests_c_test_SOURCES= tests/c_test.c
- tests_c_test_LDADD= ${CLIENT_LDADD}
- test-burnin: tests/burnin_test
- @tests/burnin_test $(ARG1) $(ARG2)
- test-cycle: tests/cycle
- @tests/cycle $(ARG1) $(ARG2)
- test-gearadmin: tests/gearadmin
- @tests/gearadmin $(ARG1) $(ARG2)
- test-client: tests/client_test
- @tests/client_test $(ARG1) $(ARG2)
- test-round-robin: tests/round_robin_test
- @tests/round_robin_test $(ARG1) $(ARG2)
- test-worker: tests/worker_test
- @tests/worker_test $(ARG1) $(ARG2)
- test-internals: tests/internals_test
- @tests/internals_test $(ARG1) $(ARG2)
- check-local: tests/var gearmand-test-args client-test libtest-tests benchmark-test
- libtest-tests: test-client test-round-robin test-worker test-internals test-libmemcached test-sqlite test-tokyocabinet test-burnin
- gdb-client: ${noinst_PROGRAMS}
- @$(LIBTOOL) --mode=execute gdb tests/client_test
- gdb-round-robin: ${noinst_PROGRAMS}
- @$(LIBTOOL) --mode=execute gdb tests/round_robin_test
- gdb-worker: ${noinst_PROGRAMS}
- @$(LIBTOOL) --mode=execute gdb tests/worker_test
- gdb-internals: ${noinst_PROGRAMS}
- @$(LIBTOOL) --mode=execute gdb tests/internals_test
- gdb-burnin: ${noinst_PROGRAMS}
- @$(LIBTOOL) --mode=execute gdb tests/burnin_test
- gdb-cycle: ${noinst_PROGRAMS}
- @$(LIBTOOL) --mode=execute gdb tests/cycle
- gdb-gearadmin: ${noinst_PROGRAMS}
- @$(LIBTOOL) --mode=execute gdb tests/gearadmin
- valgrind-client:
- @$(VALGRIND_COMMAND) tests/client_test $(ARG1) $(ARG2)
- valgrind-round-robin:
- @$(VALGRIND_COMMAND) tests/round_robin_test $(ARG1) $(ARG2)
- valgrind-worker: tests/worker_test
- @$(VALGRIND_COMMAND) tests/worker_test $(ARG1) $(ARG2)
- valgrind-internals: tests/internals_test
- @$(VALGRIND_COMMAND) tests/internals_test $(ARG1) $(ARG2)
- valgrind-burnin: tests/burnin_test
- @$(VALGRIND_COMMAND) tests/burnin_test $(ARG1) $(ARG2)
- valgrind-gearadmin: tests/gearadmin
- @$(VALGRIND_COMMAND) tests/gearadmin $(ARG1) $(ARG2)
- valgrind-cycle: tests/cycle
- @$(VALGRIND_COMMAND) tests/cycle $(ARG1) $(ARG2)
- valgrind: ${noinst_PROGRAMS} valgrind-gearadmin valgrind-cycle valgrind-client valgrind-round-robin valgrind-worker valgrind-internals valgrind-sqlite valgrind-tokyocabinet valgrind-burnin
- include tests/httpd.am
- include tests/libdrizzle.am
- include tests/libmemcached.am
- include tests/postgres.am
- include tests/sqlite.am
- include tests/tokyocabinet.am
- bogus:
|