[LTP] LTP for Android

Sagar Padhye
2013-03-21T07:10:41Z

[-- Attachment #1.1: Type: text/plain, Size: 1061 bytes --]

Hi,
I am trying to test android kernel with LTP without any success.
What I have tried:
environment setup:
ARCH=arm-eabi
CROSS_COMPILER=/home/sagar/mytoolchain/bin/arm-linux-androideabi
NDK_ROOT=/home/sagar/android-ndk-r8d
CC=$CROSS_COMPILER-gcc
LD=$CROSS_COMPILER-ld
AR=$CROSS_COMPILER-ar
STRIP=$CROSS_COMPILER-strip
RANLIB=$CROSS_COMPILER-ranlib
CFLAGS="-I/home/sagar/android-ndk-r8d/platforms/android-14/arch-arm/usr/include
-D_ANDROID -nostdlib -DDEV_BSIZE=512"
LDFLAGS="-Wl,-rpath-link=/home/sagar/android-ndk-r8d/platforms/android-14/arch-arm/usr/lib
-L/home/sagar/android-ndk-r8d/platforms/android-14/arch-arm/usr/lib"
LIBS="-lc"

when I do "./configure --host=arm-eabi" & "make", I get
parse_opts.c:76:24: fatal error: sys/signal.h: No such file or directory

From mailing lists, it looks like somebody has already submitted a patch to
support Android 2.2, I don't know if it was accepted. Does anybody know if
LTP supports Android (hopefully 4.x, Which I am trying to test)? If yes,
what are steps to compile & run LTP?

--
Thanks and Regards,
Sagar

[-- Attachment #1.2: Type: text/html, Size: 1461 bytes --]

[-- Attachment #2: Type: text/plain, Size: 351 bytes --]

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal