Commit Graph

399 Commits

Author SHA1 Message Date
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
Dave Townsend
5afdaacb83 Bug 538008: SSLTunnel won't startup if a previous instance was killed with sockets still opened. r=ted 2010-01-05 21:10:47 -08:00
Jonathan Griffin
4cbcea0339 Bug 534762. Fix problem using --test-path on win32 2009-12-29 15:31:09 -08:00
Honza Bambas
cf9c7b2906 Bug 517938 - Added logging to ssltunnel to figure this bug out, no review, just no-affect test changes 2009-12-28 19:50:34 +01:00
Honza Bambas
0fe5da21fb backout a707bf69e7a0 2009-12-28 17:20:01 +01:00
Honza Bambas
7badd888c4 Bug 517938 - Added logging to ssltunnel to figure this bug out, no review, just no-affect test changes 2009-12-28 16:55:16 +01:00
Jonathan Griffin
472f331bb5 Bug 534762. Allow --test-path to run mochitest-chrome tests from a specific diretory. r=ted 2009-12-22 14:48:16 -08:00
Joel Maher
a9af3fbdeb Bug 523402 - when doing a make package-tests, it doesn't include the mobile specific browser chrome tests [r=ted] 2009-12-18 16:56:09 -05:00
Neil Rashbrook
ba5f0c33fd Bug 525047 'make clean' deletes automationutils.py (backout) 2009-12-18 00:19:53 +00:00
Neil Rashbrook
a2ecb52c78 Bug 525057 'make clean' deletes automationutils.py r=ted 2009-12-17 20:59:10 +00:00
Dão Gottwald
0bb69ec297 Bug 521282 - Make sure the browser window is focused before each test. r=mano 2009-11-22 15:05:54 +01:00
L. David Baron
d0f535b30d Add mechanism for an individual mochitest to say it needs a longer timeout. (Bug 527614) r=ted 2009-11-19 09:35:09 -08:00
Vladimir Vukicevic
b6a1710439 backing out 5ee85f7 due to test harness failures 2009-11-18 11:13:29 -08:00
Ted Mielczarek
b3b937975b add progress to mochitest, let 'run tests' button switch to 'stop tests' when tests are running. r=jwalden
--HG--
extra : rebase_source : a3140848cc101fae96f355f4a44892b4e23c9850
2009-10-30 13:00:19 -04: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
Aki Sasaki
d7605bda48 Bug 522617 - bump up server startup timeout to 90 seconds - r=jwalden+bmo 2009-11-13 17:48:07 -05:00
Jonathan Griffin
7bfd72fed6 Bug 524489. Add the --setpref option to runreftest.py. r=ted 2009-11-11 14:50:35 -08:00
Dão Gottwald
bea18b662b Bug 527417 - nsIPluginHost::getPluginTags aPluginCount out param should be optional. r=josh 2009-11-09 22:11:58 +01:00
Honza Bambas
7b651e605c Bug 522684 - Test timed out for /tests/security/ssl/mixedcontent/test_bug472986.html, fixing another ssltunnel hang, r=ted 2009-10-31 13:53:54 +01:00
Serge Gautherie
89f1795be1 BrowserChrome: always use 'Passed' and 'Failed' idents
Bug 473506 - Synchronize BrowserChrome and Mochitest log formats; (Bv1a)
r=rcampbell
2009-10-29 01:29:41 +01:00
Ted Mielczarek
752e9fc299 bustage fix for bug 501034 2009-10-29 19:20:42 -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
Gijs Kruitbosch
7229ff20dc Backing out bug 473506 now that 473259 was already backed out, to get rid of orange. 2009-10-29 13:21:12 +01:00
Serge Gautherie
864750365d BrowserChrome: always use 'Passed' and 'Failed' idents
Bug 473506 - Synchronize BrowserChrome and Mochitest log formats; (Bv1a)
r=rcampbell
2009-10-29 01:29:41 +01:00
Marco Bonardo
402e13d377 Bug 521233 - waitForFocus(callback) times out in browser chrome tests. use it in browser_bug304198.js, r=enn 2009-10-28 17:22:59 +01:00
Ted Mielczarek
6d7a9bbc89 bug 523330 - default symbols path busted for mochitest/reftest. r=bsmedberg 2009-10-21 14:19:51 -04:00
Ted Mielczarek
bbcf4bdfc6 report file + line number in mochitest onerror handler pushing to CLOSED TREE for better failure analysis 2009-10-22 11:36:33 -04:00
Jonathan Griffin
9d1984bf9a Bug 521457. Add debugger options to runreftest.py and runxpcshelltests.py. r=ted
--HG--
extra : rebase_source : 420b33b1d44aae7361c25d8bcc15032c303aa80d
2009-10-19 16:12:09 -07:00
Jonathan Griffin
f7c1aed1b9 Bug 521130. Add a --timeout parameter to runtests.py, and change the --timeout parameter in runreftests.py to use s instead of ms. r=ted 2009-10-16 13:23:30 -07: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
Ted Mielczarek
358f330e27 bug 519194 - No symbols in stack trace on tests of optimized builds (landing without review, consider it a bustage fix) 2009-10-02 14:46:49 -04:00
Ted Mielczarek
97c2424e97 bug 372581 Run unit tests on a pre-existing debug build - add --utility-path param to runreftest.py. r=bsmedberg
--HG--
extra : rebase_source : d97ab3937ee153994d778ec92c345e71e5a17f17
2009-09-29 08:31:49 -04:00
Serge Gautherie
3fca97a282 Backed out changeset: b0c89755c903 2009-09-25 15:28:15 +02:00
Serge Gautherie
137e23c44f Bug 473506 - Synchronize BrowserChrome and Mochitest log formats; (Bv1a) BrowserChrome: always use 'Passed' and 'Failed' idents
r=rcampbell
2009-09-24 23:01:46 +02:00
Chris AtLee
a75dc67f76 Bug 494165 - Support --total-chunks, --this-chunk, --chunk-by-dir, and --shuffle arguments to runtests.py. r=ted 2009-09-22 09:12:58 -04:00
Marco Bonardo
5bd75ee46a Bug 516440 - Port waitForFocus to browser chrome tests framework, r=gavin 2009-09-22 11:16:03 +02:00
Serge Gautherie
47e80c08bb Bug 498128 - xpcshell-tests: add option to enable/disable file logging; (Av3a) Support --[no-]logfiles in xpcst suite, improve dir/file handling in 3 suites
r=ted.mielczarek
2009-09-21 18:19:21 +02:00
Ted Mielczarek
609c33e367 Backed out changeset e5f6affc4c88 for breaking Mochitest
Bug 494165 - Support --total-chunks, --this-chunk, --chunk-by-dir, and --shuffle arguments to runtests.py. r=ted
2009-09-21 09:10:18 -04:00
Ted Mielczarek
0ceeb40442 Backed out changeset e5f6affc4c88 for breaking Mochitest
Bug 494165 - Support --total-chunks, --this-chunk, --chunk-by-dir, and --shuffle arguments to runtests.py. r=ted
2009-09-21 09:09:41 -04:00
Chris AtLee
9aa14f73db Bug 372581 - When running on a debug build, allow for much more time when waiting for the server to start up. r=ted 2009-09-21 08:04:24 -04:00
Chris AtLee
b5a3ff7b16 Bug 494165 - Support --total-chunks, --this-chunk, --chunk-by-dir, and --shuffle arguments to runtests.py. r=ted 2009-09-21 08:03:46 -04:00
Neil Deakin
f0c1f6396a Bug 498799, use waitForFocus for test_focus.xul in various places 2009-09-18 13:02:44 -04:00
Sylvain Pasche
c800105cb2 Bug 514667 - Let Mochitest run on IE
r=sayrer
2009-09-16 02:54:56 +02:00
Neil Deakin
53beea033a Bug 506175, make some more tests use waitForFocus, r=sdwilsh 2009-09-09 09:04:13 -04:00
Neil Deakin
8a82edfed6 Improve the waitForFocus code a bit and add a pile of logging to help determine the cause of tests hanging due to focus 2009-09-05 23:03:07 -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
Neil Deakin
e8d99bed80 Bug 513707, add a method to wait for load and focus events before starting some tests, r=sayrer 2009-09-03 15:30:06 -04:00
Nochum Sossonko
f519010287 Bug 512347 - synthesizeDrop from EventUtils doesn't work; Fix initDragEvent() calls
r=enndeakin
2009-09-01 00:52:31 +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
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Serge Gautherie
bebd9804b6 Bug 511888 - SimpleTest/SimpleTest.js: report stack too in |window.onerror|; (Bv1) additional nits; r=rcampbell 2009-08-24 19:07:43 +02:00
Serge Gautherie
0f0a44c565 Bug 511888 - SimpleTest/SimpleTest.js: report stack too in |window.onerror|; (Av2) Do (the little) that can be done; r=rcampbell 2009-08-23 16:48:55 +02:00
Serge Gautherie
5dab950ca0 Bug 494397 - SimpleTest.js |window.onerror| calls |SimpleTest.finish()| while test is still running; (Bv2) Update interactive report, Use 'diag' parameter from |window.onerror|; r=rcampbell 2009-08-21 20:41:44 +02:00
Honza Bambas
f18b2ca8f8 Bug 507370 - updated comment 2009-08-17 19:25:35 +02:00
Honza Bambas
5133867cfa Bug 507370 - ssltunnel may hang with 100% CPU load, breaking the tests execution, r=ted 2009-08-17 18:41:27 +02: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
Serge Gautherie
6ef7cd8550 Bug 504480 - runtests.py.in needs to do a '-silent' run first, as runreftest.py does; (Bv1) Fix runtests.py.in, Sync' runreftest.py; r=ted.mielczarek 2009-08-10 18:33:31 +02:00
Honza Bambas
9e312a2957 Bug 507370 - ssltunnel may hang with 100% CPU load, breaking the tests execution, r=ted.mielczarek, a=beltzner 2009-08-06 16:29:26 +02:00
Dan Witte
a372115988 Bug 503363 - include filename+linenumber for exceptions thrown during mochitest. r=sdwilsh 2009-07-10 12:34:04 -07:00
Neil Rashbrook
8e197cefbc Bug 502742 "Run All Tests" button is not keyboard accessible r=gavin 2009-07-07 11:40:49 +01:00
Dave Townsend
403d145887 Bug 481406: Browser chrome harness should report console messages in the test log. r=gavin 2009-07-03 08:22:31 +01:00
Henri Sivonen
997d759378 Bug 499907 - Make the mochitest server have the right MIME types for Ogg. r=jwalden+bmo 2009-06-26 10:45:08 +03:00
timeless@mozdev.org
da2398114b Bug 499994 Use unsigned const integers in ssltunnel for things that should never be signed
r=ted
2009-06-24 22:16:00 +02:00
Gavin Sharp
d257fd6dbd Whitespace fix, no bug 2009-06-23 11:59:32 -04:00
Serge Gautherie
363fce825e Bug 482598 - Requesting a tinderbox for Mac with --enable-accessibility; (Jv1) Remove previously forced leak threshold; (no review) 2009-06-22 03:09:00 +02:00
Serge Gautherie
95645128d0 Bug 494397 - SimpleTest.js |window.onerror| calls |SimpleTest.finish()| while test is still running; (Av1) Tabs cleanup, Improve+Add error messages, Use executeSoon(); r=rcampbell 2009-06-19 20:10:20 +02:00
Boris Zbarsky
b7aff036cb Work around bug 494546 causing performance problems when running chrome tests. 2009-06-16 18:34:43 -07:00
Hiroyuki Ikezoe
412141d9f6 Bug 487694 - "unable to build ssltunnel and some xpcom/test files due to CxxFrameHandler linkage" (Patch for ssltunnel.exe) [r=jwalden+bmo] 2009-06-14 01:51:37 -07:00
Dave Townsend
b4831e749e Backed out temporary logging changeset 9a72a7036822 2009-06-13 10:10:36 +01:00
Dave Townsend
99d956761e Bug 486489: Turn on url-classifier logging to track down the leak. r=ted 2009-06-12 15:51:37 +01:00
Gavin Sharp
8d0659555f Bug 492467 - browser-harness.xul: issues with deferred log generation; r=dtownsend 2009-06-11 19:47:37 +02:00
Arpad Borsos
589f71c968 Bug 467948 - fix some deprecated conversion from string constant warnings; r=dbaron 2009-05-26 10:53:15 +02: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
Dave Townsend
ccfea9600e Backed out changeset ddd616e58309 from bug 481406 due to tinderbox shortlog
spam
2009-05-28 12:19:57 +01:00
Dave Townsend
d94a6cfe5e Bug 481406: Include console messages in the log. r=sdwilsh 2009-05-20 10:18:27 +01:00
Serge Gautherie
94b4aa1278 Bug 473506 - Synchronize BrowserChrome and Mochitest log formats; (Av1) Mochitest: remove '*** ' console output; r=rcampbell 2009-05-26 18:33:13 +02:00
Hiroyuki Ikezoe
6983cac4df Bug 483799. Avoid std::max in Windows CE. r=jwalden 2009-05-18 10:29:02 +12:00
Serge Gautherie
a9a8366547 Bug 483407 - Improve the "mochitest*" harness; (Dv1a) browser-harness.xul: Sync' '#0d0', Improve ToDo support, Make 'No tests' case be a failure, Sync' 'Running' output; r=rcampbell 2009-05-16 01:14:13 +02:00
Serge Gautherie
7ae5da599f Bug 483407 - Improve the "mochitest*" harness; (Bv1a) test.css: Whitespace cleanup, Sync' '#0d0' and ToDo supports; r=rcampbell 2009-05-16 01:14:12 +02:00
Serge Gautherie
d47fd76ada Bug 483407 - Improve the "mochitest*" harness; (Cv1b2) TestRunner.js: Improved timeout handling, Check for no checks case, More consistent updateUI() output; r=rcampbell 2009-05-14 16:17:48 +02:00
Ted Mielczarek
eea55d01da bug 483062 - figure out how to get crash stacks from xpcshell tests - another followup bustage fix 2009-05-12 07:57:44 -04: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
Serge Gautherie
799be9a884 Bug 483407 - Improve the "mochitest*" harness; (Av1a) SimpleTest.js: Report tests which did not actually check anything, Improve ToDo support; r=dbaron 2009-05-12 03:38:29 +02:00
L. David Baron
8c38aba811 Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
L. David Baron
7225e5f717 Switch HTML mochitest template from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:01 -07:00
timeless@mozdev.org
77811df3a6 Bug 489953 Remove extraneous semicolons
r=gavin
2009-05-03 09:28:43 -07:00
Blake Kaplan
54734b9d0b Bug 475864 - Move native anonymous content checks into a wrapper so that quickstubs don't sidestep them. r=jst sr=bzbarsky 2009-04-23 00:21:22 -07:00
Ginn Chen
a1c0b74a0c Bug 478845 Disable mochitest of test plugin if test plugin is absent r=ted.mielczarek, jwalden 2009-04-23 14:27:04 +08:00
Olli Pettay
d7bd5d2e6a Bug 454781 - Mochitest doesn't align the names of the testfiles and test results, r=sayrer 2009-04-21 14:25:22 +03: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
Jeff Walden
583c6b4c88 Bug 396226 - Provide an API to asynchronously generate HTTP responses in httpd.js, and implement a state-storage system which can store object references to provide greater contextual information in handlers. NB: this push enables httpd.js debug output just in case something goes wrong, to be disabled as soon as it's clear nothing has -- expect the first Windows builds to finish next century sometime. r=sayrer 2009-04-15 13:19:35 -07: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
Ted Mielczarek
283013022e bug 485436 - work around OS X 10.4 xpcshell bustage with smarter default setting in runtests.py. r=waldo 2009-04-06 07:33:27 -04:00
Serge Gautherie
f20bf12aaf Bug 454717 - Check/Fix browser chrome tests which |addEventListener()| without |removeEventListener()|; (Av1) Fix harness-overlay.xul; r=gavin.sharp 2009-03-30 23:42:12 +02:00
Ted Mielczarek
aaa58f8d73 Bug 421611 - Need to be able to run tests on arbitrary build - add packaging bits for xpcshell. r=bsmedberg
--HG--
rename : intl/strres/tests/397093.properties => intl/strres/tests/unit/397093.properties
rename : intl/strres/tests/strres.properties => intl/strres/tests/unit/strres.properties
2009-03-21 11:20:00 -04:00
Mark Finkle
ba8c5a6408 Bug 484127 - Move browser_scope.js into browser/; r=gavin.sharp
--HG--
rename : testing/mochitest/tests/browser/browser_scope.js => browser/base/content/test/browser_scope.js
2009-03-19 15:57:55 +01:00
Joe Drew
a87bf62048 Remove runtests.py.in change from d3c2bf145fb8, accidentally committed. 2009-03-17 17:22:24 -04:00