X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=tests%2Finclude.am;h=eec83b70e73fa69da44bdfe1a5af4e1f8ac5daec;hb=fea741c8a84757d6dda9b8fb1fba971a7e911c72;hp=be3e336399882c497585d8764cf486401710f9af;hpb=823854f107728d67d9f77b56a5d693a70ef33f81;p=m6w6%2Flibmemcached diff --git a/tests/include.am b/tests/include.am index be3e3363..eec83b70 100644 --- a/tests/include.am +++ b/tests/include.am @@ -15,16 +15,18 @@ TESTS_LDADDS+= libmemcached/libmemcachedutil.la endif EXTRA_DIST+= \ - tests/r/memcat.res \ - tests/r/memcp.res \ - tests/r/memrm.res \ - tests/r/memslap.res \ - tests/r/memstat.res \ - tests/t/memcat.test \ - tests/t/memcp.test \ - tests/t/memrm.test \ - tests/t/memslap.test \ - tests/t/memstat.test + tests/cpp_example.cc \ + tests/output_plus.res \ + tests/r/memcat.res \ + tests/r/memcp.res \ + tests/r/memrm.res \ + tests/r/memslap.res \ + tests/r/memstat.res \ + tests/t/memcat.test \ + tests/t/memcp.test \ + tests/t/memrm.test \ + tests/t/memslap.test \ + tests/t/memstat.test noinst_HEADERS+= \ tests/hash_results.h \ @@ -112,12 +114,14 @@ memcapable: clients/memcapable test-memcat: clients/memcat clients/memcp @echo "Testing memcat" @@MEMC_BINARY@ -d -P `pwd`/tests/Xumemc.pid -p 12555 - @clients/memcp --servers="localhost:12555" clients/memcp - @clients/memcat --servers="localhost:12555" memcp > tests/scratch + @clients/memcp --servers="localhost:12555" `pwd`/clients/memcp + @clients/memcat --servers="localhost:12555" memcp > `pwd`/tests/scratch + @clients/memcat --servers="localhost:12555" --file=`pwd`/tests/scratch2 memcp # @diff clients/memcp tests/scratch - @cat tests/Xumemc.pid | xargs kill || echo "Failed to kill memcached server" - @rm tests/Xumemc.pid - @rm tests/scratch + @cat `pwd`/tests/Xumemc.pid | xargs kill || echo "Failed to kill memcached server" + @rm `pwd`/tests/Xumemc.pid + @rm `pwd`/tests/scratch + @rm `pwd`/tests/scratch2 valgrind-memcat: clients/memcat clients/memcp @echo "Testing memcat"