Closed
Bug 948014
Opened 11 years ago
Closed 11 years ago
Unit tests won't run under B2G Desktop
Categories
(Firefox OS Graveyard :: Gaia::TestAgent, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 929172
People
(Reporter: benfrancis, Assigned: julienw)
References
Details
STR: * Download a nightly build of B2G Desktop from http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central/ * Follow the instructions on the Gaia README to run unit tests https://github.com/mozilla-b2g/gaia/blob/master/README.md Expected: Unit tests run Actual: Says "Running all tests" and then there's no further output. Tested on 32 and 64bit Linux builds.
Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(jlal)
Comment 1•11 years ago
|
||
This is probably the same problem as bug 929172.
Comment 2•11 years ago
|
||
Actually, if the tests aren't running at all then your profile is probably not built right. Make sure you use this: DESKTOP=0 DEBUG=1 NOFTU=1 make See if that helps. If it starts running tests, however, I would not be surprised if you hit bug 929172.
Comment 3•11 years ago
|
||
I confirm this is not working for me either... I don't see a CSP error though not sure what the root cause is yet.
Flags: needinfo?(jlal)
Reporter | ||
Comment 4•11 years ago
|
||
(In reply to Ben Kelly [:bkelly] from comment #2) > Actually, if the tests aren't running at all then your profile is probably > not built right. Make sure you use this: > > DESKTOP=0 DEBUG=1 NOFTU=1 make Unfortunately if I set DESKTOP=0 there's a problem with touch events and I can't unlock the lock screen. If I disable the lockscreen I can't launch apps. If I try to search for the app to open it a different way I get a dialog I can't close (probaably the keyboard first time use dialog).
Assignee | ||
Comment 5•11 years ago
|
||
Bug 943460 fixed an issue with CSP in iframes, I wonder if this could be related here.
Comment 6•11 years ago
|
||
Julien, any idea what can move this forward? It's an important developer hygiene piece that we shouldn't leave broken.
Flags: needinfo?(felash)
Updated•11 years ago
|
Blocks: fxos-dev-papercuts
Assignee | ||
Comment 7•11 years ago
|
||
I admit I never run unit tests in B2G Desktop, but this week is my test-agent week so I can give it a try ;) The first thing that comes to my mind is to do a bisection ;) So the really first step is to find one build where that works as expected. Ben, do you know a build where this worked?
Flags: needinfo?(felash) → needinfo?(bkelly)
Comment 8•11 years ago
|
||
(In reply to Julien Wajsberg [:julienw] from comment #7) > So the really first step is to find one build where that works as expected. > Ben, do you know a build where this worked? Last I knew they were working was prior to this commit: https://hg.mozilla.org/mozilla-central/rev/ac2eb4f684ad You could start there. Note, however, it sounds like I was running into a different problem than Ben was. I think there are multiple issues going on. So there is probably bustage later than that.
Flags: needinfo?(bkelly)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → felash
Assignee | ||
Comment 9•11 years ago
|
||
I could make them run while working on bug 929172 so I'm duping.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•