running mochitests in B2G desktop build
Hi all,
i followed the directions at https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Using_the_B2G_desktop_client
and https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Platform/Testing/Mochitests
to run a mochitest in the B2G desktop build (on linux) for something i'm trying to land that's having issues
on B2G.
i'm hitting this error : JavaScript error: http://mochi.test:8888/tests/content/base/test/test_CSP_inlinestyle.html?autorun=1&closeWhenDone=1&logFile=%2Fhome%2Fimelven%2Fsrc%2Fmozilla-central%2Fobjdir-dbg%2F_tests%2Ftesting%2Fmochites...
B2G desktop mochitests now runningJust an fyi, b2g desktop mochitests are now running on all
mozilla-central based branches (this does not include mozilla-b2g26,
though if this is desired, I can look into it). They are running the
same set of mochitests as the b2g emulators, minus a few that had b2g
desktop specific issues (see bug 931116 for a list of which ones).
Please file test issues as blocking bugs to bug 931116.
The biggest outstanding issue is the inability to run a single test via
mach (see bug 927889 for more details or if you'd like to help investigate).
Thanks,
Andrew
...
Is there *anyone* in Oslo who can run mochitests on b2g desktop??If so, please talk to me, I can't get this to work.
On Tuesday, September 10, 2013 7:42:23 PM UTC+2, Jan Jongboom wrote:
> If so, please talk to me, I can't get this to work.
(_virtualenv)52:mochitest janjongboom$ source ../../../_virtualenv/bin/acti=
vate && python runtestsb2g.py --desktop --console-level INFO --profile ~/re=
pos/gaia/profile --test-path ./obj-b2g/_tests/testing/mochitest/tests/dom/p=
ermission/tests/test_keyboard.html --app ../../../dist/B2G.app/Contents/Ma=
cOS/b2g
INFO | automation.py | Launching: /Users/janjongboom/repos/mozilla-central-=
...
|mach mochitest-remote| and |mach mochitest-b2g-desktop| replaced by |mach mochitest-plain|Bug 1046992 (just landed on inbound) removes the `mochitest-remote` and
`mochitest-b2g-desktop` mach commands.
Instead, simply run |mach mochitest-plain| like you would on desktop.
The `mochitest-plain` command will detect what platform you have built
and do the right thing.
In the near future, I'll also be removing all of the suite specific (e.g
|mach mochitest-chrome|) commands. The |mach mochitest| command will be
the single entry point into the harness, no matter what flavor or
platform you are using.
On a related note, |mach mochitest-chrome| is also now available...
B2G mochitests now use mochitest.ini manifests instead of b2g.jsonFor awhile now we've been using these hacky JSON based manifests to
enable and disable mochitests on B2G. Now, thanks to the work of an
awesome contributor (vaibhav1994), all the B2G mochitests are using the
mochitest.ini format. This allows us to annotate tests with metadata,
like whether the test should be skipped or not.
What does this mean for you? If you are enabling/disabling, or adding a
new mochitest, you now need to edit the 'mochitest.ini' file which lives
in the same directory as your test file.
For example, if I want to disable
dom/media/tests/mochit...
B2G build creating "desktop" buildI'm building gecko on OSX 10.9.5 for a flame. My workflow is:
../config.sh flame-kk
../build.sh gecko
../flash.sh gecko
The build succeeds yet the flame doesn't boot up after I flash. I noticed t=
he build produces a 'b2g-bin' file dist/b2g. My understanding is this shoul=
d only be produced for desktop builds. I believe the fact that this file is=
produced is the source of the startup errors.
My .userconfig is:
export MOZ_PROFILING=3D1
export DEVICE_DEBUG=3D1
export GECKO_PATH=3D/Volumes/firefoxos/sandbox/mozilla/B2G/gecko
Any help/hints are appreciated....
B2G Desktop BuildsHey All,
Quick reminder if your using b2g-desktop you likely want to use the version
build from our b2g-18 branch:
http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-b2g18/
- James
...
Retiring B2G Desktop buildsHello dev-l10n,
In bug https://bugzil.la/1132225 we're discussing the future of B2G Desktop
builds which are currently available from [1].
I wonder how many of you still use B2G Desktop builds for localization
testing? Have you migrated to using Firefox OS Simulator and/or the
Firefox WebIDE? If you do use B2G Desktop, do you use it with the bundled
Gaia profile or do you launch it with your own custom-built profile from
https://github.com/mozilla-b2g/gaia/ ?
Feel free to let us know. It looks like we might retire B2G Desktop builds
soon but there are many better alternat...
Trying to build B2G desktop--047d7b3a82149e9eed04f8573f1f
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hi ALL,
I'm trying to run b2g desktop, so I followed these instructions [1].
But when I tried to run it, I realize that does not have b2g-bin
executable, only b2g on directory
/B2GDesktop/build/dist/B2G.app/Contents/MacOS/
Nonetheless I tried to run the follow:
../b2g ~/B2GDesktop/gaia/profile-debug/
I got the output:
1398953332968 Marionette INFO marionette enabled via build flag
and pref
1398953333013 Marionette INFO marionette-se...
Multilocale desktop builds of B2G!Happy end of the year, localizers of Gaia and B2G!
Gecko has branched off of version 18 and we're using it as a stable base
for the desktop builds. Combine this with the fact that we have the
proper infrastructure in place to build fully localized desktop builds
of B2G, and voilà! We now have working, fully-localizable desktop
builds of B2G available in almost 50 locales!
Download them from here:
http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-b2g18/
You should get one of the b2g-18.0.multi.*-localizer.* builds.
b2g-18.0.multi.linux-i686...
running B2G mochitests on tryWe are now running a small set of mochitests on B2G emulators on all
trunk trees. We'll be expanding this set of tests as quickly as we can.
Meanwhile, if you'd like to run tests through try, here's how you can do it:
- Use a platform field of ics_armv7a_gecko
- Use a build type of 'o' (opt)
- If you want to change the set of mochitests that are run, modify this
file:
http://mxr.mozilla.org/mozilla-central/source/testing/mochitest/b2g.json
A complete try push syntax might look like:
try: -b o -p ics_armv7a_gecko -t none -u mochitests
Regards,
Jona...
b2g desktop builds availablehi;
B2G phones are scarce, so its hard for QA/L10n/community people to be
able to run B2G. To help, we now generate b2g desktop builds every
night, which you can use as follows:
1) For your win32/linux/osx computer, download and install a nightly
"B2G Desktop" build from:
http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/
2) Remember that you have to create a Gaia profile on your desktop
machine. Otherwise, you will only see a black window when you start
running "B2G Desktop". Setup instructions to create a Gaia profile are
here: https://wiki.mozilla...
Gaia for B2G desktop buildHi,
I'm testing Gaia in B2G desktop build for Mac and I have some errors.
If I exec "./b2g-bin -profile gaia/profile", I get this error: " Profile =
Missing. Your B2G profile cannot be loaded. It may be missing or =
inaccessible."
It is not problem because I copy the gaia folder inside and exec b2g, =
but I can't add additional options.
And when I run "my" gaia, the icons is out of position, more highs, and =
the fonts size looks higher. Even if I write "HIDPI=3D1" before make.
Thanks !
Un saludo!
----
C=E9sar Mart=EDn Cri...
[signin][b2g] - B2G->dev mergeWe have been discussing forceAuthentication, but there are other B2G
features that must be merged into dev. So that JedP and I can
prioritize, bisect, and tackle, can we get a list of features and any
dependencies they have on other features?
Off the top of my head I know of:
* forceAuthentication
* forceIssuer
* allowUnverified
* special TOS/PP handling - in B2G, TOS/PP links must be opened in an
IFRAME instead of in a new tab.
* A way of indicating experimental features
Are there other new features that I am missing?
We are actively discussing forceAuthentication, but t...