projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Turns out the protocol docs were in error, and that the size for 1.2 was a
[m6w6/libmemcached]
/
tests
/
Makefile.am
diff --git
a/tests/Makefile.am
b/tests/Makefile.am
index dc84803e4f8aa2e1e2e8c810d97755f945ef1e6e..cb4269b3ad9a7202f86004466c03b9dcaca8b5f0 100644
(file)
--- a/
tests/Makefile.am
+++ b/
tests/Makefile.am
@@
-32,9
+32,16
@@
record:
record-extended:
./testapp extended > output2.res
record-extended:
./testapp extended > output2.res
-test: testapp
+test: testapp library_test
+ echo "Tests completed"
+
+library_test:
./testapp > output.cmp
diff output.res output.cmp
./testapp > output.cmp
diff output.res output.cmp
+
+clients:
+ memcached -d -P /tmp/Xumemc.pid -p 12555
+ export MEMCACHED_SERVERS="localhost:12555"
sh t/memcat.test > r/memcat.cmp
diff r/memcat.res r/memcat.cmp
sh t/memcp.test > r/memcp.cmp
sh t/memcat.test > r/memcat.cmp
diff r/memcat.res r/memcat.cmp
sh t/memcp.test > r/memcp.cmp
@@
-45,10
+52,8
@@
test: testapp
diff r/memslap.res r/memslap.cmp
sh t/memstat.test > r/memstat.cmp
diff r/memstat.res r/memstat.cmp
diff r/memslap.res r/memslap.cmp
sh t/memstat.test > r/memstat.cmp
diff r/memstat.res r/memstat.cmp
-
-test-extended: testapp
- ./testapp extended > output.cmp
- diff output2.res output.cmp
+ cat /tmp/Xumemc.pid | xargs kill
+ rm /tmp/Xumemc.pid
valgrind:
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes testapp
valgrind:
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes testapp