Mobile/Fennec Xpcshell: Difference between revisions

Line 63: Line 63:
== TODO's ==  
== TODO's ==  


NOTE: this runs 593 tests where there are 548 tests which run on Firefox (in release only, debug core dumps on assertions at test 223).  The bulk of the difference is that on Fennec we appear to be running the "test_extensionmanager/unit/addons" directory where we don't do this on Firefox.
NOTE: this runs 525 tests where there are 548 tests which run on Firefox (in release only, debug core dumps on assertions at test 223).  It appears we are not running on Fennec:
test_privatebrowsing/unit/* (6 tests)
test_browser_places/unit/* (6 tests)
test_browser_feeds/unit/* (1 test)
*need to find the other 10 missing tests still


Of the 255 failures found, we have these issues:


72 - failures where test_extensionmanager/unit/addons is involved.  Generates a:
Of the 39 failures found, we have these issues:
* ReferenceError: run_test is not defined


123 - related to topsrcdir/testing/xpcshell/head.js: do_import_script and do_get_file with these errors:
* TypeError: environment.NATIVE_TOPSRCDIR is undefined
* TypeError: scriptPath is undefined
* ReferenceError: nsHttpServer is not defined
* ReferenceError: Cc is not defined


16 - test_places/autocomplete has various errors.  It appears to be related to Components.utils.import("resource://gre/modules/XPCOMUtils.jsm") or something that is not allowing Ci, gPages, and prefs to be defined.
16 - test_places/autocomplete has various errors.  It appears to be related to Components.utils.import("resource://gre/modules/XPCOMUtils.jsm") or something that is not allowing Ci, gPages, and prefs to be defined.
Line 80: Line 77:
4 - gPrefs depends on test_extensionmanager/Unit/head_extensionmanager.js#266 to have the path _tests/xpcshell-simple/test_extensionmanager
4 - gPrefs depends on test_extensionmanager/Unit/head_extensionmanager.js#266 to have the path _tests/xpcshell-simple/test_extensionmanager


4 - test_update/*


40 other failures to look into
5 - test_satchel/*


 
10 other failures to look into
more notes:
* when run on linux desktop from objdir, I set NATIVE_TOPSRCDIR AND TOPSRCDIR env variables and I get it down to 105 failures.  of which 72 are related to addons.
Confirmed users
3,376

edits