On 2013/12/10 1:38, Ranjib Dey wrote: > did you try running ./configure script inside the parent directory (i.e. repo > root). > i am able to run `make check` inside the src folder after running the > ./configure > script in the parent directory.
Yes, I did. And when I run 'make check' inside the src folder, it just make lxc folder, for the other folders(including tests), still do nothing. ... gcc -I../../src -DLXCROOTFSMOUNT=\"/usr/local/lib/lxc/rootfs\" -DLXCPATH=\"/usr/local/var/lib/lxc\" -DLXC_GLOBAL_CONF=\"/usr/local/etc/lxc/lxc.conf\" -DLXCINITDIR=\"/usr/local/libexec\" -DLXCTEMPLATEDIR=\"/usr/local/share/lxc/templates\" -DLOGPATH=\"/usr/local/var/log/lxc\" -DLXC_DEFAULT_CONFIG=\"/usr/local/etc/lxc/default.conf\" -DLXC_USERNIC_DB=\"/run/lxc/nics\" -DLXC_USERNIC_CONF=\"/usr/local/etc/lxc/lxc-usernet\" -DDEFAULT_CGROUP_PATTERN=\"/lxc/%n\" -DHAVE_APPARMOR -g -O2 -Wall -Werror -Wl,-E -Wl,-rpath -Wl,/usr/local/lib -o lxc-init lxc_init.o liblxc.so -lcap -lapparmor -lrt -lutil -lapparmor make[1]: Leaving directory `/home/h00177757/lxc-dev/src/lxc' Making check in tests make[1]: Entering directory `/home/h00177757/lxc-dev/src/tests' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/home/h00177757/lxc-dev/src/tests' Making check in python-lxc make[1]: Entering directory `/home/h00177757/lxc-dev/src/python-lxc' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/home/h00177757/lxc-dev/src/python-lxc' Making check in lua-lxc ... > > > On Sun, Dec 8, 2013 at 11:25 PM, Qiang Huang <[email protected] > <mailto:[email protected]>> wrote: > > Hi list, > > 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. > > I tried: > # cd src/tests > # make check > make: Nothing to be done for `check'. > > What do I miss? I think there should be a way we can build > and run tests automatically, right? > > > > _______________________________________________ > lxc-devel mailing list > [email protected] > <mailto:[email protected]> > http://lists.linuxcontainers.org/listinfo/lxc-devel > > > > > _______________________________________________ > lxc-devel mailing list > [email protected] > http://lists.linuxcontainers.org/listinfo/lxc-devel > _______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
