Create a new make-target: test-no-outputdiff
authorTrond Norbye <trond.norbye@sun.com>
Fri, 13 Mar 2009 10:21:03 +0000 (11:21 +0100)
committerTrond Norbye <trond.norbye@sun.com>
Fri, 13 Mar 2009 10:21:03 +0000 (11:21 +0100)
Makefile.am
tests/Makefile.am

index b342d8661ee86d12492909e5205fb1e3e1cb7a27..cbec4971ea7406b4d086c462ae2074d31894c6d7 100644 (file)
@@ -11,6 +11,9 @@ test-extended: all
 valgrind:
        @(cd tests; ${MAKE} valgrind)
 
+test-no-outputdiff:
+       @(cd tests; ${MAKE} test-no-outputdiff)
+
 rpm: all dist
        cp libmemcached-$(VERSION).tar.gz /home/brian/rpm/SOURCES/
        rpmbuild -ba support/libmemcached.spec
index 7a642be76478cb992bd946cda181867844cfe29c..b06d208ac9f3b04bfe73f8683bbf8fc0503b5c53 100644 (file)
@@ -71,3 +71,7 @@ clients:
 
 valgrind:
        libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes  testapp
+
+test-no-outputdiff: testapp
+       ./testapp > /dev/null
+       @echo "Test completed"