[android-porting] Re: Error in running DVM test application on linux-x86

2009-07-07 Thread fadden
On Jul 6, 11:05 pm, Sivan wrote: > +error: device not found By default, the tests are run on the emulator or an attached device. Do you have these? If so, what does "adb devices" show? --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.

[android-porting] Re: Error in running DVM test application on linux-x86

2009-07-06 Thread Sivan
Hi Andy, After setting the "dx" path I am getting the below error [r...@localhost tests]# ./run-test 001 /home/myandroid/dalvik/tests/001-nop: running... /home/myandroid/dalvik/tests/001-nop: succeeded! [r...@localhost tests]# ./run-test 002 /home/myandroid/dalvik/tests/002-sleep: running... /ho

[android-porting] Re: Error in running DVM test application on linux-x86

2009-07-06 Thread fadden
On Jul 6, 5:30 am, Sivan wrote: > I am trying to run the DVM test application on linux-x86 given in the > myandroid/dalvik/tests using the command ./tests/run-test 002 [...] > +./build: line 27: dx: command not found > +build exit status: 127 Make sure "dx" is in your shell search path. - Andy

[android-porting] Re: Error in running DVM test application on linux-x86

2009-07-06 Thread Avtar Singh
That builds for the ARM target by default. You have to do some settings before running make for x86. Check the following thread: http://groups.google.com/group/android-porting/browse_thread/thread/ab553116dbc960da/d6d21a66443d2758?lnk=gst&q=x86+desktop+build#d6d21a66443d2758 However, note that i

[android-porting] Re: Error in running DVM test application on linux-x86

2009-07-06 Thread Sivan
Hi Avtar, It contain only generic folder. I have downloaded the android src code using repo init -u git://android.git.kernel.org/platform/manifest.git and repo sync to my 2.6.25-14.fc9.i686 linux pc. and run 'make' command to build the code. Is I am missing any thing above to run the DVM tests

[android-porting] Re: Error in running DVM test application on linux-x86

2009-07-06 Thread Avtar Singh
Hi Sivan, >> I am trying to run the DVM test application on linux-x86 given in the >> myandroid/dalvik/tests using the command ./tests/run-test 002 Have you built for x86 or arm? What is contained in your out/target/product folder? --~--~-~--~~~---~--~~ unsubscrib