Commit Graph

84 Commits

Author SHA1 Message Date
Bill McCloskey
b1d85e7abb Back out bug 1083897 a=backout 2015-04-14 14:09:44 -07:00
Andrew Halberstadt
a729c1fa7d 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
2015-02-13 14:42:02 -05:00
Andrew Halberstadt
a74852785a 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)
2015-02-10 09:38:29 -05:00
Wes Kocher
68c12d8208 Backed out changeset ea625e85c72a (bug 1123763) for checktest orange on a CLOSED TREE 2015-02-09 14:00:13 -08:00
Andrew Halberstadt
5d4b7ab6cb 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)
2015-02-09 16:13:00 -05:00
Andrew McCreight
3112c827ed 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
1f6ba82133 Bug 1121263 - Bump the leak threshold again for test_ipc. r=RyanVM
CLOSED TREE
2015-01-16 09:30:43 -08:00
Andrew McCreight
0fe24ab3b7 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
b283308c06 Bug 1087613 - Reduce content process leak threshold to 20KB. r=erahm 2015-01-13 12:32:35 -08:00
Andrew McCreight
cd85a82886 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
e9bbdaad55 Bug 1083897, part 1 - Require leak logs for tab processes on desktop. r=khuey 2015-01-13 12:32:35 -08:00
Kershaw Chang
2d0229cdd6 Bug 1038620 - Add --nested_oop option to mach test commands, r=ted.mielczarek 2015-01-13 02:07:00 +01:00
Bill McCloskey
ada88eb3e2 Bug 1110938 - Add timeout for CPOWs (default to 0) (r=dvander) 2014-12-18 17:35:44 -08:00
Chih-Kai (Patrick) Wang
10c4e7eb02 Bug 970307: Part 4: Increase leak checking threshold. r=nfroyd 2014-12-18 17:01:54 +08:00
Bob Clary
ed8ccf2eff Bug 1110940 - mochitest - support configurable tests.json manifest file name, r=jmaher. 2014-12-14 18:18:39 -08:00
Carsten "Tomcat" Book
167d0143fc Backed out changeset 9877aca65ef5 (bug 1038620) for causing Test Bustage on a CLOSED TREE 2014-12-12 14:57:39 +01:00
Kershaw Chang
5e27436702 Bug 1038620 - Add --nested-oop option to mach test commands - v5. r=ted.mielczarek 2014-12-12 01:30:00 +01:00
Bob Owen
1ff1eb96b8 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
59b00f5e6f 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)
f811b6bf7c Bug 970307: Part 4: Increas leak checking threshold. r=nfroyd 2014-11-24 15:22:49 +08:00
Nazma Panjwani
d73089f15c 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)
ebf9456905 Bug 1091270 - Move isURL out of automationutils; r=jgriffin 2014-11-04 16:59:40 -08:00
Andrew McCreight
65a1526a9d Bug 1090201 - Increase GMP process leak threshold a little more. r=erahm 2014-10-28 14:00:44 -07:00
Andrew McCreight
fab5faaa8c 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
77412939a5 Bug 1035454, part 1 - Increase the leak threshold for tab processes. r=khuey 2014-10-15 20:04:32 -07:00
Andrew McCreight
1110203434 Bug 1082788 - Increase GMP process threshold a little. r=jesup 2014-10-14 13:04:00 +02:00
Andrew McCreight
30014b26b9 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
4c9a0b67c6 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
e64c6475d0 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
d1a7ae9ac3 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
2fa34afa9a 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
fad7b93bd6 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
e36e89631f Bug 1059175 - Bump the B2G leak threshold to 5116 bytes. rs=khuey, a=bustage 2014-08-27 11:34:46 -04:00
Gijs Kruitbosch
faf3ab2c45 Bug 1057328 - get gmp path for app-override tests, r=ted 2014-08-22 16:28:04 +02:00
Ben Kelly
7f55870d69 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
e505a4de2d Bug 1050855 - Remove --log-file and --file-level options. r=ahal 2014-08-15 15:42:00 -04:00
Ryan VanderMeulen
ee20851cc2 Bug 874437 - Increase B2G mochitest leak threshold to 5012 bytes. rs=khuey 2014-08-17 15:09:27 -04:00
Eric Rahm
b72d188284 Bug 1049051 - Part 6: Adjust leak threshold. r=khuey 2014-08-12 11:44:25 -07:00
Kyle Huey
a5111e639a 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
f4e7e7d84d Bug 1038943: Adjust the b2g leak threshold after fixing bug 1047757. r=me 2014-08-07 07:51:30 -07:00
Kyle Huey
dcee102a9c Bug 1038943: Update the b2g mochitest leak threshold. r=me a=me 2014-08-05 19:20:48 -07:00
Kyle Huey
dbb3a36251 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
05898789a0 Bug 1014125 - Bisection Base Patch. r=ahal 2014-07-04 13:55:00 +02:00
Vaibhav Agrawal
3faeb7d063 Bug 925699 - pymake/mach mochitest-plain don't delete the temporary profile. r=jmaher 2014-06-24 12:02:07 -04:00
Vaibhav Agrawal
f5862895bf Bug 925699 - pymake/mach mochitest-plain don't delete the temporary profile. r=jmaher 2014-06-23 11:24:00 +02:00
Wes Kocher
eadbb03685 Merge m-c to fx-team 2014-06-19 18:33:19 -07:00
Gregory Szorc
5e0d568538 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.
2014-06-17 15:38:13 -07:00
Andrew Halberstadt
df364bfcf8 Bug 997244 - Move emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-19 14:17:26 -04:00
Joel Maher
7c6d249bbb Bug 992911 - (run-by-dir) add the ability to run mochitests per directory in a loop. r=ahal 2014-06-03 11:19:28 -04:00
Carsten "Tomcat" Book
8a19488ae8 Backed out changeset 86d0bd2a0233 (bug 992911) for android 2.3 bustage 2014-06-02 13:36:51 +02:00