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
Fix job log path when job folder is empty #135
Conversation
Before fix:
|
After fix:
|
avocado-setup.py
Outdated
result_link += "/job.log" | ||
testsuite.runstatus("Run", "Successfully executed", result_link) | ||
else: | ||
testsuite.runstatus("Not_Run", "Finding job.log failed") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unable to find job log file
or missing job log file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sathnaga thanks, pushed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, minor suggestion.
job.log path is computed from job folder. In cases like dry run, the path is empty. Handling this case with this commit. Signed-off-by: Narasimhan V <sim@linux.vnet.ibm.com>
982c94a
to
fa809a0
Compare
job.log path is computed from job folder. In cases like dry run,
the path is empty. Handling this case with this commit.
Signed-off-by: Narasimhan V sim@linux.vnet.ibm.com