- 10 5月, 2016 6 次提交
-
-
由 Lukáš Doktor 提交于
This patch changes the metavar for `avocado run` positional argument to fit the new naming convention. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The writing tests multiplexation example is actually broken and would not work at all. Let's fix it. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Add the `profile` section of `sysinfo` collection and improve the descriptions. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Use `--show test` to demonstrate the `--show-job-log` feature (and mention both. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Avocado used to print the test duration, but with the logging refactor this was omitted. Let's bring this feature back. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 09 5月, 2016 1 次提交
-
-
由 Amador Pahim 提交于
-
- 06 5月, 2016 3 次提交
-
-
由 Lukáš Doktor 提交于
Currently avocado adds custom handlers of SIGINT and SIGUSR1 in order to produce traceback and notify about user interaction or timeout. This could be missleading in case the test uses those signals and potentially dangerous as some tests assume default behavior. This patch removes the custom handling of SIGINT and SIGUSR1 and reports the failure in `job.log`. Additionally it tries to inject the error message in the test output, if status.logfile available. In order to keep the useful traceback in case of interruption, this patch overrides the default SIGTERM handler. The default behavior of SIGTERM is to die, our custom handler raises SystemExit with info saying the test was interrupted by sigterm, which should generate traceback and finish. The runner then changes the result to INTERRUPTED, so even when the test modifies the SIGTERM handler, we get the correct status. Worth mentioning that in case test ignores SIGTERM, SIGKILL is emitted by the runner, so this should be safe approach. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The `test` and `app` loggers are used many times in `avocado.core.runner`. This patch stores them as global variables and uses them in the module. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
-
- 05 5月, 2016 2 次提交
-
-
由 Amador Pahim 提交于
There's no reason for having a separated simpletests directory, let's move them to the tests directory. Reference: https://trello.com/c/VFcxxwIpSigned-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Lukáš Doktor 提交于
-
- 04 5月, 2016 7 次提交
-
-
由 Cleber Rosa 提交于
-
由 Lukáš Doktor 提交于
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Santhosh 提交于
updated module name in examples/tests/linuxbuild.py
-
由 Cleber Rosa 提交于
Currently the sysinfo info on the HTML report only shows the pre-test phase of sysinfo. It should really include all three phases. The content of the profiler section is, of course, dependant on that type of collection having been activated (which is not by default). Reference: https://trello.com/c/sXZQTftaSigned-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
The machine hostname is extracted from the sysinfo file, and it contains a newline. While really minor, it produces the following HTML code: <tr> <td>Host</td><td><tt>localhost.localdomain </tt></td> </tr> Instead of: <tr> <td>Host</td><td><tt>localhost.localdomain</tt></td> </tr> So, let's remove the trailing newline. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
The reason is that some test results, such as the HTML report, contain sysinfo data. Without this change, it's impossible to embed post-test sysinfo data into such test results. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 03 5月, 2016 10 次提交
-
-
由 Cleber Rosa 提交于
-
由 Lukáš Doktor 提交于
The first commit is checked by the main check, don't re-check it with the per-commit check. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
This patch fixes and improves resolving of the test aliases (paths relative to `data_dir.get_tests_dir`). 1. It removes the magic `.py` suffix, which prevented non-python files from being resolved (simple.sh was resolved to $tests/simple.sh.py) 2. It adds the feature to filter the class/method from the test reference by parsing $test_reference:$class.$method for implicit resolver. (previously this worked only for absolute path resolver) Visible changes are: * `avocado run passtest` => fails (used to work) * `avocado run passtest.py` => works (did not work) * `avocado run env_variables.sh` => works (did not work) * `avocado run passtest.py:PassTest.test` => works (did not work) Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
-
由 Cleber Rosa 提交于
-
由 Amador Pahim 提交于
Currently we have a travis script to run make check with every commit on the PR. But the script is hard coded to get the commit list using the branch master as reference. This commit uses travis env variables to make the script branch independent, so we can have the same .travis.yaml file for every branch we create (LTS branches for instance). Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
Python ignores SIGPIPE on startup, because it prefers to check every write and raise an IOError exception rather than taking the signal. This patch changes SIGPIPE back to its default action in order to behave correctly. Reference: https://trello.com/c/ysKxcHEaSigned-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Cleber Rosa 提交于
-
由 Cleber Rosa 提交于
-
由 Amador Pahim 提交于
Travis will clone the repo and then fetch the pull-request, regardless the branch it's coming from. That's why a PR has to contain the correct parenting. But the build will happen only if the PR is proposed to an enabled branch. That's what this PR enables. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 02 5月, 2016 5 次提交
-
-
由 Lukáš Doktor 提交于
-
由 Lucas Meneghel Rodrigues 提交于
Fix travis build for python2.6
-
由 Amador Pahim 提交于
Fabric 1.10.0 has a dependency issue. This patch changes the fabric version in travis to the highest available version right now. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
There is a "make develop" target available in Makefile to develop avocado, let's use it in documentation. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 30 4月, 2016 1 次提交
-
-
由 Amador Pahim 提交于
If Ctrl+C is hit outside the loop waiting for the test, instead of failing nicelly, Avocado crashes. This patch adds a try/except for the run_suite function so we can catch the KeyboardInterrupt outside the loop that waits for the test addint 'INTERRUPTED' to the summary. Reference: https://trello.com/c/lDj56sKWSigned-off-by: NAmador Pahim <apahim@redhat.com>
-
- 27 4月, 2016 5 次提交
-
-
由 Cleber Rosa 提交于
-
由 Amador Pahim 提交于
It is expected to be string, not integer. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
This release introduces a new versioning scheme, so the "big bump" from 0.34.0 to 35.0 is not such a big bump. Some additional changes with regards to versioning were added, such as the way the remote runner checks for Avocado on the remote host. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
It just makes sense that the subpackages of Avocado depend on the same version. This will avoid accidental mixing and matching of different package versions. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-