~mm-yuhu/gearmand/server-funcs

« back to all changes in this revision

Viewing changes to tests/include.am

  • Committer: Brian Aker
  • Date: 2010-02-16 18:34:41 UTC
  • mfrom: (319.1.3 gearmand-newtrunk)
  • Revision ID: brian@gaz-20100216183441-b5jtofqgt9o3xyco
Adding tests for round robin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
                  tests/cpp_test \
60
60
                  tests/internals_test \
61
61
                  tests/regression_test \
 
62
                  tests/round_robin_test \
62
63
                  tests/worker_test
63
64
 
64
65
noinst_HEADERS+= \
75
76
tests_regression_test_SOURCES= tests/regression.c
76
77
tests_regression_test_LDADD= ${TEST_LDADD} libgearman/libgearmancore.la
77
78
 
 
79
tests_round_robin_test_SOURCES= tests/round_robin.c
 
80
tests_round_robin_test_LDADD= ${TEST_LDADD} libgearman/libgearmancore.la
 
81
 
78
82
tests_worker_test_SOURCES= tests/worker_test.c
79
83
tests_worker_test_LDADD= ${TEST_LDADD}
80
84
 
85
89
test-client:
86
90
        @tests/client_test $(ARG1) $(ARG2)
87
91
 
 
92
test-round-robin:
 
93
        tests/round_robin_test $(ARG1) $(ARG2)
 
94
 
88
95
test-worker:
89
96
        @tests/worker_test $(ARG1) $(ARG2)
90
97
 
104
111
        $(TOKYOCABINET_TEST) $(ARG1) $(ARG2)
105
112
        $(TOKYOCABINET_RM)
106
113
 
107
 
check-local: test-client test-worker test-internals test-libmemcached test-sqlite test-tokyocabinet
 
114
check-local: test-client test-round-robin test-worker test-internals test-libmemcached test-sqlite test-tokyocabinet
108
115
 
109
116
gdb-client: ${noinst_PROGRAMS}
110
117
        $(LIBTOOL) --mode=execute gdb tests/client_test
111
118
 
 
119
gdb-round-robin: ${noinst_PROGRAMS}
 
120
        $(LIBTOOL) --mode=execute gdb tests/round_robin_test
 
121
 
112
122
gdb-worker: ${noinst_PROGRAMS}
113
123
        $(LIBTOOL) --mode=execute gdb tests/worker_test
114
124
 
118
128
valgrind-client:
119
129
        $(VALGRIND_COMMAND) tests/client_test $(ARG1) $(ARG2)
120
130
 
 
131
valgrind-round-robin:
 
132
        $(VALGRIND_COMMAND) tests/round_robin_test $(ARG1) $(ARG2)
 
133
 
121
134
valgrind-worker:
122
135
        $(VALGRIND_COMMAND) tests/worker_test $(ARG1) $(ARG2)
123
136
 
147
160
        @echo "gearman client success"
148
161
 
149
162
valgrind: ${noinst_PROGRAMS} valgrind-client valgrind-worker valgrind-internals valgrind-sqlite valgrind-tokyocabinetn
150
 
 
 
163
valgrind: ${noinst_PROGRAMS} valgrind-client valgrind-round-robin valgrind-worker valgrind-internals valgrind-sqlite valgrind-tokyocabinetn