Rev 209: added make test and make valgrindtest targets in
http://samba.org/~tridge/ctdb
tridge at samba.org
tridge at samba.org
Sat Apr 28 08:57:58 GMT 2007
------------------------------------------------------------
revno: 209
revision-id: tridge at samba.org-20070428085758-hq0l44zjdfogmk23
parent: tridge at samba.org-20070428085032-9ny107w9wqvh7jnl
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Sat 2007-04-28 10:57:58 +0200
message:
added make test and make valgrindtest targets
added:
tests/run_tests.sh run_tests.sh-20070428085745-ec2w6vybjf07vtvg-1
renamed:
lib/replace/test => lib/replace/tests test-20070125040949-7t3f5zdl1q4z9hyv-33
modified:
Makefile.in makefile.in-20061117234101-o3qt14umlg9en8z0-1
=== added file 'tests/run_tests.sh'
--- a/tests/run_tests.sh 1970-01-01 00:00:00 +0000
+++ b/tests/run_tests.sh 2007-04-28 08:57:58 +0000
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+tests/fetch.sh || exit 1
+tests/bench.sh || exit 1
+tests/test.sh || exit 1
+
+echo "All OK"
+exit 0
=== renamed directory 'lib/replace/test' => 'lib/replace/tests'
=== modified file 'Makefile.in'
--- a/Makefile.in 2007-04-27 15:24:10 +0000
+++ b/Makefile.in 2007-04-28 08:57:58 +0000
@@ -105,12 +105,18 @@
rm -f config.log config.status config.cache config.h
rm -f Makefile
-install:
+install: all
mkdir -p $(bindir)
mkdir -p $(includedir)
cp $(BINS) $(bindir)
cp $(srcdir)/include/ctdb.h $(includedir)
+test:
+ tests/run_tests.sh
+
+valgrindtest:
+ VALGRIND="valgrind -q --trace-children=yes" tests/run_tests.sh
+
realdistclean: distclean
rm -f configure config.h.in
More information about the samba-cvs
mailing list