[Libreoffice-commits] dev-tools.git: test-bugzilla-files/test-bugzilla-files.py
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Fri Aug 13 06:46:00 UTC 2021
test-bugzilla-files/test-bugzilla-files.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 2e025fdbe1047a14fcc481bf830229cb2e72b4cc
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Fri Aug 13 08:43:59 2021 +0200
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Fri Aug 13 08:43:59 2021 +0200
test-bugzilla-files: avoid hardcoding home directory
So it works when it's invoked as a user that is not "buildslave".
Change-Id: If1fb7f021cdb81ba074f26c8c848b79b94aac4ee
diff --git a/test-bugzilla-files/test-bugzilla-files.py b/test-bugzilla-files/test-bugzilla-files.py
index 1b2ade0..5a05878 100644
--- a/test-bugzilla-files/test-bugzilla-files.py
+++ b/test-bugzilla-files/test-bugzilla-files.py
@@ -470,7 +470,7 @@ class ExportFileTest:
odfvalidator = ("java"
+ " -Djavax.xml.validation.SchemaFactory:http://relaxng.org/ns/structure/1.0=org.iso_relax.verifier.jaxp.validation.RELAXNGSchemaFactoryImpl"
+ " -Dorg.iso_relax.verifier.VerifierFactoryLoader=com.sun.msv.verifier.jarv.FactoryLoaderImpl"
- + " -jar /home/buildslave/source/bin/odfvalidator.jar "
+ + " -jar " + os.environ["HOME"] + "/source/bin/odfvalidator.jar "
+ " -M "
+ os.path.join(SRCDIR, "schema/libreoffice/OpenDocument-manifest-schema-v1.3+libreoffice.rng")
+ " -D "
@@ -495,7 +495,7 @@ class ExportFileTest:
def getODFunDiffCommand(self, filterName):
if filterName == "writer8":
- return "/home/buildslave/source/bin/odfundiff-exe"
+ return os.environ["HOME"] + "/source/bin/odfundiff-exe"
return None
def getFilterName(self, format):
More information about the Libreoffice-commits
mailing list