Bill McCloskey
5389443ac0
Bug 1121676 - Use a lock to protect the list of top-level actors (r=bent)
2015-03-20 12:02:41 -07:00
Mike Hommey
9ceb4a0a92
Bug 1139719 - Properly say what binary is missing for --use-test-media-devices. r=jmaher
2015-03-10 10:01:54 +09:00
Nathan Froyd
b43a2b110d
Bug 1136700 - enable tweaking of the maximum number of timeouts for mochitests; r=jmaher
...
When running tests locally, it's occasionally useful to be able to
increase the number of tests permitted to timeout before declaring the
test run a failure. This patch adds the necessary bits to SimpleTest
and the appropriate amount of plumbing to runtests.py and mach to make
that so.
2015-02-25 09:23:54 -05:00
Andrew Halberstadt
4095e521c8
Bug 1127376 - PEP8-ify all mochitest .py files (auto-generated), r=ted
...
This change was generated using the `autopep8` module [1]. To replicate:
$ pip install --upgrade autopep8
$ cd gecko
$ autopep8 -i -a -a -r testing/mochitest --exclude 'testing/mochitest/pywebsocket/*'
[1] https://github.com/hhatto/autopep8
--HG--
extra : rebase_source : fb127187cd488b977981338373d66cc8c735214f
2015-02-13 14:42:02 -05:00
Andrew Halberstadt
ba271f3c89
Bug 1123763 - [manifestparser] Implement filter system for manifest.active_tests(), r=ted
...
A filter is a callable that accepts an iterable of tests and a dictionary of values (e.g mozinfo.info) and returns an iterable of tests. Note filtering can mean modifying tests in addition to removing them. For example, this implements a "timeout-if" tag in the manifest:
from manifestparser import expression
import mozinfo
def timeout_if(tests, values):
for test in tests:
if 'timeout-if' in test:
timeout, condition = test['timeout-if'].split(',', 1)
if expression.parse(condition, **values):
test['timeout'] = timeout
yield test
tests = mp.active_tests(filters=[timeout_if], **mozinfo.info)
--HG--
extra : rebase_source : adead90910811e71e8ea2bb862f2b8e92f2c1bee
2015-02-10 09:38:29 -05:00
Wes Kocher
aee29f654f
Backed out changeset ea625e85c72a (bug 1123763) for checktest orange on a CLOSED TREE
2015-02-09 14:00:13 -08:00
Andrew Halberstadt
1d45a432c8
Bug 1123763 - [manifestparser] Implement filter system for manifest.active_tests(), r=ted
...
A filter is a callable that accepts an iterable of tests and a dictionary of values (e.g mozinfo.info) and returns an iterable of tests. Note filtering can mean modifying tests in addition to removing them. For example, this implements a "timeout-if" tag in the manifest:
from manifestparser import expression
import mozinfo
def timeout_if(tests, values):
for test in tests:
if 'timeout-if' in test:
timeout, condition = test['timeout-if'].split(',', 1)
if expression.parse(condition, **values):
test['timeout'] = timeout
yield test
tests = mp.active_tests(filters=[timeout_if], **mozinfo.info)
--HG--
extra : rebase_source : 7afc5d677717279e477d420899ba839073de2d8f
2015-02-09 16:13:00 -05:00
Andrew McCreight
458a644324
Bug 1128486 - Increase tab process leak threshold a little. r=erahm
...
The GeckoMediaPluginService leak slowly grows, so hide it for a little longer.
2015-02-09 11:42:20 -08:00
Andrew McCreight
984fd1005a
Bug 1121263 - Bump the leak threshold again for test_ipc. r=RyanVM
...
CLOSED TREE
2015-01-16 09:30:43 -08:00
Andrew McCreight
44acd4a649
Bug 1121263 - Increase tab process leak threshold on OSX to paper over intermittent leak. r=jmaher
2015-01-14 10:06:46 -08:00
Andrew McCreight
8ff3b79306
Bug 1087613 - Reduce content process leak threshold to 20KB. r=erahm
2015-01-13 12:32:35 -08:00
Andrew McCreight
ae773fa964
Bug 1083897, part 2 - Don't require leak logs for tab processes on Windows. r=jmaher
2015-01-13 12:32:35 -08:00
Andrew McCreight
5bbe05d835
Bug 1083897, part 1 - Require leak logs for tab processes on desktop. r=khuey
2015-01-13 12:32:35 -08:00
Kershaw Chang
8206fb9fe7
Bug 1038620 - Add --nested_oop option to mach test commands, r=ted.mielczarek
2015-01-13 02:07:00 +01:00
Bill McCloskey
25a2d73d0f
Bug 1110938 - Add timeout for CPOWs (default to 0) (r=dvander)
2014-12-18 17:35:44 -08:00
Chih-Kai (Patrick) Wang
7459f0d204
Bug 970307: Part 4: Increase leak checking threshold. r=nfroyd
2014-12-18 17:01:54 +08:00
Bob Clary
965306a84f
Bug 1110940 - mochitest - support configurable tests.json manifest file name, r=jmaher.
2014-12-14 18:18:39 -08:00
Carsten "Tomcat" Book
cdaeb69ab3
Backed out changeset 9877aca65ef5 (bug 1038620) for causing Test Bustage on a CLOSED TREE
2014-12-12 14:57:39 +01:00
Kershaw Chang
8921fb6cc8
Bug 1038620 - Add --nested-oop option to mach test commands - v5. r=ted.mielczarek
2014-12-12 01:30:00 +01:00
Bob Owen
61edbfb626
Bug 1103946 Part 1: Change --content-sandbox mach / mochitest option to --strict-content-sandbox. r=jmaher
...
Also, change tests that are skipped using (contentSandbox != off) to (strictContentSandbox).
2014-12-10 09:34:03 +00:00
Ryan VanderMeulen
240fa20d5e
Backed out changesets 9beb53e53951, 4420bb4e5e7c, de1da65301a8, and cd9c2aaf1343 (bug 970307) for causing frequent B2G debug mochitest-11 crashes.
2014-11-24 17:18:27 -05:00
Patrick Wang (Chih-Kai Wang)
1d81eaeae0
Bug 970307: Part 4: Increas leak checking threshold. r=nfroyd
2014-11-24 15:22:49 +08:00
Nazma Panjwani
2ce21ee428
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)
d146c5b08b
Bug 1091270 - Move isURL out of automationutils; r=jgriffin
2014-11-04 16:59:40 -08:00
Andrew McCreight
b129281177
Bug 1090201 - Increase GMP process leak threshold a little more. r=erahm
2014-10-28 14:00:44 -07:00
Andrew McCreight
8cd2f4c822
Bug 1035454 - increase the tab process leak threshold to 2MB while we deal with landing fallout. r= CLOSED TREE
2014-10-16 10:05:23 -07:00
Andrew McCreight
4ee1998578
Bug 1035454, part 1 - Increase the leak threshold for tab processes. r=khuey
2014-10-15 20:04:32 -07:00
Andrew McCreight
23fd5de0ac
Bug 1082788 - Increase GMP process threshold a little. r=jesup
2014-10-14 13:04:00 +02:00
Andrew McCreight
332647cd60
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
b41400dfe4
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
6c7fc66e82
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
Bob Owen
ad615bc81f
Bug 1067301 - Add mach / mochitest option to run tests with Windows content sandbox. r=jmaher
2014-09-16 08:20:07 +01:00
Dave Townsend
fa734afbbd
Bug 1035512: Add a new common JS testing harness based on the mochitest test runner. r=gps, ted, erikvold, jmaher
2014-09-22 11:08:06 -07:00
Josh Aas
1b3d3f7c47
Bug 1063318: Switch Chromium IPC code to Mozilla's ref/auto ptr types. Also fix thread safety bug. r=nfroyd
2014-09-19 13:17:17 -05:00
Ryan VanderMeulen
278da1ac15
Bug 1059175 - Bump the B2G leak threshold to 5116 bytes. rs=khuey, a=bustage
2014-08-27 11:34:46 -04:00
Gijs Kruitbosch
7a6a4c6b03
Bug 1057328 - get gmp path for app-override tests, r=ted
...
--HG--
extra : rebase_source : 19485859be5c0660d36242e2920fa3d4ca662666
2014-08-22 16:28:04 +02:00
Ben Kelly
3962364818
Bug 1049801 P1 Increase allowed leak threshold in tests to account for increased MessageChannel size. r=khuey
2014-08-21 14:13:23 -04:00
Ahmed Kachkach
4dad8c56d4
Bug 1050855 - Remove --log-file and --file-level options. r=ahal
2014-08-15 15:42:00 -04:00
Ryan VanderMeulen
13a40152e9
Bug 874437 - Increase B2G mochitest leak threshold to 5012 bytes. rs=khuey
2014-08-17 15:09:27 -04:00
Eric Rahm
c810feb332
Bug 1049051 - Part 6: Adjust leak threshold. r=khuey
...
--HG--
extra : rebase_source : a57e3fa89c2aa84ac0017b4975efc83bd440df9d
2014-08-12 11:44:25 -07:00
Kyle Huey
1e4f1b5087
Bug 1038943: Adjust the leak threshold after fixing bug 1050494 and bug 1050509. r=me
2014-08-08 14:07:52 -07:00
Kyle Huey
89960fe70a
Bug 1038943: Adjust the b2g leak threshold after fixing bug 1047757. r=me
2014-08-07 07:51:30 -07:00
Kyle Huey
e46074d043
Bug 1038943: Update the b2g mochitest leak threshold. r=me a=me
2014-08-05 19:20:48 -07:00
Kyle Huey
ead551b67a
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
Vaibhav Agrawal
8dd0e39442
Bug 1014125 - Bisection Base Patch. r=ahal
2014-07-04 13:55:00 +02:00
Vaibhav Agrawal
45213e82ee
Bug 925699 - pymake/mach mochitest-plain don't delete the temporary profile. r=jmaher
2014-06-24 12:02:07 -04:00
Vaibhav Agrawal
34b269b85c
Bug 925699 - pymake/mach mochitest-plain don't delete the temporary profile. r=jmaher
2014-06-23 11:24:00 +02:00
Wes Kocher
b8d6b378bf
Merge m-c to fx-team
2014-06-19 18:33:19 -07:00
Gregory Szorc
fce0336b8c
Bug 938712 - Allow multiple instantiations of MochitestOptions; r=AutomatedTester
...
The MochitestOptions class has a class-local definition of the options
going into the optparse instance. The default values for these options
would be reused by subsequent consumers. In the case of the profile
path, the same temporary directory would be used. In the case of list
arguments, subsequent runs would inherit members added by earlier runs.
This patch should make subsequent runs free from the baggage of the
first.
--HG--
extra : rebase_source : c55a229e67515a9133377404344872ad0935a637
2014-06-17 15:38:13 -07:00
Andrew Halberstadt
d638652838
Bug 997244 - Move emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin
2014-06-19 14:17:26 -04:00