You're missing the --busybox parameter. Without busybox, the harness
has to transfer each file individually, which takes a long time.
You can download busybox from e.g.,
http://busybox.net/downloads/binaries/1.19.0/busybox-armv6l
Jonathan
On 10/3/2014 4:18 AM, Fernando Jiménez Moreno wrote:
Hi,
what's the best way to run XPCShell tests on the B2G emulator?
In the past I managed to workaround the need of running these tests
locally. But now I really have no other choice and I am having a
really hard time trying to run them locally. I am following the guide
at [1], but I found several issues, like [2] not existing anymore for
instance.
After struggling to install all the dependencies I think I managed to
trigger the XPCShell tests machinery with the following command:
runtestsb2g.py
--adbpath=/ssd/dev/mozilla/B2G/out/host/darwin-x86/bin/adb
--b2gpath=/ssd/dev/mozilla/B2G --emulator=arm
--manifest=/ssd/dev/mozilla/objdirs/objdir-mozilla-inbound-emulator-kk/dist/test-stage/xpcshell/tests/xpcshell_b2g.ini
--use-device-libs --test-path=services/mobileid/tests/xpcshell
It seems that test-path is not working as it is currently pushing all
the tests to the emulator. I am waiting for almost one hour now and it
is still pushing stuff...
I'd like to know if there's an easier and quicker way to run a single
XPCShell tests on a B2G emulator.
Thanks,
/ Fernando
[1]
https://developer.mozilla.org/en-US/Firefox_OS/Platform/Automated_testing/XPCShell#Running_xpcshell_tests_with_a_downloaded_emulator
[2]
http://people.mozilla.org/~ahalberstadt/runxpcshell-requirements.txt
<http://people.mozilla.org/%7Eahalberstadt/runxpcshell-requirements.txt>
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g