test/run_unit.sh.in | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-)
New commits: commit 8c9ebfd76a71d98f6e52b5c9ae185d93bfe82059 Author: Michael Meeks <michael.me...@collabora.com> AuthorDate: Sat May 4 21:26:40 2019 +0100 Commit: Jan Holesovsky <ke...@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 <ashnak...@gmail.com> Tested-by: Jan Holesovsky <ke...@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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits