- 26 5月, 2017 2 次提交
-
-
由 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>
-
由 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
-
- 25 5月, 2017 2 次提交
-
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@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 2 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
The current requirement set for the stevedore library doing build/use of Avocado doesn't actually reflect the minimum version needed. The proof is that Avocado on EL7, when installed from packages, will run just fine with 0.14, the version that ships on that distro. Without this change, package builds on EL7 attempt to download a newer (Python) module: Processing dependencies for avocado-framework==50.0 Searching for stevedore>=1.8.0 Reading https://pypi.python.org/simple/stevedore/ Best match: stevedore 1.21.0 Downloading https://pypi.python.org/[...]/stevedore-1.21.0.tar.gz[...] With this change, no download is attempted: Processing dependencies for avocado-framework==50.0 Searching for stevedore==0.14 Best match: stevedore 0.14 Adding stevedore 0.14 to easy-install.pth file Using /usr/lib/python2.7/site-packages Finished processing dependencies for avocado-framework==50.0 A couple of stevedore requirement mentions were preserved. Explanation: * requirements-docs.txt: it's used on readthedocs.org only * requirements-travis.txt: it's used Travis-CI only Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 18 5月, 2017 11 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
This change may help to quickly read the conditionals. It's already been applied on Fedora packages, so let's sync it here. Also added here is some small comment section changes (mostly capitalization), again to sync with downstream. CC: Lukáš Doktor <ldoktor@redhat.com> Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Amador Pahim 提交于
Introducing the --force-execution to create the Job regardless the fact that some test references might not be resolved to tests. Reference: https://trello.com/c/bDUJjhq0Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Cleber Rosa 提交于
This shouldn't change the behavior, but is more compact, and at least for me, is more readable. And, it happens to make (pure) pylint happier because there aren't that many 'return' statements. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
All functions that make use of _get_cpu_info() look for a given line and return when the first one is found. Because of that there's no need to send the more or less identical entries for other processes available on a system. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: Makefile: also remove 36lts "egg-info" dir
-
由 Lukáš Doktor 提交于
Currently all failures are ignorred, which makes it hard to actually understand why our beloved test-reference is not a robot test. Let's report !ROBOT line along with the exceptions details in such case. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
While debugging Avocado I noticed some crashes when attaching debugger. It was caused by the debugger which force-flushes the STDOUT on some occasions, which is usually supported, but is not supported by our Paginator class. This commit adds the flush method which flushes the output pipe (unless it's already closed) Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Currently we provide a short mapping to notify the user why is this test_reference not a test along with coloring it by a different color. Let's also include a shor message to the test name to explain why is it so to improve the user experience. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The Loader can report non-tests which are not intended for execution but only for listing purposes. Let's avoid inheriting them from avocado Test as it is not really necessary as the tests are basically dummy entities which does not really do anything. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 17 5月, 2017 5 次提交
-
-
由 Cleber Rosa 提交于
When switching between 36lts and master branch, content from 36lts (the .egg-info dir) may be kept. The reason for that is that 36lts used "avocado" as the module name, and thus produces "avocado.egg-info" dir. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Amador Pahim 提交于
Make clean is missing the egg directories. This patch includes in make clean a command to remove them. Reference: https://trello.com/c/VgF0fkEaSigned-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 16 5月, 2017 2 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Amador Pahim 提交于
If state['params'] is nor present, let's generate the html report anyway. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-