[libvirt] [PATCH] Allow test cases to be run selectively

Laine Stump laine at laine.org
Thu Jul 18 15:57:25 UTC 2013


On 07/18/2013 10:04 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> When debugging a failing test with many test cases, it is useful
> to be able to skip most tests. Introducing a new environment
> variable VIR_TEST_RANGE=N-M enables execution of only the test
> cases numbered N-M inclusive, starting from 1.
>
> For example, to skip all the cgroup tests except 2
>
> $ VIR_TEST_RANGE=2-3 VIR_TEST_DEBUG=1 ./vircgrouptest

ACK. Nice knob!





More information about the libvir-list mailing list