Commit Graph

199 Commits

Author SHA1 Message Date
Blair McBride
149e812ab5 Bug 683124 - Add function to xpcshell-test harness to output info text. r=ted.mielczarek 2011-09-07 16:26:20 +12:00
Dave Camp ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E)
72ffce7c1a Expose jsdbg2 Debugger object as a C.u.import-able module. Bug 679031, r=ted, sr=bsmedberg.
--HG--
rename : toolkit/components/ctypes/ctypes.jsm => js/ductwork/debugger/jsdebugger.jsm
extra : rebase_source : 0c936a42bd4191c8cb4d98136dfccf3cca62533d
2011-08-31 10:39:39 -05:00
Geoff Brown
942d20b453 Bug 681810 - Avoid xpcshell test failure when device not rooted and cp not available; r=jmaher 2011-08-27 00:23:02 +01:00
Jason Orendorff
2bdcc3d85d Back out changeset 28dd46b9ee31 (bug 679031) because the test is failing on all the buildbots. 2011-08-25 18:32:35 -05:00
Dave Camp ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E)
50ed2c98bc Expose jsdbg2 Debugger object as a C.u.import-able module. Bug 679031, r=ted, sr=bsmedberg.
--HG--
rename : toolkit/components/ctypes/ctypes.jsm => js/ductwork/debugger/jsdebugger.jsm
2011-08-25 16:38:30 -05:00
Matheus Kerschbaum
17a1f020bc Bug 680361 - Remove reference to modules/plugin/ from testing/xpcshell/xpcshell.ini; r=josh 2011-08-22 14:55:53 +01:00
Geoff Brown
fcf5c93a68 Bug 668349 - Changes to xpcshell.ini; r=jmaher 2011-08-22 09:00:50 +01:00
Geoff Brown
7b61293fb1 Bug 668349 - Add or update script to run xpcshell tests on Android; r=jmaher 2011-08-22 09:00:50 +01:00
William Lachance
1de0690f1e Bug 677964 - log test durations for xpcshell tests, r=ctalbert, a=testonly, DONTBUILD 2011-08-10 11:34:14 -07:00
Josh Matthews
b40a4a4751 Bug 674069 - Add missing self reference. r=ted 2011-07-26 11:52:35 -04:00
Mike Hommey
cce5e925b0 Bug 671562 - Allow to pass an application directory to xpcshell tests. r=ted 2011-07-22 08:48:01 +02:00
Simon Montagu
8a2e796345 Unify intl/locale xpcshell tests in one directory. Bug 668515, r=ted
--HG--
rename : intl/locale/tests_multilocale/unit/test_bug22310.js => intl/locale/tests/unit/test_bug22310.js
rename : intl/locale/src/unix/tests/unit/test_bug374040.js => intl/locale/tests/unit/test_bug374040.js
2011-07-03 09:38:24 +03:00
Josh Matthews
5d3b32a652 Back out bug 581341 due to too many intermittent failures. 2011-06-29 23:44:28 -04:00
Josh Matthews
9bd64cc0fc Bug 581341 - Part 5: Test. r=ted
--HG--
extra : rebase_source : b10d96685038d3158433696090bacfcdffb0655a
2011-06-08 16:21:20 -04:00
Josh Matthews
ec2f30bcb7 Back out bug 581341. 2011-06-29 15:13:17 -04:00
Josh Matthews
cce6f8c7c3 Bug 581341 - Part 5: Test. r=ted 2011-06-08 16:21:20 -04:00
Ted Mielczarek
a4398294bc merge mozilla-central and build-system 2011-06-29 09:42:11 -04:00
Ted Mielczarek
4ab453b798 bug 664197 - bustage fix, make xpcshell selftest work with Python 2.5 2011-06-28 09:52:17 -04:00
Ted Mielczarek
a45ca344fa bug 664197 - update xpcshell manifests with new conditions. r=jmaher
--HG--
extra : rebase_source : 21b5f1b5b34ec7a1efb2a8b444c9b41a6a39106d
2011-06-28 07:55:56 -04:00
Ted Mielczarek
989714656d bug 664197 - integrate mozinfo + ManifestDestiny update into xpcshell harness. r=jmaher
--HG--
extra : rebase_source : 1783e1a39d592defa279488f0cd0266311ed35ea
2011-06-21 08:12:40 -04:00
Joel Maher
d97ccb1021 Bug 616999 - switch to a manifest format for xpcshell instead of walking directories. r=jhammel, a=test-only 2011-05-20 12:22:00 -04:00
Joel Maher
193c66083d Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Joel Maher
5998b5a4cd Bug 616999. Xpcshell manifest support; harness changes. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Daniel Holbert
6ebce0d1a9 Bug 656829: Treat unexpected pass in xpcshell subtests as immediate-failure instead of immediate-pass. r=ted 2011-05-19 17:50:57 -07:00
Siddharth Agarwal
cd564334db Bug 648127 - xpcshell: add a newline before every TEST- line. r=ted
runxpcshelltests.py looks for TEST-UNEXPECTED-FAIL only at the beginning of lines, so if a failure happens right after a dump() call without a trailing newline, it isn't able to detect it.
2011-05-10 23:34:15 +05:30
Josh Matthews
ed7ddba835 Bug 553888 - Duplicate XHR request headers when following redirect. r=sicking 2010-03-22 14:52:35 +13:00
Philipp von Weitershausen
1d43d57f19 Bug 648367 - Add run_next_test to head.js. r=ted 2011-04-18 13:31:20 -07:00
Phil Ringnalda
22ed1678cb Bug 648898 - Remove the xptinfo tests we don't want to bother running, r=bsmedberg 2011-04-10 13:23:45 -07:00
Phil Ringnalda
82aa8afbcb Bug 648895 - Stop trying to package a nonexistent crashreporter_test.xpt, r=ted 2011-04-10 13:07:35 -07:00
Jonathan Protzenko
0a228e18f5 Bug 628669: Provide support for relative URLs in Components utils import (JSM, JS modules) r=bsmedberg r=mrbkap
This patch allows a JS module to import another one with a relative path. For
instance, if you have a set of modules you want to drop-in in any extension, and
these modules depend on each other, you can import XPCOMUtils and then do
XPCOMUtils.importRelative(this, "otherfile.jsm").
2011-04-14 00:10:13 +02:00
Kyle Huey
322217b08a Bug 629734: Add todo functionality to xpcshell. r=ted 2011-02-20 19:54:14 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
2c92e3ecd5 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
699024f868 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0ce53bb598 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Ehsan Akhgari
98183dee59 Backout bug 629734 because it breaks the build on Windows 2011-03-27 13:53:09 -04:00
Kyle Huey
070613529d Bug 629734: Add todo functionality to xpcshell; r=ted 2011-02-20 19:54:14 -05:00
John Hopkins
52a4162a28 Bug 621715 - runxpcshelltests.py clobbers LD_LIBRARY_PATH; r=ted a=NPOTB/test code/GLIBCXX_3.4.9 bustage fix in xpcshell tests for Thunderbird builders. 2011-01-01 21:58:29 -08:00
Jim Mathies
0889fbe446 Bug 617503 - Disable IPv6 lookups for host 'localhost' for xpecshell tests on Windows. r=ted, a=tests. 2010-12-10 19:17:25 -06:00
Serge Gautherie
a2b0ef3849 Bug 597811 - [SeaMonkey] mochitests-1/5: "WARNING: NS_ENSURE_SUCCESS(rv, rv) ... nsHTMLInputElement.cpp, line 436" + "test_bug592802.html | Test timed out.", caused by "test_bug548193.html / nsContentPrefService.js"; (Dv1) Revert extraneous change in patch Cv1.
a=(bustage fix).
DONTBUILD
2010-11-20 08:01:58 +01:00
Serge Gautherie
d34179ce47 Bug 597811 - [SeaMonkey] mochitests-1/5: "WARNING: NS_ENSURE_SUCCESS(rv, rv) ... nsHTMLInputElement.cpp, line 436" + "test_bug592802.html | Test timed out.", caused by "test_bug548193.html / nsContentPrefService.js"; (Cv1) Add 1 missing 'JSVersion version' in patch Bv1.
a=(bustage fix).
DONTBUILD
2010-11-20 07:55:24 +01:00
Chris Leary
c1c51f2643 Bug 596580: Fix mozJSSubScriptLoader's version finding. (r=brendan) 2010-11-03 12:09:24 -07:00
Robert O'Callahan
9837d8160a Bug 508128 - Additional diagnostics to report more data about test exceptions. r=waldo a=test-only
--HG--
extra : rebase_source : ececb0215cac3139336a67f429320ea4106e391f
2009-11-05 15:06:00 -05:00
Siddharth Agarwal
55b74782f9 Bug 604406 - xpcshell verbose output fails with "[IOError 12] Not enough space" when the buffer is too long. Print line-by-line instead. r=ted, a=test-only
--HG--
extra : rebase_source : ccbd761cff572c53fa91484d68e4a720df23db1b
2010-10-21 00:43:54 +05:30
Marco Bonardo
f438830678 Bug 602871 - XPCShell test harness should ignore system idle time while running tests, r=ted a=tests-only 2010-10-19 11:18:40 +02:00
Ted Mielczarek
68eff2c341 bug 598507 - wrap test harness process execution with 'arch -arch i386' on OS X 10.5. r=catlee, a=blocking
--HG--
extra : rebase_source : 7212fa8332fe6853f6dedd6bd23dc937f4b9ec86
2010-09-23 12:19:31 -04:00
Brian Crowder
370cf86776 Bug 567267 - move management of ExternalHelperApp protocols to PContent, r=dwitte, blocking-fennec2.0b1=mfinkle 2010-09-15 15:55:08 -07:00
Jason Duell
ebb9dfe335 Bug 581750 - runxpcshell.py --verbose breaks success/fail detection. a=NPOTB
Also includes printf formatting fix for head.js
2010-09-10 10:20:38 -07:00
Justin Lebar
a771aa430a Bug 592527 - runtest.py and runxpcshelltest.py should ignore ctrl-c when using an interactive debugger. r=ted, a=only-sorta-potb 2010-08-31 18:03:38 -07:00
Joel Maher
adaba45072 Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07:00
Clint Talbert
4fa6358e1b Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout
--HG--
extra : rebase_source : 01307f705ab07b7784401d69a53921b200544978
2010-08-25 14:03:44 -07:00
Joel Maher
fecae963b6 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
Jonas Sicking
32a03526e0 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
a6d440687b Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB 2010-08-20 09:32:58 -07:00
Dan Witte
e74e1c6bb6 Fix comment in head.js, and use do_execute_soon in mozapps/update/test/unit/test_bug497578.js. 2010-08-13 23:03:36 -07:00
Dan Witte
6f2a31c22a Bug 586692 - xpcshell: do_timeout does not guarantee desired timeout interval. r=jduell 2010-08-13 13:28:14 -07:00
Dan Witte
66378f8796 Bug 586238 - Don't instantiate the crashreporter component in the child process. r=ted 2010-08-12 01:55:28 -07:00
Benjamin Smedberg
ba5be64d1c Bug 579178 part C - Allow xpcshell to register additional manifests from the command line, and use this to load httpd.manifest in the xpcshell test harness, r=jwalden 2010-07-22 10:42:43 -04:00
Benoit Girard
33301ca730 Bug 557225 - Fix TryServer failures. r=cjones r=josh 2010-07-20 00:17:45 -04:00
Benjamin Smedberg
b3de5c62a7 Bug 568698 - Instead of fixing two globals in the jetpack process, allow jetpack to create sandboxes in which to load user code and implementation modules, r=bent 2010-07-08 09:40:07 -07:00
Chris Jones
885e50d3fb Bug 566050: Make runxpcshelltests.py tests more amenable to non-standard debugging scenarios. r=ted 2010-02-10 14:52:16 -08:00
Benjamin Smedberg
4b29191430 Bug 576206 - hangs in necko unit tests on Windows because the content process is crashing, bandaid patch r=Mossop for landing into a CLOSED TREE
--HG--
extra : rebase_source : 7ee40a702c86acc3cc3872954a989b935cd0bec4
2010-07-01 16:03:42 -04:00
Benjamin Smedberg
a677e5bf91 Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg
29e089defb Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg
5f7a36ec28 Testing fixes for bug 568691 - change xpcshell do_load_module to do_load_manifest, and switch the relevant tests to use manifests and the new function. 2010-06-25 10:43:25 -04:00
Benjamin Smedberg
ea00533489 Fix test packaging and execution from bug 568691. 2010-06-22 20:44:44 -04:00
Benjamin Smedberg
8ce4ecd19a Bug 570488 part B - fix and test loading XPT files from JARs, needed for omnijar, r=mwu 2010-06-10 12:51:43 -04:00
Oleg Romashin
39a0145aea Auto-merge with m-c b51803f3fdef 2010-06-25 08:30:40 -04:00
Jason Duell
386a098a89 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).

