-
Notifications
You must be signed in to change notification settings - Fork 284
Cgi/verifier/scripts for addional tests #4584
Conversation
apps/blender/resources/images/entrypoints/scripts/verifier_tools/verifier.py
Outdated
Show resolved
Hide resolved
Co-Authored-By: Adam Mizerski <amizerski@golem.network>
Co-Authored-By: Adam Mizerski <amizerski@golem.network>
# Use this decorator if you don't want to remove test directory | ||
# after test execution. | ||
# This is debug decorator - don't remove even if it isn't used. | ||
def keep_testdir_on_fail(fun): |
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.
wouldn't it be better to have an optional command line argument instead of a decorator for this purpose instead?
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.
I prefere this solution, because cmdline switch would enable it for all test cases. They produce a lot of garbage and is is a lot harder to find results of only one specific test
self.assertFalse(timeouted) | ||
return self.task_manager.verify_subtask(subtask_id) | ||
|
||
def _execute_subtask(self, task: Task, ctd: dict): |
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.
is there a reason some of those methods here are public and some are private? are any of them called from outside the test class?
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.
Some of them are designed to be called outside of TestTaskIntegration and some of them are not. But not all of them are used yet.
cadbd19
to
d950a7f
Compare
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.
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.
This PR introduces following changes:
Detailed description:
Scripts are checking different subtasks splits on predefined checker scene
Semi integrations tests utilities:
Tests reproducing some known bugs in blender verifier