Le 13/08/2015 03:57, Greg Weng a écrit : > (send to dev-b2g since it looks like a Mulet issue, not Gaia itself) > > Hi all,
Hello again > > I tried to reproduce some intermittent bugs on my local console > (Ubuntu 14.04), and have found that even with the fresh Ubuntu, Gaia, > npm + nodejs, and Mulet, I always got a > > " ReferenceError: Intl is not defined" So I just rebuilt a mulet from master and I clearly do not get this error. > > error. I know it's a recent change to use Intl API instead of l10n > API, and it works well on device and b2g-desktop (tried to run the > test with that as a comparison). So I wonder why I got that. Moreover, > after several tries, I've found that it also works well on Mac, with > the same command that I was suggested yesterday: > > RUNTIME=<mulet>/firefox > TEST_FILES=<gaia>/apps/system/test/marionette/lockscreen_media_playback_test.js > make test-integration-test FYI I had to doa few things: Make sure test-integration target do not redownloads a B2G Desktop: - mkdir b2g; touch -c b2g Make sure NPM stuff is okay: - npm install - npm run refresh Then after this I could successfully run the tests with: PATH=./node_modules/.bin/:$PATH RUNTIME=../gecko/obj-mulet/dist/firefox/firefox TEST_FILES=apps/system/test/marionette/lockscreen_media_playback_test.js make test-integration And those succeeded but took quite some time; so I'm betting a race that gets exposed on taskcluster runs because it's slower to run there? _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