--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Doug Turner
0dc0f3273e merge with m-c. resolved conflicts in:
U chrome/src/nsChromeRegistry.cpp
U content/base/src/Makefile.in
U dom/base/nsDOMClassInfo.cpp
U toolkit/toolkit-tiers.mk

--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug541420.js => toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js
2010-05-11 11:09:54 -07:00
Josh Matthews
2747b640a9 Bug 550860 - Profile directory for xpcshell based tests needs to be in a predefined, stable, location for at least some tests. r=ted 2010-04-28 03:28:56 +10:00
Oleg Romashin
8cafa44858 Merged with mozilla-central 2010-04-07 06:59:04 -04:00
Doug Turner
19845bed4d merge from m-c. manually merging modules/plugin/test/testplugin/nptest.cpp dom/plugins/PluginModuleChild.cpp. 2010-03-26 14:22:48 -07:00
Benjamin Smedberg
754a66798f Bug 570488 - Fix loading of XPTs nested in JARs [2/2] r=mwu
--HG--
extra : rebase_source : b97a591c0260daed1f2ef2eba69e60ff82acd18f
2010-06-14 16:10:04 -07:00
Ted Mielczarek
bda71eee8a bug 563745 - Make automationutils.py's minidump processing able to send minidumps to minidump-stackwalk-cgi. r=catlee
--HG--
extra : rebase_source : ebbf745e5e77c55437cb05071f49d421d08956c6
2010-05-06 08:06:09 -04:00
Clint Talbert
5f5aa65fe6 Bug 552253 - XPCShell no longer packages devicemanager.py properly r=ted 2010-03-24 10:51:17 -07:00
Jason Duell
08475bb3a1 bug 532221 bitrot fix: print BloatView logs for child xpcshell processes a=jduell, r=jwalden
--HG--
extra : rebase_source : 657c5db519b0cb4be74d0a9256deb79db8687005
2009-12-03 17:12:33 -08:00
Jason Duell
a69dd7a930 Bug 546756 and bug 528145: fix error detection regression from runxpcshell "merge". a=jduell 2010-03-19 09:09:54 -07:00
Josh Matthews
54a894493b Fix bug 552871: _HEAD_JS_PATH is not defined for xpcshell test. a=jdm, r=jduell 2010-03-17 15:40:36 +13:00
Jason Duell
f81b2e3733 Merge from mozilla-central (rev 783ef71b479e) to e10s tree; gets xpcshell working again. 2010-03-18 14:59:34 -07:00
Doug Turner
ef54d33b11 Merge with mc 2010-03-17 10:37:32 -07:00
Josh Matthews
155c68a4c6 Bug 552847. xpcshell: fix "make check-one" and "check-interactive". a=jdm r=ted 2010-03-17 13:05:59 +13:00
Doug Turner
453380b2a7 Merge 2010-03-12 15:20:36 -08:00
Joel Maher
2425aebee7 Bug 493748 Refactor xpcshell test harness to enable it to work for remote devices r=ted (comment 14) p=jmaher Landing on a CLOSED TREE 2010-03-12 14:57:29 -08:00
Joel Maher
6b6e9978a3 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
Doug Turner
02a7000526 Merge. manually merged. modules/plugin/test/testplugin/nptest.cpp, testing/xpcshell/head.js. 2010-03-10 19:13:35 -08:00
Frederic Plourde
2f6174b8e4 Bug 546756 - xpcshell tests should fail when child scripts generate syntax errors. r=jduell 2010-03-02 13:38:53 -05:00
Doug Turner
c741a38e65 Merge 2010-03-01 15:36:51 -08:00
Joel Maher
032db6aa1b Bug 552322 Fix remotexpcshelltests to define profile directory r=ctalbert a=dholbert for CLOSED TREE landing, NPOTB 2010-03-15 15:29:27 -07:00
Joel Maher
c6b7acddb3 Bug 545867 Add remotexpcshelltests.py for windows mobile test refactoring r=ctalbert 2010-03-13 10:57:06 -08:00
Brad Lassey
4257e0473f bug 548207 - allow make check to run over remote connection from devicemanager.py r=ted,ctalbert,jmaher
--HG--
rename : build/devicemanager.py => build/mobile/devicemanager.py
2010-03-10 13:36:45 -05:00
Brad Lassey
96319c4535 backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Dave Townsend
8bf7ebf228 Bug 550481: Exceptions from the do_execute_soon callback should be logged and fail the test. r=ted 2010-03-08 10:26:54 -08:00
Joel Maher
1c8d232df2 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
Joel Maher
98f2550953 bug 541410 - add devicemanager.py to mozilla-central r=ctalbert 2010-02-23 11:48:16 -05:00
Marco Bonardo
15950e5378 Bug 544241 - xpcshell-tests head.js should always remap resource://test to the current test dir, r=ted 2010-02-23 14:11:37 +01:00
Siddharth Agarwal
72f3029722 Bug 556735 - single directory xpcshell-tests and check-one don't work. r=ted
--HG--
extra : rebase_source : 78465fc45518ae116dfa5d438d9b0dc64a69f32d
2010-04-02 18:59:35 +05:30
Marco Bonardo
9d61d8ef06 Bug 529823 - ensure that xpcshell tests using do_get_profile will fire profile shutdown notifications. r=ted 2010-04-02 00:42:22 +02:00
Joel Maher
3ffa140c87 Bug 553700 Allow xpcshell harness to chunk tests r=ted 2010-04-01 12:34:10 -07:00
Marco Bonardo
75db30109e Bug 556231 - Tests are trying to QI to nsIDirectoryProvider, that does not exist. r=ted 2010-04-01 13:29:13 +02:00
Kyle Huey
a7c3948d0a Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00