git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c747e5
)
r8882: - enable the domain master
author
Andrew Tridgell
<tridge@samba.org>
Mon, 1 Aug 2005 16:01:09 +0000
(16:01 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:30:14 +0000
(13:30 -0500)
- start adding support for showing valgrind results in build farm tests
(This used to be commit
b1d0e9fa4e750564bcb80e7b8db9155aea6fac62
)
source4/script/tests/selftest.sh
patch
|
blob
|
history
diff --git
a/source4/script/tests/selftest.sh
b/source4/script/tests/selftest.sh
index 0420cefceb6e36e0d1c7268623a6ff850248d1b6..664fca18190cc73e2858c97fdb62f2069bd12ee1 100755
(executable)
--- a/
source4/script/tests/selftest.sh
+++ b/
source4/script/tests/selftest.sh
@@
-94,6
+94,8
@@
cat >$CONFFILE<<EOF
tls enabled = $TLS_ENABLED
panic action = $SRCDIR/script/gdb_backtrace %PID% %PROG%
wins support = yes
+ domain master = yes
+ domain logons = yes
[tmp]
path = $TMPDIR
@@
-146,4
+148,14
@@
END=`date`
echo "START: $START ($0)";
echo "END: $END ($0)";
+# if there were any valgrind failures, show them
+list=`find $PREFIX -name 'valgrind.log*'`
+if [ x$list != x ]; then
+ for f in $PREFIX/valgrind.log*; do
+ echo "VALGRIND FAILURE";
+ failed=`expr $failed + 1`
+ cat $f
+ done
+fi
+
teststatus $0 $failed