[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-4' - test/run_unit.sh.in
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon May 6 18:09:15 UTC 2019
test/run_unit.sh.in | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
New commits:
commit 8c9ebfd76a71d98f6e52b5c9ae185d93bfe82059
Author: Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Sat May 4 21:26:40 2019 +0100
Commit: Jan Holesovsky <kendy at collabora.com>
CommitDate: Mon May 6 20:08:56 2019 +0200
test: encourage the test script to sleep for the debugger too.
Change-Id: I538b2d80f57ecc8a342a38a64864d16b9128a04f
Reviewed-on: https://gerrit.libreoffice.org/71803
Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/test/run_unit.sh.in b/test/run_unit.sh.in
index 1c63c3ae2..99f5e51c3 100755
--- a/test/run_unit.sh.in
+++ b/test/run_unit.sh.in
@@ -98,6 +98,12 @@ if test "z$tst" == "z"; then
--o:ssl.ca_file_path="${abs_top_builddir}/etc/ca-chain.cert.pem" \
--o:admin_console.username=admin --o:admin_console.password=admin \
> "$tst_log" 2>&1 &
+ if test "z${SLEEPFORDEBUGGER}${SLEEPKITFORDEBUGGER}" != "z"; then
+ echo "sleeping for debugger"
+ sleep ${SLEEPFORDEBUGGER:-0}
+ sleep ${SLEEPKITFORDEBUGGER:-0}
+ fi
+
echo " executing test"
oldpath=`pwd`
@@ -111,8 +117,10 @@ if test "z$tst" == "z"; then
retval=1
fi
- echo "killing $!"
- kill $!
+ if test "z${SLEEPFORDEBUGGER}${SLEEPKITFORDEBUGGER}" == "z"; then
+ echo "killing $!"
+ kill $!
+ fi
exit $retval
More information about the Libreoffice-commits
mailing list