Mike Hommey
f7b038d8be
Bug 1138293 - Remove moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
...
We need to use _impl variants within mozalloc.h when they are defined because
of how mozglue.dll is linked on Windows, where using malloc/free would use
the symbols from the MSVCRT instead of ours.
2015-03-31 12:32:49 +09:00
Andrew McCreight
4112532be1
Bug 1073352, part 1 - Make the DOMWINDOW and DOCSHELL leak detector work with e10s. r=jmaher
...
This reworks how the Mochitest DOMWINDOW and DOCSHELL leak detector works. Rather than
collecting immediately in the top-level script, it sends a message to all processes
telling them to carry out collections. Each process prints out a message when it has
finished the collections. This message is used by the test harness to decide when windows
and docshells for that process should be have been destroyed.
In non-e10s mode, the shutdown leak detector is only run in the parent process, to work
around various issues with leak detection in the thumbnail process tests.
2015-02-24 13:00:54 -08:00
Andrew McCreight
a65c121f9f
Backout 1ffecdc47c6d for OSX and Windows docShell leaks. CLOSED TREE
2015-02-15 21:26:19 -08:00
Andrew McCreight
3b2344e915
Bug 1073352, part 1 - Make the DOMWINDOW and DOCSHELL leak detector work with e10s. r=jmaher
...
This reworks how the Mochitest DOMWINDOW and DOCSHELL leak detector works. Rather than
collecting immediately in the top-level script, it sends a message to all processes
telling them to carry out collections. Each process prints out a message when it has
finished the collections. This message is used by the test harness to decide when windows
and docshells for that process should be have been destroyed.
2015-02-14 11:43:45 -08:00
Andrew McCreight
7d1531795c
Bug 1118852 - Print out information about leaked DOM windows and doc shells. r=chmanchester
2015-01-12 16:09:06 -08:00
Nicholas Nethercote
b7b5e21cfd
Bug 1014341 (part 1) - Remove trace-malloc. r=dbaron,glandium.
...
--HG--
extra : rebase_source : 771710c5427141d738eef112fab00951eb8e20e3
2015-01-07 16:13:03 -08:00
Prashant Baisla
3440d41225
Bug 1091269 - Removed ZipFileReader class from automationutils.py and changed automation.py.in to use zipfile.extractall. r=jgriffin
2014-12-20 14:45:48 +01:00
Nicholas Nethercote
11c84094c8
Bug 1100851 - Tweak DMD to account for the fact that $DMD can now be undefined. r=glandium.
...
Now that defining $DMD is no longer necessary to run DMD, this patch does the
following.
- Removes all the places where we set DMD=1 (test harnesses, etc.)
- Still handles DMD=1, for backwards compatibility.
- Prints "$DMD is undefined" at DMD start-up if appropriate.
- Writes a |null| value for |dmdEnvVar| in the JSON if $DMD is undefined. Bumps
the DMD output version number accordingly.
- Changes a bunch of the test files accordingly, including changing the mode of
script-ignore-alloc-fns.json in order to test a case where $DMD is undefined.
--HG--
extra : rebase_source : eb1ef5722410734ce6d7658465ff6f442ee4ed49
2014-11-27 21:04:46 -08:00
Byron Campen [:bwc]
2ba52c09a0
Bug 1091242 - Part 6: Wiring the new JSEP handler code in. See https://github.com/unicorn-wg/gecko-dev/tree/multistream_rebase for more history. r=jesup, r=smaug
2014-11-19 16:16:29 -08:00
Phil Ringnalda
648f45923d
Backed out 10 changesets (bug 1091242) for Android/b2g non-unified build bustage
...
CLOSED TREE
Backed out changeset 7f72b55c5de7 (bug 1091242)
Backed out changeset f1501aa24397 (bug 1091242)
Backed out changeset 7fde5994aee5 (bug 1091242)
Backed out changeset 59b415714087 (bug 1091242)
Backed out changeset dadb65fedc08 (bug 1091242)
Backed out changeset 21be81424e4e (bug 1091242)
Backed out changeset 498fb1dafba5 (bug 1091242)
Backed out changeset 8d0653eb85ab (bug 1091242)
Backed out changeset c82d484e135a (bug 1091242)
Backed out changeset 3e0c8932f1b1 (bug 1091242)
2014-12-08 20:53:07 -08:00
Byron Campen [:bwc]
163bd6c253
Bug 1091242 - Part 6: Wiring the new JSEP handler code in. See https://github.com/unicorn-wg/gecko-dev/tree/multistream_rebase for more history. r=jesup, r=smaug
2014-11-19 16:16:29 -08:00
Nazma Panjwani
6cdd7ad95f
Bug 1091280 - moved options from AutomationUtils.addCommonOptions to runreftest.py, mochitest_options.py, runxpcshelltests.py and removed the addCommonOptions from automationUtils and automation.py.in, r=ahal
2014-11-19 12:31:45 -08:00
Pankaj Malhotra(:bitgeeky)
60db8510c8
Bug 1091267 - Move automationutils:parseKeyValue to mochitest's runtests.py. r=ahal
2014-11-06 03:34:00 +01:00
Pankaj Malhotra(:bitgeeky)
dad688bcaa
Bug 1091270 - Move isURL out of automationutils; r=jgriffin
2014-11-04 16:59:40 -08:00
David Lubin
ec24242345
Bug 1091277 - Move replaceBackSlashes out of automationutils, r=jgriffin
2014-10-30 14:57:38 -07:00
Andrew McCreight
575425d0ec
Bug 1076969 - processLeakLog should come up with reasonable defaults itself. r=jmaher
...
Instead of grabbing attributes off options at every call site, pass
in the options object to processLeakLog, and attempt to get the attributes
there. If not present, use a restrictive default value.
This will prevent silent harness failures if one of the many ways to invoke
processLeakLog fails to set up these options, and makes it so they
don't have to set it up if they don't care.
2014-10-06 14:23:17 -07:00
Andrew McCreight
e997d27a95
Bug 1068276, part 2 - Make unexpected failure to produce a leak log an error. r=jmaher
2014-09-30 14:17:27 -07:00
Andrew McCreight
d3a4fe3402
Bug 1068276, part 1 - Allow configuring which type of processes we complain about when there's no leak log. r=jmaher
...
Then don't warn for missing logs from tab and geckomediaplugin processes, or default processes on B2G.
2014-09-30 14:17:27 -07:00
Andrew McCreight
d0b9514506
Bug 1067664, part 2 - Stop ignoring tab process leaks. r=jmaher
2014-09-30 09:54:25 -07:00
Andrew McCreight
533900626a
Bug 1067664, part 1 - Allow different leak thresholds for different types of processes. r=jmaher
2014-09-30 09:54:25 -07:00
Stephen Pohl
33b1508fc6
Mac v2 signing - Bug 1060652 - Make mochitest harness work with the new bundle structure for v2 signatures on OSX. r=jmaher
2014-09-29 11:51:25 -07:00
Andrew McCreight
8a55422034
Bug 1071289 - Remove the leading space from processString in processSingleLeakFile. r=jmaher
2014-09-25 13:01:33 -07:00
Nils Ohlmeier [:drno]
32a116fde1
Bug 1049688 - Allow override of MOZ_DISABLE_NONLOCAL_CONNECTIONS. r=froydnj
2014-09-22 09:48:00 -04:00
Andrew McCreight
996848a8c9
Bug 1068280 - If there are multiple bloat views in a single leak log, use the largest one. r=jmaher
2014-09-22 11:07:46 -07:00
Andrew McCreight
114c5bca75
Bug 1069689, part 3 - Make 'default' the default process type. r=jmaher
2014-09-19 15:00:43 -07:00
Andrew McCreight
aee1d78ab1
Bug 1069689, part 2 - Don't generate a regexp then throw it away. r=jmaher
2014-09-19 15:00:43 -07:00
Andrew McCreight
5ac0bb63d2
Bug 1069689, part 1 - .*? at the start of a search regexp isn't useful. r=jmaher
2014-09-19 15:00:43 -07:00
Chris Manchester
25b5edbf58
Bug 1061670 - Log failures in automationutils.py at the warning level for visibility when running locally. r=ahal
2014-09-16 22:32:13 -04:00
Alessio Placitelli
3a4ff18bd7
Bug 928397 - Enable xpcshell-test debugging on Windows platforms and default debugger detection. r=ted.mielczarek
2014-07-02 13:52:00 +02:00
Chris Manchester
4e55351ae1
Bug 1045525 - Convert automationutils python logging to log through mozlog.structured.;r=ahal
2014-08-29 10:37:17 -04:00
Andrew McCreight
9134717b83
Bug 1052224 - Disable leak checking in content processes. r=jmaher
2014-08-22 10:59:22 -07:00
Ralph Giles
d48db94521
Bug 1054043 - Remove wrapcommand. r=ted
...
This code was only needed on osx 10.5, and the version string compare
fails on osx 10.10.
2014-08-14 15:35:00 -07:00
Tim Taubert
26beedeadb
Bug 1052371 - Fix m-bc shutdown leak detector r=akachkach
2014-08-12 21:23:29 +02:00
Tim Taubert
baf8a6b79b
Backed out changeset d04a9bf0df24 (bug 1052371)
2014-08-12 21:11:17 +02:00
Tim Taubert
232d89761b
Bug 1052371 - Fix m-bc shutdown leak detector r=akachkach
2014-08-12 13:25:23 +02:00
Ted Mielczarek
7858a327a5
bug 1049202 - remove automationutils mozinfo workaround for non-mozharness Android tests. r=jmaher
2014-08-11 07:46:46 -04:00
Kyle Huey
44cf8c4dc8
Bug 1038943: Bustage followup to fix Android on a CLOSED TREE. r=me
2014-08-05 15:15:38 -07:00
Kyle Huey
10e2e36b91
Bug 1038943: Turn on leak checking on B2G with an initial threshold of 400000 bytes. r=ahal,dbaron
2014-08-05 14:11:53 -07:00
Alessio Placitelli
03db00024d
Bug 1028090 - Enable xpcshell-test debugging on Windows platforms. r=jmaher
2014-07-28 12:04:00 -04:00
Ahmed Kachkach
eb742c6fd6
Bug 1042979 - Clean up unused imports, variables, and dead code in mochitest. r=ahal
2014-07-24 06:23:00 +02:00
Ahmed Kachkach
4dcc22f03c
Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger
2014-07-17 09:02:00 +02:00
Carsten "Tomcat" Book
c4a6034d4a
Backed out changeset 3325b46334d9 (bug 988464) for xpcshell test failure
2014-07-17 08:49:57 +02:00
Randell Jesup
5a70db3b94
Bug 988464: log nsThreads still active at nsThreadManager::Shutdown() r=bsmedberg
2014-07-17 00:38:51 -04:00
Carsten "Tomcat" Book
d6ea794d8c
Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows
2014-07-11 14:15:29 +02:00
Ahmed Kachkach
7d86d58e58
Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger
2014-07-10 13:33:00 +02:00
Andrew McCreight
89fc2c2986
Bug 988041 - Enable LeakSanitizer for Mochitests. r=jmaher
2014-06-20 09:08:30 -07:00
Nathan Froyd
c43fb27cff
Bug 995417 - part 2 - testing infrastructure changes to set MOZ_DISABLE_NONLOCAL_CONNECTIONS; r=jmaher
2014-06-17 10:49:57 -04:00
Andrew McCreight
0055cec177
Bug 1023368 - ASan tests should show an error when the symbolizer isn't found. r=jmaher
2014-06-14 16:43:46 -07:00
Vaibhav Agrawal
52cca4137d
Bug 908945 - Fix automation.py's exit code handling; r=jmaher
2014-03-26 06:14:51 -04:00
Nicholas Nethercote
dd85b8429c
No bug. Fix a misplaced comma in build/automationutils.py. r=nalexander.
...
--HG--
extra : rebase_source : 7f82b008c72c15dfa696d240497c01a44a1fadfa
2014-03-20 17:46:13 -07:00