[Libreoffice-commits] dev-tools.git: test-bugzilla-files/zip.sh
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed May 22 12:00:49 UTC 2019
test-bugzilla-files/zip.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 51605b4e141d5d6cb75bd02507334bbafded6199
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed May 22 13:00:15 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed May 22 13:00:15 2019 +0100
get backtraces and include them in the uploaded report
diff --git a/test-bugzilla-files/zip.sh b/test-bugzilla-files/zip.sh
index 9753958..4f46b1d 100755
--- a/test-bugzilla-files/zip.sh
+++ b/test-bugzilla-files/zip.sh
@@ -4,10 +4,12 @@ echo $SHA
cd /srv/crashtestdata/
source config.cfg
cd /srv/crashtestdata/control/
+mkdir -p /srv/crashtestdata/logs/$SHA/backtraces
+for a in */core*; do gdb ~/build/instdir/program/soffice.bin $a -ex "thread apply all backtrace full" --batch > /srv/crashtestdata/logs/$SHA/backtraces/`dirname "$a"`-`basename "$a"`.backtrace; done
cat */crashlog.txt > /srv/crashtestdata/logs/$SHA/crashlog.txt
cat */exportCrash.txt > /srv/crashtestdata/logs/$SHA/exportCrash.txt
cd /srv/crashtestdata/current/srv/crashtestdata/files/
-zip -r validation.zip */*.log
+zip -r -q validation.zip */*.log
mv validation.zip /srv/crashtestdata/logs/$SHA/.
cd /srv/crashtestdata/logs/$SHA
unzip validation.zip -d validation
More information about the Libreoffice-commits
mailing list