-
Notifications
You must be signed in to change notification settings - Fork 103
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
Test control #968
Test control #968
Conversation
38481b6
to
98072d5
Compare
@@ -0,0 +1,89 @@ | |||
import unittest | |||
from helpers import shell, remote | |||
|
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.
- Missing copyright.
- Need to document in Readme.md, why the file is needed, file docstring is required. Just to make clear that the file is not intended to be started manually
shell.testsuite_flatten(all_tests, loader.discover('.')) | ||
self.v_level = v_level | ||
self.tests = [TempestaTest(t) for t in all_tests] | ||
remote.connect() |
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.
How about nofile limit? Should it be defined here?
resource.setrlimit(resource.RLIMIT_NOFILE, (nofile, nofile)) |
testsuite = unittest.TestSuite(pending) | ||
testRunner = unittest.runner.TextTestRunner(verbosity=self.v_level, | ||
resultclass=self.__resultclass()) | ||
testRunner.run(testsuite) |
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.
How can we care about kernel crashes? E.g. crash happens during one tests and all the following testa are failed.
15657c2
to
da88c1d
Compare
No description provided.