test/run_unit.sh.in | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-)
New commits: commit 2943d096698c0747f1c450e187ad44d2b373d2bb Author: Michael Meeks <michael.me...@collabora.com> AuthorDate: Sat May 4 21:26:40 2019 +0100 Commit: Michael Meeks <michael.me...@collabora.com> CommitDate: Sat May 4 23:53:38 2019 +0200 test: encourage the test script to sleep for the debugger too. Change-Id: I538b2d80f57ecc8a342a38a64864d16b9128a04f Reviewed-on: https://gerrit.libreoffice.org/71804 Reviewed-by: Michael Meeks <michael.me...@collabora.com> Tested-by: Michael Meeks <michael.me...@collabora.com> diff --git a/test/run_unit.sh.in b/test/run_unit.sh.in index 2b67e8385..1b4312824 100755 --- a/test/run_unit.sh.in +++ b/test/run_unit.sh.in @@ -96,6 +96,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` @@ -109,8 +115,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