~mm-yuhu/gearmand/server-funcs

« back to all changes in this revision

Viewing changes to tests/Makefile.am

  • Committer: Brian Aker
  • Date: 2008-09-15 18:17:17 UTC
  • Revision ID: brian@gir.lan-20080915181717-mb6tl0n8kr8q76gx
Import from HG

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
INCLUDES = -I$(top_builddir)
 
2
LDADDS = ../libgearman/libgearman.la
 
3
 
 
4
LIBS = 
 
5
 
 
6
noinst_PROGRAMS = client_test testworker
 
7
noinst_HEADERS = test.h
 
8
 
 
9
client_test_SOURCES = test.c function.c
 
10
client_test_LDADD = $(LDADDS)
 
11
 
 
12
testworker_SOURCES = test.c worker_drone.c
 
13
testworker_LDADD = $(LDADDS)
 
14
 
 
15
record:
 
16
        ./client_test output.txt > output.res
 
17
test: client_test
 
18
        ./client_test output.txt > output.cmp
 
19
        diff output.res output.cmp
 
20
 
 
21
valgrind:
 
22
        libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes  client_test output.txt