ctdb:tests: New "autotest" Makefile.in target
authorMartin Schwenke <martin@meltin.net>
Thu, 14 Nov 2013 09:34:50 +0000 (20:34 +1100)
committerMichael Adam <obnox@samba.org>
Wed, 27 Nov 2013 17:46:17 +0000 (18:46 +0100)
This needs to run with socket wrapper and needs to stop after the 1st
error.

Pair-Programmed-With: Michael Adam <obnox@samba.org>
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>

Signed-off-by: Martin Schwenke <martin@meltin.net>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
ctdb/Makefile.in

index 55b21b728e7a98a68072206a22394f4678a39103..eb280f223a87ce850644b074f5d633f53d91c1c6 100755 (executable)
@@ -389,6 +389,9 @@ install_pmda:
 install_tests: all
        tests/INSTALL --destdir=$(DESTDIR) --datarootdir=$(prefix)/share --libdir=$(libdir) --bindir=$(bindir) --etcdir=$(etcdir)
 
+autotest: all
+       tests/run_tests.sh -e -S -C
+
 test: all
        tests/run_tests.sh -V tests/var