[Libreoffice-commits] dev-tools.git: test-bugzilla-files/execute.sh
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Aug 4 09:11:36 UTC 2021
test-bugzilla-files/execute.sh | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
New commits:
commit 1049f7fa47a5e5fb4095164697c82cbe54698224
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Aug 4 10:09:50 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Aug 4 11:11:18 2021 +0200
fix crashtesting script
Change-Id: I309b0f382cde542e97ca2a68bb3ad7b317e45d4a
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/119993
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/test-bugzilla-files/execute.sh b/test-bugzilla-files/execute.sh
index ee6f980..3c91e34 100755
--- a/test-bugzilla-files/execute.sh
+++ b/test-bugzilla-files/execute.sh
@@ -1,4 +1,8 @@
-mkdir /srv/crashtestdata/control/$1
-cd /srv/crashtestdata/control/$1
-TMPDIR=/srv/crashtestdata/tmpdir /home/buildslave/build/instdir/program/python /home/buildslave/source/dev-tools/test-bugzilla-files/test-bugzilla-files.py --soffice=path:/home/buildslave/build/instdir/program/soffice --userdir=file:///srv/crashtestdata/.config/libreoffice_$1/4 /srv/crashtestdata/files/$1 2>&1 | tee /srv/crashtestdata/console_$i.log
-rm core*
+#!/bin/bash
+ulimit -c unlimited
+dir_name=$(basename $1)
+dir=${PWD}
+source ${dir}/config
+mkdir -p ${CRASHTESTDATA}/control/$dir_name
+cd ${CRASHTESTDATA}/control/$dir_name
+TMPDIR=${CRASHTESTDATA}/tmpdir ${INSTDIR}/program/python ${dir}/test-bugzilla-files.py --soffice=path:${INSTDIR}/program/soffice --userdir=file://${USERDIR}/libreoffice_$dir_name/4 $1 2>&1 | tee ${CRASHTESTDATA}/console_$dir_name.log
More information about the Libreoffice-commits
mailing list