[Libreoffice-commits] .: smoketestoo_native/losmoketest.py

Petr Mladek pmladek at kemper.freedesktop.org
Wed Oct 19 08:55:23 PDT 2011


 smoketestoo_native/losmoketest.py |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 4255c2663dca22f5d70fee8407aa56df7b0f3f56
Author: Petr Mladek <pmladek at suse.cz>
Date:   Wed Oct 19 17:54:09 2011 +0200

    losmoketest.py: allow to use the long --headless option; not only -s

diff --git a/smoketestoo_native/losmoketest.py b/smoketestoo_native/losmoketest.py
index 42a8efb..4875df2 100755
--- a/smoketestoo_native/losmoketest.py
+++ b/smoketestoo_native/losmoketest.py
@@ -570,6 +570,8 @@ def main():
             interactive = False
         elif o in ("-t", "--type"):
             pass
+        elif o in ("-s", "--headless"):
+            pass
         elif o in ("-h", "--help"):
             usage()
             sys.exit()
@@ -591,7 +593,7 @@ def main():
         elif o in ("-l", "--loop"):
             loop = True
         else:
-            assert False, "Unhandled option"
+            assert False, "Unhadled option: " + o
 
     if interactive == True:
         key = raw_input("The testing will OVERRIDE existed libreoffice, continue(y/N)? ")


More information about the Libreoffice-commits mailing list