Re-enable test run SLS

Now that the buildpackage stuff is ready, this no longer needs to be
commented out.
This commit is contained in:
Erik Johnson 2014-09-11 13:35:40 -05:00
parent cb31726500
commit 8bcc418aa2

View file

@ -692,7 +692,6 @@ def run(opts):
except ValueError:
print('Failed to load any JSON from {0!r}'.format(stdout.strip()))
'''
# Run tests here
time.sleep(3)
cmd = (
@ -735,9 +734,7 @@ def run(opts):
if stdout:
# Anything else, raise the exception
raise
'''
retcode = 0 # testing, remove this
if retcode == 0:
# Build packages
time.sleep(3)
@ -769,13 +766,11 @@ def run(opts):
if 'Build complete' in stdout:
download_packages(opts)
'''
if opts.download_remote_reports:
# Download unittest reports
download_unittest_reports(opts)
# Download coverage report
download_coverage_report(opts)
'''
if opts.clean and 'JENKINS_SALTCLOUD_VM_NAME' not in os.environ:
delete_vm(opts)