Skip to contentSkip to conversation

Need help to run LTP on Android

LTP Raju 2 participants 2 messages Nov 21, 2014 – Nov 26, 2014

lore
Share & tools
lore

Raju

author
#0 lore raw

Hello All,

I have build the LTP source code using the following steps.

Set all the env variables to cross compile with tool chain.

After that used the command to configure.

./configure AR=arm-none-linux-gnueabi-ar CC=arm-none-linux-gnueabi-gcc RANLIB=arm-none-linux-gnueabi-ranlib STRIP=arm-none-linux-gnueabi-strip --host=arm-linux --target=arm-linux

Then did ,

make all

make install

Then I copied all the installed in output directory via adb push to /data/ltp folder.

Later to execute the LTP we issued command.

export PATH=/data/ltp:$PATH

export PATH=/data/ltp/testcases/bin:$PATH

export PATH=/data/ltp/runtest:$PATH

sh ./runltp -p -l /data/ltp/result.log -o /data/ltp/result-output.log -d /data/ltp/tmp

When I execute it , it gives me error.

root@kanas:/data/ltp # ./runltp -p -l test.log -o test.log -d /data/ltp/tmp

./runltp -p -l test.log -o test.log -d /data/ltp/tmp

./runltp[999]: basename: not found

root@kanas:/data/ltp #

Can u please suggest me if if I am doing anything wrong that I am getting this error. Request your help. If you need any more info please respond this this e-mail.

Regards,

Raju

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw

Hi!

Quoted 5 lines

root@kanas:/data/ltp # ./runltp -p -l test.log -o test.log -d /data/ltp/tmp

./runltp -p -l test.log -o test.log -d /data/ltp/tmp

./runltp[999]: basename: not found

This error tells you that basename command was not found by your shell.

Likely you are missing some package.

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list