[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



On 07/18/2013 10:04 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange 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!



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]