123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217 |
- # vim:ft=automake
- #
- # Gearman server and library
- # Copyright (C) 2011-2012 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
- noinst_HEADERS+= tests/burnin.h
- noinst_HEADERS+= tests/context.h
- noinst_HEADERS+= tests/do.h
- noinst_HEADERS+= tests/do_background.h
- noinst_HEADERS+= tests/execute.h
- noinst_HEADERS+= tests/gearman_client_do_job_handle.h
- noinst_HEADERS+= tests/gearman_execute_partition.h
- noinst_HEADERS+= tests/limits.h
- noinst_HEADERS+= tests/protocol.h
- noinst_HEADERS+= tests/regression.h
- noinst_HEADERS+= tests/runner.h
- noinst_HEADERS+= tests/server_options.h
- noinst_HEADERS+= tests/start_worker.h
- noinst_HEADERS+= tests/task.h
- noinst_HEADERS+= tests/unique.h
- CLIENT_LDADD=
- CLIENT_LDADD+= libgearman/libgearman.la
- CLIENT_LDADD+= libtest/libtest.la
- CLIENT_LDADD+= tests/libstartworker.la
- tests_cycle_SOURCES=
- tests_cycle_LDADD=
- EXTRA_tests_cycle_DEPENDENCIES=
- EXTRA_tests_cycle_DEPENDENCIES+= gearmand/gearmand
- tests_cycle_SOURCES+= tests/cycle.cc
- tests_cycle_LDADD+= ${CLIENT_LDADD}
- check_PROGRAMS+=tests/cycle
- noinst_PROGRAMS+=tests/cycle
- tests_blobslap_client_SOURCES=
- tests_blobslap_client_LDADD=
- tests_blobslap_client_SOURCES+= tests/blobslap_client.cc
- tests_blobslap_client_LDADD+= ${CLIENT_LDADD}
- noinst_PROGRAMS+= tests/blobslap_client
- # Vector tests
- tests_vector_SOURCES=
- tests_vector_LDADD=
- tests_vector_SOURCES+= tests/vector.cc
- tests_vector_LDADD+= libtest/libtest.la
- tests_vector_LDADD+= libgearman/libgearman-vector.la
- check_PROGRAMS+= tests/vector
- noinst_PROGRAMS+= tests/vector
- test-vector: tests/vector
- @tests/vector
- valgrind-vector: tests/vector
- @$(VALGRIND_COMMAND) tests/vector
- # Vector tests
- tests_result_SOURCES=
- tests_result_LDADD=
- tests_result_SOURCES+= tests/result.cc
- tests_result_LDADD+= libtest/libtest.la
- tests_result_LDADD+= libgearman/libgearman-result.la
- check_PROGRAMS+= tests/result
- noinst_PROGRAMS+= tests/result
- test-result: tests/result
- @tests/result
- valgrind-result: tests/result
- @$(VALGRIND_COMMAND) tests/result
- EXTRA_tests_cli_DEPENDENCIES=
- tests_cli_SOURCES=
- tests_cli_LDADD=
- tests_cli_SOURCES+= tests/cli.cc
- EXTRA_tests_cli_DEPENDENCIES+= bin/gearman
- EXTRA_tests_cli_DEPENDENCIES+= bin/gearadmin
- EXTRA_tests_cli_DEPENDENCIES+= gearmand/gearmand
- tests_cli_LDADD+= ${CLIENT_LDADD}
- check_PROGRAMS+= tests/cli
- noinst_PROGRAMS+= tests/cli
- EXTRA_tests_gearmand_DEPENDENCIES=
- tests_gearmand_LDADD=
- tests_gearmand_SOURCES=
- tests_gearmand_SOURCES+= tests/gearmand.cc
- tests_gearmand_LDADD+= ${CLIENT_LDADD}
- EXTRA_tests_gearmand_DEPENDENCIES+= gearmand/gearmand
- check_PROGRAMS+= tests/gearmand
- noinst_PROGRAMS+= tests/gearmand
- include tests/libgearman-1.0/include.am
- include tests/stress.am
- include tests/hostile.am
- include tests/workers/include.am
- tests_round_robin_test_SOURCES=
- tests_round_robin_test_LDADD=
- tests_round_robin_test_SOURCES+= tests/round_robin.cc
- tests_round_robin_test_LDADD+= ${CLIENT_LDADD}
- tests_round_robin_test_LDADD+= libgearman/libgearmancore.la
- check_PROGRAMS+= tests/round_robin_test
- noinst_PROGRAMS+= tests/round_robin_test
- test-round-robin: tests/round_robin_test gearmand/gearmand
- @tests/round_robin_test
- gdb-round-robin: tests/round_robin_test gearmand/gearmand
- @$(GDB_COMMAND) tests/round_robin_test
- valgrind-round-robin: tests/round_robin_test gearmand/gearmand
- @$(VALGRIND_COMMAND) tests/round_robin_test
- helgrind-round-robin: tests/round_robin_test gearmand/gearmand
- @$(HELGRIND_COMMAND) tests/round_robin_test
- # Test linking with C++ application
- tests_cpp_test_SOURCES=
- tests_cpp_test_LDADD=
- tests_cpp_test_SOURCES+= tests/cpp_test.cc
- tests_cpp_test_LDADD+= ${CLIENT_LDADD}
- check_PROGRAMS+=tests/cpp_test
- noinst_PROGRAMS+=tests/cpp_test
- valgrind-cpp_test: tests/cpp_test
- @$(VALGRIND_COMMAND) tests/cpp_test
- # Test linking with C application
- tests_c_test_SOURCES=
- tests_c_test_LDADD=
- tests_c_test_SOURCES+= tests/c_test.c
- tests_c_test_LDADD+= ${CLIENT_LDADD}
- check_PROGRAMS+=tests/c_test
- noinst_PROGRAMS+=tests/c_test
- valgrind-c_test: tests/c_test
- @$(VALGRIND_COMMAND) tests/c_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
- check-local:
- 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
- gdb-gearmand: tests/gearmand gearmand/gearmand
- @$(GDB_COMMAND) tests/gearmand
- valgrind-cli: tests/cli gearmand/gearmand
- @$(VALGRIND_COMMAND) tests/cli
- valgrind-burnin: tests/burnin_test gearmand/gearmand
- @$(VALGRIND_COMMAND) tests/burnin_test
- valgrind-cycle: tests/cycle gearmand/gearmand
- @$(VALGRIND_COMMAND) tests/cycle
- valgrind-gearmand: tests/gearmand gearmand/gearmand
- @$(VALGRIND_COMMAND) tests/gearmand
- helgrind-client: tests/client_test gearmand/gearmand
- @$(HELGRIND_COMMAND) tests/client_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/mysql.am
- include tests/sqlite.am
- include tests/tokyocabinet.am
- include tests/redis.am
- include tests/httpd.am
- include tests/perl/include.am
- bogus:
|