Closed Bug 1172458 Opened 11 years ago Closed 11 years ago

Running bin/gaia-test results in build error related to performance_testing_helper.js

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gerard-majax, Unassigned)

Details

(Keywords: regression)

This is something Johan already ran into, it happens to me as well, so better to file it ... Exception: Error: Using inexistent shared JS file: performance_testing_helper.js from: system.gaiamobile.org WebappShared.prototype.pushJS@resource://gre/modules/commonjs/toolkit/loader.js -> file:///home/alex/codaz/Mozilla/b2g/gaia/build/webapp-shared.js:110:1 WebappShared.prototype.pushFileByType@resource://gre/modules/commonjs/toolkit/loader.js -> file:///home/alex/codaz/Mozilla/b2g/gaia/build/webapp-shared.js:272:9 WebappShared.prototype.filterSharedUsage@resource://gre/modules/commonjs/toolkit/loader.js -> file:///home/alex/codaz/Mozilla/b2g/gaia/build/webapp-shared.js:323:5 WebappShared.prototype.copyShared@resource://gre/modules/commonjs/toolkit/loader.js -> file:///home/alex/codaz/Mozilla/b2g/gaia/build/webapp-shared.js:371:1 WebappShared.prototype.execute@resource://gre/modules/commonjs/toolkit/loader.js -> file:///home/alex/codaz/Mozilla/b2g/gaia/build/webapp-shared.js:394:3 execute/<@resource://gre/modules/commonjs/toolkit/loader.js -> file:///home/alex/codaz/Mozilla/b2g/gaia/build/webapp-shared.js:400:1 execute@resource://gre/modules/commonjs/toolkit/loader.js -> file:///home/alex/codaz/Mozilla/b2g/gaia/build/webapp-shared.js:399:3 execute@resource://gre/modules/commonjs/toolkit/loader.js -> file:///home/alex/codaz/Mozilla/b2g/gaia/build/pre-app.js:22:3 NodeHelper/this.require@resource://gre/modules/commonjs/toolkit/loader.js -> file:///home/alex/codaz/Mozilla/b2g/gaia/build/utils-xpc.js:1273:14 exports.execute@resource://gre/modules/commonjs/toolkit/loader.js -> file:///home/alex/codaz/Mozilla/b2g/gaia/build/app.js:129:3 CommonjsRunner.prototype.run@/home/alex/codaz/Mozilla/b2g/gaia/build/xpcshell-commonjs.js:168:5 run@/home/alex/codaz/Mozilla/b2g/gaia/build/xpcshell-commonjs.js:183:3 @-e:1:1 Makefile:576: recipe for target 'app' failed make: *** [app] Error 1
Flags: needinfo?(rchien)
Flags: needinfo?(gaye)
Johan, looks like others can run into this ...
Flags: needinfo?(jlorenzo)
> apps/system/camera/index.html: <script defer src="/shared/js/performance_testing_helper.js"></script>
> $ git blame apps/system/camera/index.html > fatal: no such path 'apps/system/camera/index.html' in HEAD
Removing the left over apps/system/camera/index.html fixes for me too.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
I guess you're switching branches, right? system/camera/index.html used performance_testing_helper.js which does not exist in latest tree, and camera is probably listed in .gitignore, so it won't be removed if you switch branch to latest. That's why it failed.
Flags: needinfo?(rchien)
Flags: needinfo?(gaye)
Flags: needinfo?(jlorenzo)
Thanks for filing it.
You need to log in before you can comment on or make changes to this bug.