[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-tools] Testing xm
Excellent!Could this be submitted as a patch to the Xen tree? So that we could run a top-level make check and do some basic testing? I know this is something a number of people have been talking about for some time. Regards, Anthony Liguori Dan Smith wrote: Several of us here at IBM have been working on a framework for testing the xen tools, specifically xm. Our goal is to provide a way for developers to _easily_ write tests for new and existing xm commands. We believe that such a test suite will help reduce breakages in the user-facing tools when developers modify xm and/or xend. We would like some feedback from the community on the usefulness of our framework, in hopes that it might be hosted by xensource so that everyone can contribute tests to help harden xm and xend. Details: The framework tests (as well as the support libraries) are written in python, which are executed by the standard automake "make check" facilities. We build a standardized ramdisk that can be used for portable test writing, therefore reducing dependencies on the test host machine*. The framework library provides several abstractions to make common and complex tasks easier for the test writer. For example, we provide a domain and console abstraction that allows a test writer to start a domU and execute arbitrary commands, retrieving the status and output of each. This allows a decent amount of automation for verifying that (for example) "xm sysrq mydomain s" actually sent the sysrq. Tarball snapshot available here: http://static.danplanet.com/xm-test/xm-test-0.1.0.tar.gz * Please read the README before running this on a machine that has other domUs running on it. _______________________________________________ Xen-tools mailing list Xen-tools@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-tools
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |