- 03 4月, 2014 7 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
I thought it'd be useful right away, but turns out we can wait to add it, should the need arise. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Add Spec file to build RPM package.
-
由 Rudá Moura 提交于
Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Debian pkg
-
由 Lucas Meneghel Rodrigues 提交于
Add debian package rules and Makefile that allows people to build debian packages from it. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 02 4月, 2014 13 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Settings
-
由 Lucas Meneghel Rodrigues 提交于
Fix setup errors
-
由 Lucas Meneghel Rodrigues 提交于
sysinfo: Include /var/log/system.log (Mac compatibility)
-
由 Lucas Meneghel Rodrigues 提交于
If we have an error at test setup stage, avocado will completely crash. This happens because the setup() method is not properly wrapped inside the avocado execution loop. So, trust exception handling to the job level, putting all test executions under a single try/except block with appropriate status and test attribute handling. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Rudá Moura 提交于
Signed-off-by: NRudá Moura <ruda.moura@gmail.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Instead of writing to a location we can't write to when running as a regular user, refer to a user specific path, and use os.path.expanduser to handle the references to ~. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Another step in making avocado to run system wide (and provide distro packages). Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Use the settings module to find out where to locate resources on a system-wide install. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
In order to read and retrieve values from the avocado settings file, which can be in: * Source tree: /etc/settings.ini (quick testing) * ~/.config/avocado/settings.ini * /etc/avocado/settings.ini Implement a settings class, that can be used in other avocado programs. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Let's simplify the program namespace. No need to add nesting for this particular lib. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Add support for Test Results report.
-
由 Lucas Meneghel Rodrigues 提交于
Add option -v | --version to the application.
-
- 28 3月, 2014 2 次提交
-
-
由 Rudá Moura 提交于
Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
Actually pass parameter for version when calling ArgumentParser, so we're leaving -V for --verbose. Plus: simplify code for utils.unique(). Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
- 26 3月, 2014 10 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Self runnable tests
-
由 Lucas Meneghel Rodrigues 提交于
Introduce the job.main() entry point in all avocado test modules. This way all of them can be executed. The functionality depends on having avocado installed system wide, though. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
As it is not necessary in avocado anymore. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
A Job is a sequence of operations executed on a machine. This patch implements the class, which is a refactor of the test run function, and a class that implements a convenience found in python unittests: the main() method. This allows test modules to be executable in stand alone mode, without the need of the avocado test runner. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
So that we can make avocado test modules self runnable. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Add support for loading external plugins.
-
- 25 3月, 2014 2 次提交
-
-
由 Rudá Moura 提交于
Create new option --plugins to pass a directory for loading external plugins. Also, add some plugins examples in examples/avocado_example_plugins.py. The external plugins are loaded from avocado_*.py modules and the plugins are subclasses of Plugin(). Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
Also, app.run() now returns an exit code -- requires further udpates to pass the exit code back from plugins. To load external plugins: p = MyPlugin() app = avocado.cli.app.AvocadoApp(external_plugins=[p]) app.run() and here's a MyPlugin example: import sys import avocado from avocado.plugins import plugin class MyPlugin(plugin.Plugin): def configure(self, parser): myparser = parser.add_parser('hello', help='Hello World!') myparser.set_defaults(func=self.hello) self.enabled = True def hello(self, args): print 'Hello World!', args And how to execute: python myplugin.py hello Hello World! Namespace(func=<bound method MyPlugin.hello of <__main__.MyPlugin object at 0x1574f90>>, log_level='', logdir='', verbose=False) Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
- 21 3月, 2014 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 15 3月, 2014 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Ignore files from git and fix script name in setup.py.
-
由 Lucas Meneghel Rodrigues 提交于
Make sysinfo into a runner Plugin.
-
- 14 3月, 2014 2 次提交
-
-
由 Rudá Moura 提交于
Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
Make sysinfo into a runner Plugin, rename application from AvocadoRunnerApp to AvocadoApp, due all options are now implemented as plugins and Avocado is now a core application. Signed-off-by: NRuda Moura <rmoura@redhat.com>
-