[Libreoffice-commits] dev-tools.git: 2 commits - test-bugzilla-files/test-bugzilla-files.py
Michael Stahl
mstahl at redhat.com
Fri Aug 12 12:02:42 UTC 2016
test-bugzilla-files/test-bugzilla-files.py | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
New commits:
commit da2dffc41ba3e1be7bce3e37c23a4861f09636d8
Author: Michael Stahl <mstahl at redhat.com>
Date: Mon Jul 11 17:21:48 2016 +0200
there is no "FormularProperties", math is called "FormulaProperties"
Change-Id: Icf475d6a3075b50882ecbb6ab39602ffe410e06e
diff --git a/test-bugzilla-files/test-bugzilla-files.py b/test-bugzilla-files/test-bugzilla-files.py
index 1f1851e..b71a6e4 100644
--- a/test-bugzilla-files/test-bugzilla-files.py
+++ b/test-bugzilla-files/test-bugzilla-files.py
@@ -248,7 +248,7 @@ def getComponent(xDoc):
return "draw"
elif xDoc.supportsService("com.sun.star.presentation.PresentationDocument"):
return "impress"
- elif xDoc.supportsService("com.sun.star.formula.FormularProperties"):
+ elif xDoc.supportsService("com.sun.star.formula.FormulaProperties"):
return "math"
elif xDoc.supportsService("com.sun.star.sdb.OfficeDatabaseDocument"):
return "base"
commit 4a27073883a0caee4546c1ab2e3ce2524a413c90
Author: Michael Stahl <mstahl at redhat.com>
Date: Mon Jul 11 17:07:33 2016 +0200
test-bugzilla-files: use "glob" to remove core files
... and avoid spamming stderr if there is no core file
Change-Id: Ic9799af4b3eb95541341502aea1474582293b53d
diff --git a/test-bugzilla-files/test-bugzilla-files.py b/test-bugzilla-files/test-bugzilla-files.py
index e5245de..1f1851e 100644
--- a/test-bugzilla-files/test-bugzilla-files.py
+++ b/test-bugzilla-files/test-bugzilla-files.py
@@ -27,6 +27,7 @@
import getopt
import os
+import glob
import subprocess
import sys
import time
@@ -528,7 +529,9 @@ class LoadFileTest:
connection.tearDown()
connection.setUp()
print("...done with: " + self.file)
- subprocess.call("rm core*", shell=True)
+ cores = glob.glob("core*")
+ for core in cores:
+ os.remove(core)
class NormalTimer:
def __init__(self):
More information about the Libreoffice-commits
mailing list