Closed Bug 773028 Opened 12 years ago Closed 10 years ago

Test results are not displayed unless `-v` is used when testing Fennec on Android

Categories

(Add-on SDK Graveyard :: General, defect, P2)

All
macOS
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: evold, Unassigned)

References

Details

      No description provided.
Priority: -- → P2
(jetpack-sdk)evold-10775:addon-kit evold$ cfx test -a fennec-on-device -b ~/android/android-sdk-macosx/platform-tools/adb --mobile-app fennec --force-mobile -f self
Launching mobile application with intent name org.mozilla.fennec
Pushing the addon to your device
Starting: Intent { act=android.activity.MAIN cmp=org.mozilla.fennec/.App (has extras) }
Program terminated successfully.
Summary: Test results are not displayed unless `-v` is used when testing on Fennec → Test results are not displayed unless `-v` is used when testing Fennec on Android
No longer blocks: 787352
Maybe we can just make -v the default for Fennec as a quick fix?
That'd work -- I'm not really too concerned about this as it works just fine with `-v`... something maybe to tackle after all Fennec tests are passing and able to be CI'd
Not sure if this is related but "cfx run" with fennec currently produces no useful output without "-v" for me - should I file a separate bug?

> cfx run -a fennec-on-device -b "C:\Users\Ben\AppData\Local\Android\android-sdk\platform-tools\adb.exe" --mobile-app fennec --force-mobile

Running cfx for attached Android device...
Launching mobile application with intent name org.mozilla.fennec
Pushing the addon to your device
Starting: Intent { act=android.activity.MAIN cmp=org.mozilla.fennec/.App (has extras) }

[nothing else is printed at all]

> cfx run -v -a fennec-on-device -b "C:\Users\Ben\AppData\Local\Android\android-sdk\platform-tools\adb.exe" --mobile-app fennec --force-mobile

Running cfx for attached Android device...
Launching mobile application with intent name org.mozilla.fennec
Pushing the addon to your device
Starting: Intent { act=android.activity.MAIN cmp=org.mozilla.fennec/.App (has extras) }
--------- beginning of /dev/log/main
--------- beginning of /dev/log/system
Could not read chrome manifest 'file:///data/data/org.mozilla.fennec/chrome.manifest'.
OpenGL compositor Initialized Succesfully.
Version: OpenGL ES 2.0
Vendor: ARM
Renderer: Mali-400 MP
FBO Texture Target: TEXTURE_2D
Adding HealthReport:RequestSnapshot observer.
Sending snapshot message.
main.js starting
console.log: tldr: main.js starting 

You can see that without the -v, the console.log() message at the top of my Add-On is not being displayed
Sorry we won't be releasing any new versions of cfx, jpm is the replacement https://www.npmjs.com/package/jpm
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.