Hi Weiliang ,
I would try something like following,
% tools/run-tests.py --arch-and-mode=android_arm.release --outdir=out.gn 
cctest/test-run-machops/RunInt32Add

You can replace the test (last argument on command line) with the one you need.

From: [email protected] [mailto:[email protected]] On Behalf Of 
Weiliang Lin
Sent: Sunday, August 6, 2017 11:21 PM
To: v8-dev <[email protected]>
Subject: [v8-dev] How to run tests on Android devices?

Hi

After building v8 with GN, I tried to run v8 tests with run-tests.py script on 
android devices as below

  tools/run-tests.py --outdir=out.gn/android_arm.release. 

But it fails to run with the error message "error exec format". It seems to run 
the test on the host OS rather that the attached android device.  Anybody know 
how to fix it?


Thanks
-Weiliang

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to