Commit Graph

158 Commits

Author SHA1 Message Date
Clint Talbert
cc2d4b85a1 Bug 573263 - Refactor remote reftest to work on android, create shared remoteautomation class r=jmaher 2010-06-24 02:32:01 -07:00
Robert Strong
c7a576dbd4 Bug 562795: Fix update tests to ignore application extensions. r=dtownsend 2010-06-18 08:54:22 -07:00
Dave Townsend
e3a4c442e6 Potential bustage fix for update tests, reverting the change to automation.py.in from bug 562795. 2010-06-17 17:26:55 -07:00
Dave Townsend
a9b6d77b43 Bug 562795: Sorting by name in the digest view is case-sensitive for all types of add-ons. r=Unfocused 2010-06-16 20:13:54 -07:00
Jonathan Griffin
2de6f1d18e Bug 570789. Change default websocket server port to 9988, as 9999 is used by something by default on fedora
--HG--
extra : rebase_source : d4e0d05f58ff82ec6d6300d9c3c9e943c07d77ef
2010-06-17 12:00:58 -07:00
Jonathan Griffin
ff0b54f0da Bug 570789. Add WebSocket support to mochitest. r=ted
--HG--
extra : rebase_source : 2e33d054a13824d1a7e527777383820946684c3f
2010-06-16 22:38:55 -07:00
Jesse Ruderman
74ebdc1834 Bug 570730 - followup fix to reset test name if runApp is called twice 2010-06-10 21:28:36 -07:00
Jesse Ruderman
880fe87fe3 Bug 570730 - automation.py should indicate which test crashed (or timed out) for reftests and mochitests. r=ctalbert 2010-06-10 18:46:18 -07:00
Jesse Ruderman
07f916eca5 Turn off mac stack fixer because it's causing random orange (bug 569981) and soon to be replaced
--HG--
extra : rebase_source : 4f731795bdff2ac10034163baba0d5a2ec735b45
2010-06-08 20:55:44 -07:00
Dave Townsend
74b7768710 Backout new add-ons manager due to Ts regression on OSX 10.5
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug404024.xml => toolkit/mozapps/extensions/test/unit/data/test_bug404024.xml
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug417606.xml => toolkit/mozapps/extensions/test/unit/data/test_bug417606.xml
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug424262.xml => toolkit/mozapps/extensions/test/unit/data/test_bug424262.xml
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug404024.js => toolkit/mozapps/extensions/test/unit/test_bug404024.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug417606.js => toolkit/mozapps/extensions/test/unit/test_bug417606.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug424262.js => toolkit/mozapps/extensions/test/unit/test_bug424262.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug449027.js => toolkit/mozapps/extensions/test/unit/test_bug449027.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug455906.js => toolkit/mozapps/extensions/test/unit/test_bug455906.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug514327_3.js => toolkit/mozapps/extensions/test/unit/test_bug514327_3.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js => toolkit/mozapps/extensions/test/unit/test_bug541420.js
2010-05-01 11:04:44 -07:00
Dave Townsend
7dbd88b267 Bug 555486: Add a scope property to add-ons and allow disabling loading add-ons from certain scopes. r=robstrong 2010-04-07 11:08:32 -07:00
Mike Hommey
2c3fe46119 Bug 557750: Remove vestigial code from the old safebrowsing protocol. r=vlad 2010-04-10 15:59:33 -04:00
Jesse Ruderman
6f0e23cf0d Fix bug 539691: disable timeouts when using an interactive debugger, and use a saner timeout-kill method when using a non-interactive debugger. r=ted 2010-03-20 23:08:49 -07:00
Joel Maher
d684032e5d Bug 540617 Process.kill instantiates another Automation() which adds another log handler r=ted 2010-03-18 13:13:33 -07:00
Joel Maher
3d98926580 Bug 543825 use of __import__ needs to be removed from automation.py r=ted 2010-03-18 11:14:14 -07:00
Clint Talbert
1a2a0d923c Backed out changeset 31b7d1785eb2 due to automation.py bustage 2010-03-13 11:57:16 -08:00
Joel Maher
9778c202b6 Bug 543825 remove __import__ from automation.py r=ted 2010-03-13 11:20:27 -08:00
Joel Maher
e1bb662746 Bug 512319 Add options for mochitest to use an external server r=ted 2010-03-13 09:56:24 -08:00
Joel Maher
64cc671e70 Bug 544097 Fixing up leaktest and profileserver tests to run with these changes r=ctalbert p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:37 -08:00
Joel Maher
d050afae06 Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:36 -08:00
Brad Lassey
bb55fe310f backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher
be2af66d17 Bug 512319 Add options for mochitest to use an external server p=jmaher r=ted 2010-03-09 11:54:39 -08:00
Joel Maher
aef3dc32c3 Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Kyle Huey
1d0289c601 Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
cee9b522a0 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Clint Talbert
7ffd9496bc Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box 2010-03-07 17:34:23 -08:00
Joel Maher
ef6c5fda3d Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte 2010-03-07 16:08:05 -08:00
Karl Tomlinson
ac0dd4cca9 Use SIGABRT to trigger breakpad in hangs on UNIX to make these easier to distinguish from SIGSEGV crashes rs=ted no bug
--HG--
extra : rebase_source : 6fad8dba8c062f3f0bf54fb29e0f1ae64d0bec0b
2010-02-25 15:05:48 -08:00
Doug Turner
99bbb9251a Backed out Bug 489813 / changeset 0542680c6f74 2010-02-23 23:11:18 -08:00
Doug Turner
8191486eee Bug 489813 - fire geolocation timeout error if the provider fails to response after initial response. r=olli
--HG--
extra : rebase_source : 03c08ca4f017302e8ae2e63cdb844c62f01c234e
2010-02-23 20:27:27 -08:00
Jesse Ruderman
8dd58baaf8 Bug 539516 - Switch automation.py to use the new python stack fixer. r=ted
--HG--
rename : tools/rb/fix-macosx-stack.py => tools/rb/fix_macosx_stack.py
2010-02-21 13:03:20 -08:00
Daniel Holbert
7f88cb2313 Backed out changeset 8006ad2d0c06 (tests for bug 542263), since its test 'test_GCrace.html' failed on OSX in its first cycle. 2010-02-02 18:57:15 -08:00
Benjamin Smedberg
49079e3a39 Testcase for bug 542263 - crash at NPObjWrapper_NewResolve or various other places 2010-02-02 17:18:41 -08:00
Benjamin Smedberg
ef77036adb Fix typo in error-handling case that we rarely hit, r=trivial
--HG--
extra : rebase_source : a6172b6b004f71fd14f818eb5da56dc04f98b46a
2010-01-26 17:46:47 -05:00
Jonathan Griffin
f5408fbb58 Bug 540369. Fix unit test hang detection on Windows. r=ted
--HG--
extra : rebase_source : 9e9c8f45f61585ac0bb3f08d873289003d95c14d
2010-01-25 12:37:58 -08:00
Jesse Ruderman
bb44d4d4df Fix bustage from rev 0aeedccc0125 (bug 530475) when running tests with maxTime. 2010-01-19 15:47:57 -08:00
Joel Maher
c606caf24b Bug 530475 - convert test harness python code to classes additional refactoring for automation.py and runtests.py p=jmaher r=ted 2010-01-19 11:45:04 -08:00
Joel Maher
fe0f0b0ff6 Bug 530475 - Convert testharness python code to classes for future integration with mobile framework p=jmaher r=ted 2010-01-15 09:22:54 -08:00
Benjamin Smedberg
576026672e Bug 539290 - Test harness should look for minidumps from child (plugin) processes but not turn the tree orange automatically, r=ted
--HG--
extra : rebase_source : abc65388958859668b63342c046985e1e4083012
2010-01-12 16:53:10 -05:00
Clint Talbert
a8699cf98f Orange on Bd builds: Backed out changeset 745af1f3dbf5 2010-01-13 14:44:49 -08:00
Joel Maher
37b4f8d10a Bug 530475, convert test harness python code to classes for future integration with mobile framework. r=ted patch=jmaher 2010-01-13 13:53:26 -08:00
Benjamin Smedberg
19f2d945a4 Import ctypes.wintypes explicitly to avoid a python exception when child processes get hung. 2010-01-08 15:52:37 -05:00
Neil Rashbrook
a711f8a29e Bug 525057 'make clean' deletes automationutils.py r=ted 2010-01-11 23:55:51 +00:00
Clint Talbert
1acc74d9c9 Backed out changeset e67e79969232 due to orange on debug mochitests 2010-01-07 19:57:02 -06:00
Joel Maher
f1b69370ac Bug 530475 - Refactoring test harnesses to classes for easier reuse for mobile testing p=jmaher r=ted 2010-01-07 12:47:19 -06:00
Jesse Ruderman
449c044e61 Bug 532184: add optional maxTime argument to runApp. r=ted 2010-01-06 16:45:46 -08:00
Clint Talbert
4c1d49b91d Backed out changeset 85cd0f297421 - causing orange on leak bloat and linux mochitests 2010-01-06 16:03:29 -06:00
Joel Maher
4d4376e23a Bug 530475 - convert all python test harnesses to classes for easier reuse, patch=jmaher, r=ted 2010-01-06 12:01:18 -06:00
Benjamin Smedberg
b916205fe7 Bug 535802 - disable the Windows JIT crash dialog when running mochitests, r=ted 2009-12-18 16:16:38 -05:00
Jonathan Griffin
045e42c873 But 535564. Remove log file after all processes are closed. r=bsmedberg 2009-12-22 15:13:59 -08:00
Jonathan Griffin
c8277833b7 Bug 534934 - mochitest-ipcplugins: OSError: [Errno 10] No child process, r=bsmedberg 2009-12-15 20:21:51 -05:00
Benjamin Smedberg
422b4b28d2 Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell. 2009-12-12 13:38:25 -05:00
Benjamin Smedberg
9911c2f99d Merge mozilla-central into Electrolysis 2009-11-30 12:59:43 -05:00
Jesse Ruderman
8864bcc69f Bug 531479 - Always return exit status of the app, not the stack fixer process. r=dbaron 2009-11-29 13:29:03 -08:00
Clint Talbert
9d4e70e54d Causing oranges -- Backed out changeset b3c18f150531 2009-11-25 18:00:31 -08:00
Joel Maher
7badfdc5f7 Bug 512319 Add option to allow mochitest to use external web server patch=jmaher r=ted 2009-11-25 17:04:02 -08:00
Benjamin Smedberg
d9b09766b1 Bug 523208 - ensure mochitest expects multiple processes, original patch by jgriffin, reworked for ted's review comments by bsmedberg, r=ted 2009-11-20 14:48:56 -05:00
Ted Mielczarek
f6c0a3e6f9 bug 525370 - figure out windows bustage with hang detection and re-enable it. r=jwalden
--HG--
extra : rebase_source : 24ea6c09d89f20c21dc7f0b49b6dc62e32cd5934
2009-10-30 13:00:19 -04:00
Jesse Ruderman
19da72d7aa automation.py no longer needs to set this SMIL pref, since it is now the default. Bug 532997, r=dholbert 2009-12-04 14:25:31 -08:00
Blake Kaplan
b5c833c8e7 Bug 524690 - Explicitly disable the crashreporter if we have a debugger. r=ted 2009-11-17 03:11:33 -08:00
Jonathan Griffin
7bfd72fed6 Bug 524489. Add the --setpref option to runreftest.py. r=ted 2009-11-11 14:50:35 -08:00
Ted Mielczarek
fc3517d1b5 disable windows hang checking for now, bug 525370 filed to sort it out 2009-10-29 20:25:58 -04:00
Ted Mielczarek
943273d508 bug 501034 - add a Win32 helper app to crash a process, and make automation.py use it when the app hangs. r=Waldo
--HG--
extra : rebase_source : 845326f8cfcd3dfe7ca5b0a98bd0810966cf2809
2009-10-16 13:34:27 -04:00
Ted Mielczarek
018ffaec34 bug 501034 - add hang detection + breakpad triggering to automation.py. r=Waldo
--HG--
extra : rebase_source : 088eeeb0c3135d1048dca08f3639642a90b2eab2
2009-10-13 16:56:24 -04:00
Jonathan Griffin
d4cf632233 Bug 523208. Fix string to refer to --setpref instead of --extra-pref. 2009-10-26 09:57:33 -07:00
Ted Mielczarek
6d7a9bbc89 bug 523330 - default symbols path busted for mochitest/reftest. r=bsmedberg 2009-10-21 14:19:51 -04:00
L. David Baron
d60a90ebc7 Set dom.popup_maximum to -1 to work around weirdness with the offline tests and get the tree green again, and because we probably want to do it anyway. CLOSED TREE 2009-10-22 13:49:21 -04:00
Jonathan Griffin
ba826e31ee Bug 519574. Add --setpref to runtests.py, to add custom prefs to mochitest runs. r=mielczarek
--HG--
extra : rebase_source : db4f83d61b30b70fe5e3f49b25367f223a1ea5e3
2009-10-14 10:55:25 -07:00
Ted Mielczarek
331ace7109 bug 515436 - Electrolysis test runs need a special LD_LIBRARY_PATH. fix automation.py and various consumers to not overwrite LD_LIBRARY_PATH. r=bsmedberg
--HG--
extra : rebase_source : 414a8059faaf7888b53f98712d0b0f6b4863d2ad
2009-10-08 14:10:47 -04:00
Boris Zbarsky
71c43ed5e8 Another fix for bug 485531, working around the bustage from bug 504480. r=ted 2009-09-25 12:47:51 -04:00
Serge Gautherie
750b11805e Bug 469523 - xpcshell-tests: enable leak log in tinderbox (log); (Fv1) Move code to automationutils.py from automation.py.in
r=ted.mielczarek
2009-09-06 03:08:49 +02:00
Serge Gautherie
93b0c2ea9b Backed out changeset: f6bf83b50648 2009-08-26 22:36:55 +02:00
Serge Gautherie
ac322e6f58 Bug 469523 - xpcshell-tests: enable leak log in tinderbox (log); (Fv1) Move code to automationutils.py from automation.py.in
r=ted.mielczarek
2009-08-26 18:36:40 +02:00
Clint Talbert
7de978af0c Bug 482260, Add more comprehensive tests, patch=dougt, r=mfinkle,jmaher,ctalbert 2009-08-14 16:12:09 -07:00
Brad Lassey
c4cb180942 Backed out changeset 08f71a710ae3 due to orange unit tests r=dougt 2009-08-12 19:26:03 -07:00
Doug Turner
5c3eea7d6f Bug 482260. Add more tests cases for geolocation. Also fixes max age not being able to be set to zero. r=mfinkle,jmaher. 2009-08-12 12:17:33 -07:00
L. David Baron
6c506cbb10 Run output of debug builds through fix-linux-stack/fix-macosx-stack. (Bug 385248) r=ted 2009-08-10 15:52:29 -07:00
Boris Zbarsky
8201eb13da Bug 485531. Make --debugger-gdb work reliably on mac. r=ted 2009-08-06 13:34:49 -04:00
Chris AtLee
e7936ee1eb Bug 499161 - Set xrePath when creating the environment for the main process. r=ted 2009-06-18 15:13:20 -04:00
Dave Townsend
2a16aa282c Bug 497884: Intermittent failure in test_classifier.html and test_classifier_worker.html. r=sdwilsh 2009-06-17 11:47:08 +01:00
Joel Maher
f2847c7f2e Bug 489817 - migrate existing geolocation tests from mochitest to browser-chrome; r=(ctalbert + doug.turner) 2009-06-08 21:50:04 +02:00
Ted Mielczarek
4f4b086565 bug 483062 - figure out how to get crash stacks from xpcshell tests. r=bsmedberg
--HG--
extra : rebase_source : 70355805b7f71c016eaa7aaea1d1916a23316b8a
2009-05-11 15:54:39 -04:00
Olli Pettay
1f7cf9b660 Bug 486502 - Dispatch test events only when running mochitest/chrome/browser-chrome, r+sr=roc 2009-05-06 07:30:39 +03:00
tn
01c2b0f2ae Bug 490951 - Fix timeout for scripts when running mochitests; r=ted.mielczarek 2009-05-06 01:11:19 +02:00
Serge Gautherie
5c536971f8 Bug 482598 - Requesting a tinderbox for Mac with --enable-accessibility; (Bv1) Force a leak threshold for test suite; r=jwalden+bmo 2009-04-21 00:26:03 +02:00
Serge Gautherie
a789e5828a Bug 484231 - A Mochitest crashdump turns the waterfall orange but misses to |TinderboxPrint|; (Bv1) runtests.py.in: return |status| instead of |0|, and 3 (unrelated) nits; r=jwalden+bmo 2009-04-10 12:30:32 +02:00
Honza Bambas
137cc26e8a Bug 480713 - nsDocLoader doesn't clear requests from mRequestInfoHash, security UI may not report mixed content, r,sr=jst 2009-04-08 10:45:32 +02:00
Serge Gautherie
e279585251 Bug 469518 - Enable Reftest leak log in tinderbox (log); (Ev1) Parse the log and support a leak threshold; r=jwalden+bmo 2009-04-05 15:03:46 +02:00
Robert O'Callahan
64b6352d5f Bug 475441. Make the media cache size really small while we're running mochitests, to give the cache code a thorough workout. r=doublec 2009-04-01 13:52:56 +13:00
Robert O'Callahan
cb7e64f24f Backed out changeset c166dc4af167 2009-04-01 16:18:14 +13:00
Robert O'Callahan
7df6bc888e Bug 475441. Make the media cache size really small while we're running mochitests, to give the cache code a thorough workout. r=doublec
--HG--
extra : rebase_source : c8ab78a79557ecf02ca4f11d3d8d83fb3685f1f1
2009-04-01 13:52:56 +13:00
Serge Gautherie
a71bcbb5a6 Bug 482236 - runtests.py.in : wrong leak detection on this case; (Av1a) Support a negative 'Total' value; r=(dbaron + jwalden+bmo) 2009-03-17 15:22:59 +01:00
Serge Gautherie
a92965be5e Bug 469518 - Enable Reftest leak log in tinderbox (log); (Dv1) Early return in processLeakLog(); r=jwalden+bmo 2009-03-17 15:22:57 +01:00
Daniel Holbert
7ae02c63e7 Bug 473705 auxiliary patch: Enable SMIL pref during mochitests. r+sr=roc 2009-03-10 13:35:25 -07:00
Benjamin Smedberg
3305b96ed7 Bug 481732 - Check for crash minidumps in unit tests and dump them, if the MINIDUMP_STACKWALK path is set in the environment, r=ted 2009-03-10 13:36:14 -04:00
Serge Gautherie
e693d3246b Bug 469518 - Enable Reftest leak log in tinderbox (log); (Cv1) "Fix" processLeakLog() arguments; r=jwalden+bmo 2009-03-10 15:10:25 +01:00
Serge Gautherie
d0a01b63f4 Bug 469518 - Enable Reftest leak log in tinderbox (log); (Bv1b) Move leak log parsing code to automation.py.in from runtests.py.in; r=jwalden+bmo 2009-03-09 21:00:55 +01:00
Ben Turner
7b2f1bd35e Bug 480279 - 'Allow mochitests to launch under a debugger or valgrind'. r=waldo. 2009-03-06 15:28:20 -08:00
Serge Gautherie
5dd75974c9 Bug 480077 - automation.py.in : additional fix to bug 472706 for |runApp()| return value(s); (Bv1a) Replace external times by internal duration ++; r=jwalden+bmo 2009-03-05 19:01:39 +01:00
Jonas Sicking
fea9eede61 Bug 479521: Don't follow unsafe same-site to cross-site redirects. Also fix a bug where reusing a XHR object that had been used cross site could result in the second request being more restrictive than it should be. r/sr=jst 2009-02-24 11:46:51 -08:00