summaryrefslogtreecommitdiff
path: root/source3/Makefile.in
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-21 18:26:46 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-21 18:26:46 +0200
commit8ac2da0d0947c3dcfc9c1e7b38739fece395642d (patch)
treede963c46c35a4bec44df90da6190aa055646b301 /source3/Makefile.in
parente422f638bc3b3780bf5784b1ce218d3e87d068cf (diff)
downloadsamba-8ac2da0d0947c3dcfc9c1e7b38739fece395642d.tar.gz
samba-8ac2da0d0947c3dcfc9c1e7b38739fece395642d.tar.bz2
samba-8ac2da0d0947c3dcfc9c1e7b38739fece395642d.zip
Allow running individual tests in the testsuite, normalize test names, fix some tests.
Diffstat (limited to 'source3/Makefile.in')
-rw-r--r--source3/Makefile.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 09c1dd7b35..01255df087 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -2807,12 +2807,17 @@ valgrindtest:: all torture timelimit
VALGRIND="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/valgrind.log" \
PERL="$(PERL)" $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all "${smbtorture4_path}"
+SELFTEST_FORMAT = plain
+
selftest:: all torture timelimit
@../selftest/selftest.pl --prefix=st --target=samba3 \
--testlist="$(srcdir)/selftest/tests.sh|" \
--expected-failures=$(srcdir)/selftest/knownfail \
--exclude=$(srcdir)/selftest/skip \
- --socket-wrapper
+ --socket-wrapper $(TESTS) --format=$(SELFTEST_FORMAT)
+
+selftest-%:
+ $(MAKE) selftest TESTS=$*
# Check for Winbind struct 32/64bit padding
test_wbpad: