Mercurial > archived > louis > perso > liblxcstats
comparison probes/tests/CMakeLists.txt @ 0:6ce4443e7545
Add the draft of an API to collect statistics on LXC
author | Louis Opter <kalessin@kalessin.fr> |
---|---|
date | Wed, 29 Dec 2010 23:28:14 +0100 |
parents | |
children | 6f2e13f5fcfd |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6ce4443e7545 |
---|---|
1 MACRO(ADD_LXCSTATS_PROBE_TEST TEST) | |
2 ADD_EXECUTABLE(test_probe_${TEST} ${TEST}.c) | |
3 TARGET_LINK_LIBRARIES(test_probe_${TEST} lxcstats) | |
4 ADD_TEST(probe_${TEST} test_probe_${TEST}) | |
5 ENDMACRO(ADD_LXCSTATS_PROBE_TEST TEST) | |
6 | |
7 SET(TESTS | |
8 cpuacct | |
9 ) | |
10 | |
11 FOREACH(I ${TESTS}) | |
12 ADD_LXCSTATS_PROBE_TEST(${I}) | |
13 ENDFOREACH(I ${TESTS}) |