mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Update the runtests parser to set the stable version in the environ
This commit is contained in:
parent
f13e036179
commit
c21ad6ed15
1 changed files with 8 additions and 0 deletions
|
@ -52,6 +52,11 @@ class BootstrapSuiteParser(SaltTestingParser):
|
|||
action='store_true',
|
||||
help='Run Installation tests'
|
||||
)
|
||||
self.test_selection_group.add_option(
|
||||
'--stable-salt-version',
|
||||
default='v2014.1.10',
|
||||
help='Specify the current stable release of salt'
|
||||
)
|
||||
|
||||
def run_integration_suite(self, display_name, suffix='[!_]*.py'):
|
||||
'''
|
||||
|
@ -82,6 +87,9 @@ def main():
|
|||
print 'Detected system grains:'
|
||||
pprint.pprint(GRAINS)
|
||||
|
||||
# Set the current stable version of salt
|
||||
os.environ['CURRENT_SALT_STABLE_VERSION'] = options.stable_salt_version
|
||||
|
||||
overall_status = []
|
||||
|
||||
if options.name:
|
||||
|
|
Loading…
Add table
Reference in a new issue