| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Configuration files: provide them as example only With the new Avocado settings module, configuration file content takes precedence over builtin defaults. With this new model, the current configuration files are breaking Avocado-VT when used with the latest Avocado. By commenting them out, we leave them as examples only, and users can uncomment and enable only their specific configurations. Fortunately, Avocado-VT doesn't *need* the settings on the configuration files even when running with Avocado 69.x LTS. This should fix the Cirrus CI checks with the latest Avocado. Signed-off-by: Cleber Rosa <crosa@redhat.com> | 5 年前 | |
Compatibility with config files in early stages In early stage of avocado run, there is a time when the vt options are created, but they are not synchronized with values from config files. This can affect some of the global variables which are set during this time. This commit ensures the synchronization right after the options are registered. Reference: #2912 Signed-off-by: Jan Richter <jarichte@redhat.com> | 5 年前 | |
Plugins: port bootstrap, list and run plugins This makes the changes necessary for Avocado-VT plugins to work properly with the new style plugins code on Avocado. About namespace and module installation, the Avocado-VT plugins now live on their own namespace, avocado_vt, which will usually find it itself installed on /usr/lib/pythonX.Y/site-packages/avocado_vt. Avocado can find the plugins because Avocado-VT has plugins registered in the correct entry points (avocado.plugins.cli and avocado.plugins.cli.cmd). Signed-off-by: Cleber Rosa <crosa@redhat.com> | 10 年前 | |
Merge pull request #2851 from PaulYuuu/loader_shortname Introduce "--vt-short-names-when-config" to switch test names display | 5 年前 | |
Options: move processing of backend specific options into own method No change in logic is expected, this just simplifies and better Pythonifies the selection of the method. Signed-off-by: Cleber Rosa <crosa@redhat.com> | 5 年前 | |
Future Test class independence on Job class in avocado In the avocado 86.0 will be removed the test -> job dependency. This commit will ensure the compatibility of avocado-vt with avocado>=86 Reference:https://github.com/avocado-framework/avocado/pull/4429 Signed-off-by: Jan Richter <jarichte@redhat.com> | 5 年前 | |
Fix an instance of (conditionally) undefined variable Some refactoring made it possible that this variable is never previously defined leading to: 13:00:37 ERROR| Reproduced traceback from: /usr/lib/python3.8/site-packages/avocado/core/test.py:767 13:00:37 ERROR| Traceback (most recent call last): 13:00:37 ERROR| File "/usr/lib/python3.8/site-packages/avocado_vt/test.py", line 309, in runTest 13:00:37 ERROR| raise self.__status # pylint: disable=E0702 13:00:37 ERROR| File "/usr/lib/python3.8/site-packages/avocado_vt/test.py", line 255, in setUp 13:00:37 ERROR| self._runTest() 13:00:37 ERROR| File "/usr/lib/python3.8/site-packages/avocado_vt/test.py", line 361, in _runTest 13:00:37 ERROR| test_modules = utils.find_test_modules(t_types, subtest_dirs) 13:00:37 ERROR| File "/usr/lib/python3.8/site-packages/avocado_vt/utils.py", line 118, in find_test_modules 13:00:37 ERROR| if subtest_dir is None: 13:00:37 ERROR| UnboundLocalError: local variable 'subtest_dir' referenced before assignment The new way uses a python "loop-else" instead of relying on the variable being set. Signed-off-by: Plamen Dimitrov <plamen.dimitrov@intra2net.com> | 5 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 5 年前 | ||
| 5 年前 | ||
| 10 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 |