~mm-yuhu/gearmand/server-funcs

« back to all changes in this revision

Viewing changes to tests/include.am

  • Committer: Brian Aker
  • Date: 2010-02-10 01:48:52 UTC
  • Revision ID: brian@gaz-20100210014852-jdegfuqwpls3ajnv
Updates for rpm. Added version symbol.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
LIBMEMCACHED_PIDFILE = ${abs_top_builddir}/tests/Xumemc.pid
23
23
LIBMEMCACHED_TEST= tests/memcached_test
24
24
# Note, SETUP should do a test for existance and then kill if it exists.
25
 
LIBMEMCACHED_SETUP= $(MEMCACHED_BINARY) -d -P ${LIBMEMCACHED_PIDFILE} -p 12555
26
 
LIBMEMCACHED_TEARDOWN= \
 
25
LIBMEMCACHED_SETUP= @$(MEMCACHED_BINARY) -d -P ${LIBMEMCACHED_PIDFILE} -p 12555
 
26
LIBMEMCACHED_TEARDOWN= @\
27
27
                       cat ${LIBMEMCACHED_PIDFILE} | xargs kill; \
28
28
                       rm ${LIBMEMCACHED_PIDFILE}
29
29
 
35
35
tests_memcached_test_LDADD= ${TEST_LDADD}
36
36
 
37
37
if HAVE_LIBSQLITE3
38
 
SQLITE_TEST= tests/sqlite_test
39
 
SQLITE_RM= rm -f tests/gearman.sql tests/gearman.sql-journal
 
38
SQLITE_TEST= @tests/sqlite_test
 
39
SQLITE_RM= @rm -f tests/gearman.sql tests/gearman.sql-journal
40
40
CLEANFILES+= tests/gearman.sql tests/gearman.sql-journal
41
41
noinst_PROGRAMS += tests/sqlite_test
42
42
endif
45
45
tests_sqlite_test_LDADD= ${TEST_LDADD}
46
46
 
47
47
if HAVE_LIBTOKYOCABINET
48
 
TOKYOCABINET_TEST= tests/tokyocabinet_test
49
 
TOKYOCABINET_RM= rm -f tests/gearman.tcb
 
48
TOKYOCABINET_TEST= @tests/tokyocabinet_test
 
49
TOKYOCABINET_RM= @rm -f tests/gearman.tcb
50
50
CLEANFILES+= tests/gearman.tcb
51
51
noinst_PROGRAMS += tests/tokyocabinet_test
52
52
endif
55
55
tests_tokyocabinet_test_LDADD= ${TEST_LDADD}
56
56
 
57
57
noinst_PROGRAMS+= \
58
 
                tests/client_test \
59
 
                tests/cpp_test \
60
 
                tests/internals_test \
61
 
                tests/regression_test \
62
 
                tests/worker_test
 
58
                  tests/client_test \
 
59
                  tests/cpp_test \
 
60
                  tests/internals_test \
 
61
                  tests/regression_test \
 
62
                  tests/worker_test
63
63
 
64
64
noinst_HEADERS+= \
65
 
              tests/test.h \
66
 
              tests/test_gearmand.h \
67
 
              tests/test_worker.h
 
65
                 tests/test.h \
 
66
                 tests/test_gearmand.h \
 
67
                 tests/test_worker.h
68
68
 
69
69
tests_client_test_SOURCES= tests/test_worker.c tests/client_test.c
70
70
tests_client_test_LDADD= ${TEST_LDADD}
83
83
tests_cpp_test_LDADD= ${TEST_LDADD}
84
84
 
85
85
test-client:
86
 
        tests/client_test $(ARG1) $(ARG2)
 
86
        @tests/client_test $(ARG1) $(ARG2)
87
87
 
88
88
test-worker:
89
 
        tests/worker_test $(ARG1) $(ARG2)
 
89
        @tests/worker_test $(ARG1) $(ARG2)
90
90
 
91
91
test-internals:
92
 
        tests/internals_test $(ARG1) $(ARG2)
 
92
        @tests/internals_test $(ARG1) $(ARG2)
93
93
 
94
94
test-libmemcached:
95
95
        $(LIBMEMCACHED_SETUP)