- 04 1月, 2017 3 次提交
-
-
由 Amador Pahim 提交于
-
由 Lukáš Doktor 提交于
Let's add a check that teststmpdir is shared across different jobs when set manually via environment variables. This also contains a little improvement in one of the used tests. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The "AVOCADO_TESTS_COMMON_TMPDIR" is an environmental variable name used to store the location of a common tmpdir. To avoid issues with typos/name changes let's use the variable in `avocado.core.test` to share the env variable name everywhere. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 19 12月, 2016 7 次提交
-
-
由 Lukáš Doktor 提交于
* https://github.com/avocado-framework/avocado: avocado.utils.pci: Check the full path in get_slot_from_sysfs avocado.utils.pci: Fix get_num_devices_in_domain
-
由 Lukáš Doktor 提交于
The get_slot_from_sysfs checks for devices' directory, but not for the actual file and this file is only available on ppc64. Let's improve the check and report None when the file does not exists rather than failing with IOError exception. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The get_num_devices_in_domain uses wildcards, which are handled by shell, which was not enabled in the command. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
* pci: avocado.utils.pci: Fix the absolute import
-
由 Lukáš Doktor 提交于
The genio import is suppose to be relative one. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
* https://github.com/avocado-framework/avocado: Adding PCI module
-
由 Narasimhan V 提交于
avocado.utils.pci: Adds pci related modules. Signed-off-by: NNarasimhan V <sim@linux.vnet.ibm.com>
-
- 16 12月, 2016 2 次提交
-
-
由 Lukáš Doktor 提交于
* https://github.com/avocado-framework/avocado: plugins: tests temporary directory
-
由 Amador Pahim 提交于
This commit creates a job pre/post plugin that generates a temporary directory intended to be consumed by the tests. The temporary directory will be created in 'pre', available via environment variable and removed in 'post. We are also exposing the tests temporary directory in the Test API. Reference: https://trello.com/c/P1JOtVY7Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 12 12月, 2016 1 次提交
-
-
由 Amador Pahim 提交于
-
- 09 12月, 2016 2 次提交
-
-
由 Lukáš Doktor 提交于
The len(string) does not work properly when terminal control characters are present. To allow printing them, we first need to calculate the length of the string without the term ctrl characters and then print it. We can't use the "%-{NUM}s" formatting, because it again uses the incorrect length, so instead this patch uses custom padding calculated from the stripped lengths. As a side effect the custom formatting this version allows rows with different number of cols in it. I left it untreated and added selftest for it as I think it could be actually useful. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Let's avoid duplicating the code and use `itertools.chain` to treat matrix and header the same way. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 08 12月, 2016 13 次提交
-
-
由 Lukáš Doktor 提交于
* https://github.com/avocado-framework/avocado: docs: cross-reference for test tags in 'Test discovery'
-
由 Amador Pahim 提交于
From test writer perspective, we need the information about test tags in the Writing Tests section. But from the users executing tests perspective, the information about test tags should be present in Test Discovery section. Let's fix that creating this cross-reference. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
-
由 Narasimhan V 提交于
avocado.utils.multipath: Adds multipath related modules. Signed-off-by: NNarasimhan V <sim@linux.vnet.ibm.com>
-
由 Amador Pahim 提交于
-
由 Lukáš Doktor 提交于
I tried to strip-down the bootstrap library in order to minimize resources size. I used brute-force based on me not being able to find a visible difference, so I can't guarantee everything is included, but I tried hard and couldn't see a difference. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
When long fail_reason is detected, we add a on_click popup with the full description, but somehow we included string "fail_reason" instead of the fail_reason variable. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Default bootstrap library contains a custom font we don't really use. Let's generate a version without it from: http://getbootstrap.com/customize/ Note I only removed the font, it still can be minimized... Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Amador Pahim 提交于
-
由 Lukáš Doktor 提交于
Let's increase the GDB init timeout up to 5s and while on it improve a bit the while condition. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
On heavy loaded machines (mainly IO) it might happen that test's `__init__` is not executed in 10s causing the execution to fail. The same applies to when we try to interrupt the job, only here the default timeout was 0.5s. Let's increase both to 60s, they are both busy loops so this timeout is only a corner case. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Cleber Rosa 提交于
-
由 Cleber Rosa 提交于
-
- 07 12月, 2016 1 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 06 12月, 2016 3 次提交
-
-
由 Lukáš Doktor 提交于
We do produce `results.xml` and `results.json`, let's also include `results.tap` by default and allow disabling this by `--tap-job-result`. Note it's impossible to initialize the default result.tap in `__init__` as we only get `args` and not the job itself, therefor this patch adds it as first thing inside the `pre_tests` step. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
docs: Update the documentation test output
-
由 Jun Guo 提交于
It looks like the test result is not copy-paste from real test. Since there is two `(6/6)`, and actually no `ERROR` occurs but get 2 in result sumary.
-
- 05 12月, 2016 2 次提交
-
-
由 Lukáš Doktor 提交于
* https://github.com/avocado-framework/avocado: spell: fix spelling for v44 release
-
由 Amador Pahim 提交于
Only two occurrences. One is a typo and another is an exception. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 04 12月, 2016 1 次提交
-
-
由 Stephan Kulow 提交于
The package manager for both is zypper. Both have an /etc/os-release file, but the content of it is quite different. Some examples: NAME="openSUSE Leap" VERSION="42.2" ID=opensuse VERSION_ID="42.2" NAME="SLES" VERSION="12-SP2" VERSION_ID="12.2" NAME="openSUSE Tumbleweed" ID=opensuse VERSION_ID="20161125" So I took the easy path - what they all have in common is the SUSE string. And as no other probe looks at /etc/os-release, this is very safe for now.
-
- 02 12月, 2016 4 次提交
-
-
由 Lukáš Doktor 提交于
* https://github.com/avocado-framework/avocado: Example tests: add sample tags Test tags: support test tags in loader, list and run Loader: add support for test tags safeloader: add support for "
🥑 tags=category1,category2" Docstring directives: use the same terminology in the code -
由 Cleber Rosa 提交于
This adds tags to most of the example tests. Since tags are free form, this adds the following (hopefully self documenting) tags: * fast * slow * failure_expected * requires_c_compiler Then, they can be used in various ways, such as: $ avocado run examples/tests/{abort,passtest.py} --filter-by-tags='-failure_expected' To filter out tests that are known to fail (and thus run only passtest.py). Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
This adds support for test tags (to choose categorized tests) to the loader, and also to the list and run commands. The user experience is based on two options: * --filter-by-tags: this can be supplied any number of times. Each time it must be given a comma separated list of tags. * --filter-by-tags-include-empty: this will always include tests that have no tags set. These options are equally available to the list and run commands. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lukáš Doktor 提交于
* https://github.com/avocado-framework/avocado: don't add logger without handlers to output.LoggingFile instances
-
- 01 12月, 2016 1 次提交
-
-
由 Amador Pahim 提交于
We currently override sys.stdout and sys.stderr with instances of output.LoggingFile with some loggers. But bu adding test loggers in the runner is causing output.LoggingFile to have loggers without handlers. This patch creates a mechanism to include loggers later in a output.LoggingFile instance so we can delay the test loggers inclusion in sys.stderr/sys.stdout to the correct moment. Also, create the proper cleanup in _stop_logging() Signed-off-by: NAmador Pahim <apahim@redhat.com>
-