[Libreoffice-commits] dev-tools.git: test-bugzilla-files/commands.sh test-bugzilla-files/config

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 30 14:35:28 UTC 2021


 test-bugzilla-files/commands.sh |    4 +++-
 test-bugzilla-files/config      |    8 +++++---
 2 files changed, 8 insertions(+), 4 deletions(-)

New commits:
commit be90575404fe8892bacad5cd0b7b2c89d0df3de8
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Mon Aug 30 16:29:24 2021 +0200
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Mon Aug 30 16:35:08 2021 +0200

    crashtest: allow working against a read-only dev-tools.git
    
    Also reduce the number of places where the username is hardcoded to
    "buildslave".
    
    Change-Id: Ib3bb79ef80081ecf7a7d4aacb7b7b90b69989e05

diff --git a/test-bugzilla-files/commands.sh b/test-bugzilla-files/commands.sh
index c44d501..78761d8 100755
--- a/test-bugzilla-files/commands.sh
+++ b/test-bugzilla-files/commands.sh
@@ -11,7 +11,9 @@ if [ -z "$CRASHTEST_READONLY_CORE" ]; then
     make clean
 fi
 cd ~/source/dev-tools/
-git pull -r
+if [ -z "$CRASHTEST_READONLY_DEVTOOLS" ]; then
+	git pull -r
+fi
 cd ~/source/libo-core/
 if [ -z "$CRASHTEST_READONLY_CORE" ]; then
     git pull -r
diff --git a/test-bugzilla-files/config b/test-bugzilla-files/config
index 13c88f6..690bdd2 100644
--- a/test-bugzilla-files/config
+++ b/test-bugzilla-files/config
@@ -1,11 +1,13 @@
 export CRASHTESTDATA=/srv/crashtestdata
-export SRCDIR=/home/buildslave/source/libo-core
-export INSTDIR=/home/buildslave/build/instdir
-export USERDIR=/home/buildslave/.config
+export SRCDIR=/home/$USER/source/libo-core
+export INSTDIR=/home/$USER/build/instdir
+export USERDIR=/home/$USER/.config
 
 # For development purposes:
 # Don't touch the core.git source/build directory:
 # export CRASHTEST_READONLY_CORE=1
+# Don't touch the dev-tools.git source/build directory:
+# export CRASHTEST_READONLY_DEVTOOLS=1
 
 dir=$HOME/source/dev-tools/test-bugzilla-files
 if [ -e ${dir}/config.local ]; then


More information about the Libreoffice-commits mailing list