summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2001-08-29 08:13:19 +0000
committerMartin Pool <mbp@samba.org>2001-08-29 08:13:19 +0000
commit3a4c683f0445965c5800a81e3a54eedf17f2f319 (patch)
tree4c96706df0c880cc97169d5969941360c2c93c48 /Makefile.in
parente7d29902a6a7d9cea7c8a524478bb70062100d34 (diff)
downloadrsync-3a4c683f0445965c5800a81e3a54eedf17f2f319.tar.gz
rsync-3a4c683f0445965c5800a81e3a54eedf17f2f319.tar.bz2
rsync-3a4c683f0445965c5800a81e3a54eedf17f2f319.zip
More test case work:
* make sure to build rsync before running 'make check' * Put back in the loglevel concept from the samba scripts. If >8, then turn on shell tracing. * Allow tests to return 77 if they want to count as 'skipped'. * Add more docs. * Mangle Phil's script to get ready to run on non-Linux systems: we need to not use shell functions, cp -a, etc. Not there yet.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index d2799c71..f2b8c1a1 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -98,9 +98,16 @@ test: check
# TODO: These targets both ought to depend on a set of test programs
# to build, if any.
-check:
+# This depends on building rsync; if we need any helper programs it
+# should depend on them too.
+
+check: all
rsync_bin=./rsync srcdir="$(srcdir)" $(srcdir)/runtests.sh
+# This does *not* depend on building or installing: you can use it to
+# check a version installed from a binary or some other source tree,
+# if you want.
+
installcheck:
rsync_bin="$(bindir)/rsync" srcdir="$(srcdir)" $(srcdir)/runtests.sh