~brianlmoon/gearmand/sqlite-replace

« back to all changes in this revision

Viewing changes to tests/include.am

  • Committer: Brian Aker
  • Date: 2010-02-09 22:15:41 UTC
  • Revision ID: brian@gaz-20100209221541-6e647rjessi2vm54
Added pid/daemon options to gearman client (and test).

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
        $(VALGRIND_COMMAND) $(TOKYOCABINET_TEST) $(ARG1) $(ARG2)
138
138
        $(TOKYOCABINET_RM)
139
139
 
 
140
GEARMAN_CLIENT_TEST= bin/gearman
 
141
GEARMAN_PIDFILE = ${abs_top_builddir}/tests/Xugear.pid
 
142
 
 
143
client-test: $(GEARMAN_CLIENT_TEST)
 
144
        @$(GEARMAN_CLIENT_TEST) -H 2>&1 > /dev/null
 
145
        @$(GEARMAN_CLIENT_TEST) -w -f true -d -i $(GEARMAN_PIDFILE) -- false
 
146
        cat $(GEARMAN_PIDFILE) | xargs kill
 
147
        @echo "gearman client success"
 
148
 
140
149
valgrind: ${noinst_PROGRAMS} valgrind-client valgrind-worker valgrind-internals valgrind-sqlite valgrind-tokyocabinetn
 
150