Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tristan Cavelier
slapos
Commits
d94f2359
Commit
d94f2359
authored
Nov 03, 2016
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix unbound error case.
parent
bcb094e6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
software/jstestnode/runTestSuite.in
software/jstestnode/runTestSuite.in
+3
-0
software/jstestnode/software.cfg
software/jstestnode/software.cfg
+1
-1
No files found.
software/jstestnode/runTestSuite.in
View file @
d94f2359
...
@@ -68,6 +68,7 @@ def main():
...
@@ -68,6 +68,7 @@ def main():
if not getattr(args, 'target_device', None):
if not getattr(args, 'target_device', None):
args.target_device = parsed_parameters.get('target-device')
args.target_device = parsed_parameters.get('target-device')
is_browser_running = False
try:
try:
test_suite_title = args.test_suite_title or args.test_suite
test_suite_title = args.test_suite_title or args.test_suite
test_suite = args.test_suite
test_suite = args.test_suite
...
@@ -198,6 +199,8 @@ def main():
...
@@ -198,6 +199,8 @@ def main():
finally:
finally:
if is_browser_running:
if is_browser_running:
# if by any chance browser is still running due to
# traceback raised make sure we cleanup
browser.quit()
browser.quit()
if __name__ == "__main__":
if __name__ == "__main__":
...
...
software/jstestnode/software.cfg
View file @
d94f2359
...
@@ -107,7 +107,7 @@ mode = 0644
...
@@ -107,7 +107,7 @@ mode = 0644
[template-runTestSuite]
[template-runTestSuite]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/runTestSuite.in
url = ${:_profile_base_location_}/runTestSuite.in
md5sum =
020f67ccfdf51a529579ab629cd9afe4
md5sum =
f78b3205a6a2af6fc2d437fdf30440f6
output = ${buildout:directory}/runTestSuite.in
output = ${buildout:directory}/runTestSuite.in
mode = 0644
mode = 0644
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment