[Libreoffice-commits] buildbot.git: bibisect/user

Robinson Tryon qubit at runcibility.com
Thu Jan 23 02:38:15 PST 2014


 bibisect/user/run-libreoffice.sh |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

New commits:
commit b3eb8d390908aacdbe9c90c51ee67f863d1ad4ad
Author: Robinson Tryon <qubit at runcibility.com>
Date:   Wed Dec 11 16:47:24 2013 -0500

    Bibisect: Add wrapper script for running LibreOffice
    
    This script uses a bibisect-only dir in /tmp to avoid scribbling over
    a user's regular profile.
    
    Change-Id: I3b106d41bfbe1db6347ed13724ab2340f1514634
    Reviewed-on: https://gerrit.libreoffice.org/7040
    Reviewed-by: Björn Michaelsen <bjoern.michaelsen at canonical.com>
    Tested-by: Björn Michaelsen <bjoern.michaelsen at canonical.com>

diff --git a/bibisect/user/run-libreoffice.sh b/bibisect/user/run-libreoffice.sh
new file mode 100644
index 0000000..8e56bee
--- /dev/null
+++ b/bibisect/user/run-libreoffice.sh
@@ -0,0 +1,32 @@
+#!/bin/bash
+#
+# Helper script to run the LibreOffice executable in a bibisect repo.
+#  - Robinson Tryon <qubit at runcibility.com>
+#  - Miroslaw Zalewski <miniopl at pczta.onet.pl>
+#
+# This script does a little magic behind the scenes to improve the
+# bibisect experience:
+#   * Uses (and clears) alternate user profile location
+#     * Keeps tester's regular LO profile safe
+#     * Produces more consistent, reproducible results
+#
+
+echo "-----------------------------------------------"
+echo "  Welcome to the Wonderful World of Bibisect!"
+echo "-----------------------------------------------"
+echo ""
+
+# Choose a profile directory inside /tmp.
+export BIBISECT_PROFILE_DIR=/tmp/libreoffice-bibisect
+
+# Make sure to clear the profile directory (in case we've previously
+# used it).
+rm -rf $BIBISECT_PROFILE_DIR
+
+echo "Starting LibreOffice"
+./opt/program/soffice -env:UserInstallation=file://$BIBISECT_PROFILE_DIR &
+
+
+echo "----------------------"
+echo "  Helper Script Done"
+echo "----------------------"


More information about the Libreoffice-commits mailing list