- 30 5月, 2017 5 次提交
-
-
由 Lukáš Doktor 提交于
Currently the yaml_to_mux plugin is a core plugin without properly defined requirements. Let's separate it to optional_plugins, define dependencies and also build it separately in RPM. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
With more and more optional plugins it could be useful to build their API documentation in order to be able to refer to it from the main documentation. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Let's report full result on doc build failure to be able to see what is wrong. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 29 5月, 2017 6 次提交
-
-
由 Amador Pahim 提交于
This patch adds the missing definition of `MODE_0644` in `LoaderTestFunctional` class. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: selftests: remove redundant test test: always execute tearDown()
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: avocado list command: also show tag statistics avocado list command: also list test tags
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 26 5月, 2017 7 次提交
-
-
由 Cleber Rosa 提交于
The format of the docstring directives has not been formally described so far. Because at least two different features are built on that, and possibly more will come, it's a good idea to define a format. This introduces a stricter format, basically adding a number of requirements or rules. To make the following description more consistent let's call the "
🥑 " part of the docstring directive "the marker" and what follows it the "content". 1) One or more spaces are required between the "🥑 " marker and the content. The following is a valid docstring directive: "🥑 enable" While this is invalid: ":avocado:enable" 2) A more limited set of characters are now allowed in the content, namely one from the following set: [a-zA-Z0-9_:,=]. The following is a valid docstring directive: "🥑 foo=bar,foz=baz:extra" While the following is invalid: "🥑 foo=bar!" 3) The first character of the content must be alphanumeric, so the following is a valid docstring directive: "🥑 foo=bar" While the following is invalid: "🥑 =bar" 4) An end of string (or end of line) is now required after the content (which itself may not contain white spaces). The following is a valid docstring directive: "🥑 enable" While the following is invalid: "🥑 enable FOO" Signed-off-by: NCleber Rosa <crosa@redhat.com> -
由 Lukáš Doktor 提交于
When the test does not produces the early_status in 60s or when the test pushes the final status and not exits we SIGKILL the test, leaving us with no trace on where it might hang. Let's use SIGTERM first and wait for 1s to see whether the process won't be able to give us traceback, otherwise nuke it with SIGKILL as before. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The SystemExit exception does not produce the traceback, let's use RuntimeError instead to be able to tell where the test was interrupted. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Abdul Haleem 提交于
Added a function to get the linux page size for the given kernel, it returns a byte value from 'getconf PAGESIZE' command. systems can have 4k, 64k page sizes, accordingly decide to start a memory tests. Signed-off-by: NAbdul Haleem <abdhalee@linux.vnet.ibm.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: avocado/core/mux.py: use hashlib for Python 3 support selftests/functional/test_loader.py: use mode definition selftests/functional/test_lv_utils.py: use print function from future avocado/core/dispatcher.py: do not require a configuration file avocado/core/output.py: default to colored output Settings: also handle unexisting sections
-
由 Amador Pahim 提交于
with the new 'test_statuses.py', this test became redundant. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
Currently, when something goes wrong in setUp(), tearDown() is not executed. This patch changes the behaviour of our Test class, making the tearDown() to be always executed, regardless what happens in setUp(). Reference: https://trello.com/c/zSZ4xFwpSigned-off-by: NAmador Pahim <apahim@redhat.com>
-
- 25 5月, 2017 2 次提交
-
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 24 5月, 2017 3 次提交
-
-
由 Lukáš Doktor 提交于
For couple of weeks the `inspekt lint` produces unwanted `Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)` messages polluting the log too much for me to bear. I tried to remove those messages, but so far I haven't found a solution, so let's just silence it unless there is a lint failure. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Cleber Rosa 提交于
Just like `avocado list` presents the statistics for the test types, it may be useful to also list the number of tests that have a particular tag. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Test tags (via docstring directives) have been supported in Avocado for a number of releases, but up until now user would only be able to see the tags on their tests by resorting to the source code. This was already difficult when the tags where set only at the class level, now that they can be set both on the class and method docstring, users would have to do the "math" on their minds. Let's display the test tags when the verbose switch is given to the list command to make the life of users easier. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 23 5月, 2017 11 次提交
-
-
由 Greeshma Gopinath 提交于
Similar to make link, the requirements-plugins target walks through the plugins and install dependencies. It checks if the plugin has either: * A Makefile * A requirements.txt file https://trello.com/c/R9rxte6o/608-add-make-requirements-pluginsSigned-off-by: NGreeshma Gopinath <ggopinat@redhat.com> Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
hashlib works in both Python 2.7 and 3, so it's the way to go here. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Both for consistency and for Python 3 support. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Python 3 will not allow print statements, so let's import from future and use it as function. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
To look for disabled plugins. If the configuration is not found (no file, section, value) it means no plugin is disabled. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
The configuration ships with this entry set to True by default, but when the configuration can not be loaded, we need a default to prevent misbehavior. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
There are situations where no configuration will be loaded, and Avocado should attempt to behave properly. Currently, it crashes, such as: Traceback (most recent call last): File "/usr/lib64/python3.5/configparser.py", line 1135, in _unify_values sectiondict = self._sections[section] KeyError: 'runner.output' This handles those situations more gracefully. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Since too may reports of false positives have been generated during RPM package builds, let's move all test sensitive tests into level 1. This means that those tests will not be run on RPM package builds, but will continue to run on Travis-CI. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 22 5月, 2017 2 次提交
-
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: SPEC file: visual aid for conditionals by means of indentation
-
由 Satheesh Rajendran 提交于
Added methods to get total,online cpus count. Signed-off-by: NSatheesh Rajendran <sathnaga@linux.vnet.ibm.com>
-
- 20 5月, 2017 3 次提交
-
-
由 Lukáš Doktor 提交于
Let's modify the `make_broken` function to optionally accept `description` which is used to report additional comments after the test uid, instead of doing this manually per each call. This also replaces the same parameter for the dummy `ignore_broken` function which still contained other optional parameter not used by the parallel `make_broken` function. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: Lower stevedore version requirement
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: avocado/utils/cpu.py: more compact implementation of get_cpu_arch() avocado/utils/cpu.py: small optimization on _get_cpu_info()
-
- 19 5月, 2017 1 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-