Release 3-2-2 with tag: REL_mrw-c++-3-2-2
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
* Sun Aug 5 2007 Marc Waeckerlin - mrw-c++-3.2.2 (mrw)
|
||||
- Added Valgrind files
|
||||
- No redundant checking in makefile for "make release"
|
||||
* Sun Aug 5 2007 Marc Waeckerlin - mrw-c++-3.2.1 (mrw)
|
||||
- Compatibility to UNICODE log4cxx 0.9.7
|
||||
* Fri Jul 7 2007 Marc Waeckerlin - mrw-c++-3.2.0 (mrw)
|
||||
|
@@ -17,7 +17,7 @@ AC_CANONICAL_SYSTEM
|
||||
PACKAGENAME=mrw-c++
|
||||
m4_define(x_major, 3)
|
||||
m4_define(x_minor, 2)
|
||||
m4_define(x_least, 1)
|
||||
m4_define(x_least, 2)
|
||||
|
||||
# copy M4 to shell
|
||||
MAJOR=x_major
|
||||
|
@@ -54,7 +54,7 @@ rpm: dist
|
||||
rpmbuild -ba --clean @PACKAGENAME@.spec
|
||||
rpmbuild -bb --clean @PACKAGENAME@-minimal.spec
|
||||
|
||||
webserver: check distcheck rpm webserver.en webserver.de webserver.zh
|
||||
webserver: rpm webserver.en webserver.de webserver.zh
|
||||
- rm -rf ~/www/marc/data/doxygen/mrw-cpp
|
||||
mkdir -p ~/www/marc/data/doxygen/mrw-cpp
|
||||
cp doc/html/*.html ~/www/marc/data/doxygen/mrw-cpp/
|
||||
|
63
suppressions.valgrind
Normal file
63
suppressions.valgrind
Normal file
@@ -0,0 +1,63 @@
|
||||
# log4cxx #######################################################################
|
||||
{
|
||||
log4cxx-Addr1-TimeZone
|
||||
Memcheck:Addr1
|
||||
fun:*
|
||||
fun:*
|
||||
fun:*log4cxx*
|
||||
}
|
||||
{
|
||||
log4cxx-Addr2-getProperty
|
||||
Memcheck:Addr2
|
||||
fun:*
|
||||
fun:*log4cxx*
|
||||
}
|
||||
{
|
||||
log4cxx-Free-StringTokenizer
|
||||
Memcheck:Free
|
||||
fun:*
|
||||
fun:*log4cxx*
|
||||
}
|
||||
{
|
||||
log4cxx-Addr1-TimeZone2
|
||||
Memcheck:Addr1
|
||||
fun:*
|
||||
fun:*
|
||||
fun:*
|
||||
fun:*log4cxx*
|
||||
}
|
||||
{
|
||||
log4cxx-Addr2-DateFormat::format1
|
||||
Memcheck:Addr2
|
||||
fun:*
|
||||
fun:*
|
||||
fun:*
|
||||
fun:*
|
||||
fun:*log4cxx*
|
||||
}
|
||||
{
|
||||
log4cxx-Addr2-DateFormat::format2
|
||||
Memcheck:Addr2
|
||||
fun:*
|
||||
fun:*
|
||||
fun:*
|
||||
fun:*
|
||||
fun:*
|
||||
fun:*log4cxx*
|
||||
}
|
||||
{
|
||||
log4cxx-Cond-DateFormat::format
|
||||
Memcheck:Cond
|
||||
fun:*
|
||||
fun:*
|
||||
fun:*
|
||||
fun:*
|
||||
fun:*
|
||||
fun:*log4cxx*
|
||||
}
|
||||
# system ########################################################################
|
||||
{
|
||||
system-Addr2-getenv
|
||||
Memcheck:Addr2
|
||||
fun:getenv
|
||||
}
|
49
valcheck.sh
Executable file
49
valcheck.sh
Executable file
@@ -0,0 +1,49 @@
|
||||
#! /bin/bash
|
||||
|
||||
# (c) Siemens Schweiz AG, vertraulich
|
||||
# $Id: checklatest.sh 323 2007-02-23 15:32:45Z chawama0 $
|
||||
#
|
||||
# 1 2 3 4 5 6 7 8
|
||||
# 3456789012345676890123456789012345678901234567890123456789012345678901234567890
|
||||
|
||||
printUsage() {
|
||||
echo "Usage: $0 <program-to-check>"
|
||||
echo ""
|
||||
echo "This script checks a program using valgrind."
|
||||
return 0
|
||||
}
|
||||
|
||||
if [ $# -ne 1 -o "$1" = "-h" -o "$1" = "--help" ] ; then
|
||||
printUsage
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! valgrind \
|
||||
--show-reachable=yes \
|
||||
--leak-check=full \
|
||||
--gen-suppressions=all \
|
||||
--log-file-exactly=valgrind.log \
|
||||
--suppressions=$(dirname $0)/suppressions.valgrind \
|
||||
$1; then
|
||||
echo "******** Valcheck: Testfall fehlgeschlagen! (normaler Fehler)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! ( ( grep 'ERROR SUMMARY: 0 errors from 0 contexts' valgrind.log \
|
||||
&& \
|
||||
( grep 'definitely lost: 0 bytes in 0 blocks' valgrind.log \
|
||||
&& \
|
||||
grep 'possibly lost: 0 bytes in 0 blocks' valgrind.log \
|
||||
&& \
|
||||
grep 'still reachable: 0 bytes in 0 blocks' valgrind.log \
|
||||
||
|
||||
grep 'All heap blocks were freed -- no leaks are possible' \
|
||||
valgrind.log
|
||||
)
|
||||
) 2>&1 > /dev/null ); then
|
||||
mv valgrind.log valgrind-$(basename $1).error
|
||||
echo "******** Valcheck: Speicherfehler! Siehe valgrind-$(basename $1).error"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm valgrind.log
|
Reference in New Issue
Block a user