Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added build_simple test #156

Merged
merged 1 commit into from
Jun 2, 2014
Merged

added build_simple test #156

merged 1 commit into from
Jun 2, 2014

Conversation

Lorquas
Copy link
Contributor

@Lorquas Lorquas commented May 29, 2014

Signed-off-by: James Molet jmolet@redhat.com

Decided not to split this off into a subsubtest due to its utility.

build_args =

image_repo_name = docker_test
image_tag_postfix = test
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing newline

@cevich
Copy link
Member

cevich commented May 30, 2014

Indeed nice and simple, just what was needed. I think just the config + docs need some really minor fixes, otherwise the rest is just suggestions.

@Lorquas
Copy link
Contributor Author

Lorquas commented May 30, 2014

Good suggestions, I'll work on a new pull req.

Signed-off-by: James Molet <jmolet@redhat.com>

fixed errors and renamed build_simple to build_paths

Signed-off-by: James Molet <jmolet@redhat.com>
@Lorquas
Copy link
Contributor Author

Lorquas commented May 30, 2014

working on this to add test for #137

@cevich
Copy link
Member

cevich commented Jun 2, 2014

Okay, good enough, just a few final touches are needed, but I can fix them and merge...

def postprocess_iteration(self):
super(build_paths, self).postprocess_iteration()
cmdresult = self.stuff['cmdresults'][self.iteration - 1]
self.loginfo("Command: '%s'" % cmdresult.command)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remember logging calls just take substitution values as arguments...

@cevich
Copy link
Member

cevich commented Jun 2, 2014

Yep, the test fails on the first build-fail, I think we can just move that failif into a regular postprocess() though, easy fix...

@cevich cevich merged commit fda9c35 into autotest:master Jun 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants