summaryrefslogtreecommitdiff
path: root/sal/qa/helper
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-05-03 07:55:58 +0000
committerRüdiger Timm <rt@openoffice.org>2004-05-03 07:55:58 +0000
commitd9bb8e7a68ea40e1b7c4e59b00123a7cccaf58d1 (patch)
treed5874b4a18d91e2f7c8f6d1886c7f7dce5cfdd0c /sal/qa/helper
parente4ac03cecd8c289c401a75f2bc466d89bdfd3bb5 (diff)
INTEGRATION: CWS qadev17 (1.2.2); FILE MERGED
2004/03/24 08:42:02 lla 1.2.2.1: #116021# add some docu about, how to handle the strtmpl.c better
Diffstat (limited to 'sal/qa/helper')
-rwxr-xr-xsal/qa/helper/gcov/gcov_run.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/sal/qa/helper/gcov/gcov_run.sh b/sal/qa/helper/gcov/gcov_run.sh
index 003900733e06..31a4c4e44dec 100755
--- a/sal/qa/helper/gcov/gcov_run.sh
+++ b/sal/qa/helper/gcov/gcov_run.sh
@@ -16,6 +16,18 @@ setsolar -cwsname qadev16 -sourceroot -src680 -ver m25 -jdk14 unxlngi5
# ----- CLEAN OLD COVERAGE INFOS -----
setenv SALDIR /cws/so-cwsserv06/qadev16/SRC680/src.m25/sal
+
+# this is a patch for sal, to see also "ustr" in string
+cd $SALDIR/rtl/source
+
+# strtmpl.c contains code, which is used for strings and ustrings. This file contain lot of makros
+# which unpacked at compile time. Due to the fact, gcov has some problems with such things, an idea is
+# to copy strtmpl.c to ustrtmpl.c and replace the include command in ustring.c
+# this is done be the follows lines.
+
+# cat ustring.c | sed -e "s/strtmpl.c/ustrtmpl.c/" > ustring.c.new ; mv -f ustring.c.new ustring.c
+# cp strtmpl.c ustrtmpl.c
+
cd $SALDIR
rm -f `find . -type f -name '*.bb' -print`