diff options
author | Petr Mladek <pmladek@suse.cz> | 2011-10-19 17:54:09 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2011-10-19 17:54:09 +0200 |
commit | 4255c2663dca22f5d70fee8407aa56df7b0f3f56 (patch) | |
tree | ce5aa145fc795553f63f2d6173442cbd023162d2 /smoketestoo_native | |
parent | make the 3D transitions work again (diff) | |
download | core-4255c2663dca22f5d70fee8407aa56df7b0f3f56.tar.gz core-4255c2663dca22f5d70fee8407aa56df7b0f3f56.zip |
losmoketest.py: allow to use the long --headless option; not only -s
Diffstat (limited to 'smoketestoo_native')
-rwxr-xr-x | smoketestoo_native/losmoketest.py | 4 |
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)? ") |