summaryrefslogtreecommitdiff
path: root/smoketestoo_native
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2011-10-19 17:54:09 +0200
committerPetr Mladek <pmladek@suse.cz>2011-10-19 17:54:09 +0200
commit4255c2663dca22f5d70fee8407aa56df7b0f3f56 (patch)
treece5aa145fc795553f63f2d6173442cbd023162d2 /smoketestoo_native
parent87268f254f460b39a41b153fd6e66a9974ca63c3 (diff)
losmoketest.py: allow to use the long --headless option; not only -s
Diffstat (limited to 'smoketestoo_native')
-rwxr-xr-xsmoketestoo_native/losmoketest.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/smoketestoo_native/losmoketest.py b/smoketestoo_native/losmoketest.py
index 42a8efb0fc63..4875df245302 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)? ")