summaryrefslogtreecommitdiff
path: root/wintest
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-11-30 12:37:01 +1100
committerAndrew Tridgell <tridge@samba.org>2010-12-01 16:09:58 +1100
commit0b2ec0abb98d6ce1198a2addb802afae2711eaad (patch)
treee12b9892864efbbabc654c21c6dfe89f72f46e00 /wintest
parent86c3c427456431d49529a358e3f754b1fa812b6e (diff)
downloadsamba-0b2ec0abb98d6ce1198a2addb802afae2711eaad.tar.gz
samba-0b2ec0abb98d6ce1198a2addb802afae2711eaad.tar.bz2
samba-0b2ec0abb98d6ce1198a2addb802afae2711eaad.zip
wintest Make the new --vms option default to running all tests.
Andrew Bartlett
Diffstat (limited to 'wintest')
-rwxr-xr-xwintest/test-s4-howto.py2
-rw-r--r--wintest/wintest.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/wintest/test-s4-howto.py b/wintest/test-s4-howto.py
index 800f22eb5d..d04cabbb3e 100755
--- a/wintest/test-s4-howto.py
+++ b/wintest/test-s4-howto.py
@@ -816,7 +816,7 @@ if __name__ == '__main__':
parser = optparse.OptionParser("test-howto.py")
parser.add_option("--conf", type='string', default='', help='config file')
parser.add_option("--skip", type='string', default='', help='list of steps to skip (comma separated)')
- parser.add_option("--vms", type='string', default='', help='list of VMs to use (comma separated)')
+ parser.add_option("--vms", type='string', default=None, help='list of VMs to use (comma separated)')
parser.add_option("--list", action='store_true', default=False, help='list the available steps')
parser.add_option("--rebase", action='store_true', default=False, help='do a git pull --rebase')
parser.add_option("--clean", action='store_true', default=False, help='clean the tree')
diff --git a/wintest/wintest.py b/wintest/wintest.py
index 910297ed4b..c9bd87554e 100644
--- a/wintest/wintest.py
+++ b/wintest/wintest.py
@@ -68,7 +68,8 @@ class wintest():
def set_vms(self, vms):
'''set a list of VMs to test'''
- self.vms = vms.split(',')
+ if vms is not None:
+ self.vms = vms.split(',')
def skip(self, step):
'''return True if we should skip a step'''