[lxc-devel] How to run autotests for LXC?

Qiang Huang h.huangqiang at huawei.com
Tue Dec 10 11:30:26 UTC 2013


On 2013/12/10 18:54, Nikola Kotur wrote:
> On Mon, 9 Dec 2013 15:25:18 +0800
> Qiang Huang <h.huangqiang at huawei.com> wrote:
> 
>> I was trying to play with the test code in LXC, which is
>> src/tests fold to be specific. But I just didn't find any
>> instructions.
> 
> First, enable the tests with the configure script:
> 
>   ./configure --enable-tests

Oh, I missed this '--enable-tests', thanks Nikola.

Now I have these lxc-test-xxx files in src/tests folder, do I
have to run them one by one, or is there any automatic way?

> 
> Then, build them:
> 
>   make check
> 
> I am not sure how up-to-date are they, though.
> 
> 
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
> 




More information about the lxc-devel mailing list