When doing "./configure && make", I found the controller cases couldn't be 
compiled.

Because the config.mk file included into testcases/kernel/Makefile lost the 
definition
of LTP_CHECK_CGROUPSTATS_HEADER, so ltp never enters the controller directory 
to do "make".

And config.mk file is created by config.mk.in file in fact. In config.mk.in,
LTP_CHECK_CGROUPSTATS_HEADER is lost, it leads to the wrong config.mk.
Add LTP_CHECK_CGROUPSTATS_HEADER in config.mk.in to fix the problem.


Signed-off-by: Miao Xie <[email protected]>
Signed-off-by: Shan Wei <[email protected]>
---
 config.mk.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/config.mk.in b/config.mk.in
index 0fcb80a..64e3847 100644
--- a/config.mk.in
+++ b/config.mk.in
@@ -9,3 +9,5 @@ LDFLAGS = @LDFLAGS@
 AIO_LIBS = @AIO_LIBS@
 SELINUX_LIBS = @SELINUX_LIBS@
 CRYPTO_LIB = @CRYPTO_LIB@
+
+LTP_CHECK_CGROUPSTATS_HEADER = @LTP_CHECK_CGROUPSTATS_HEADER@
-- 
1.5.4.rc3







------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to