Commit Graph

206 Commits

Author SHA1 Message Date
Masatoshi Kimura
8b7e6c6a08 Bug 1248198 - Set "hasNode" only if the node version is >=5.0.0 because older node does not support ALPN. r=glandium
MozReview-Commit-ID: D4rrp92R5YS
2016-07-15 21:08:42 +09:00
Nicholas Hurley
5bd2184bfd Bug 1248197 - Remove spdy/3.1 support. r=mcmanus
MozReview-Commit-ID: 1RgzxOY00Le
2016-07-15 15:13:49 -07:00
Greg Mierzwinski
4cc8cf9258 Bug 1278649 - Add code coverage to xpcshell tests. r=chmanchester
This adds the ability to use the command line flag '--jscov-dir-prefix' to collect javascript code coverage from xpcshell tests and output it into the specified directory as a JSON file.

MozReview-Commit-ID: 3MZm73SNChL
2016-06-08 09:41:04 -04:00
Gregory Szorc
2dd9fb2182 Bug 1272851 - Allow temporary directory to be specified to xpcshell test harness; r=ted
A subsequent commit will change where the temporary directory is located
in certain test invocations. To do this, we need to teach the xpcshell
harness to use an alternate temporary directory instead of using the system
default (likely specified from TEMP* environment variables).

MozReview-Commit-ID: IUUlYaLBiEC
2016-05-26 12:09:46 -07:00
Kris Maglione
62ba00e812 Bug 1269501: Part 1 - Add $PYTHON variable to environment for subprocess xpcshell tests. r=glandium
I'm not especially happy with this method, but the DMD tests are the only
other tests I can find doing anything like this, and I don't have a better
solution than doing it the same way.

MozReview-Commit-ID: JlclyKoUhRf
2016-05-08 20:33:36 -07:00
Sebastian Hengst
3344303db0 Backed out 5 changesets (bug 1269501) for failing the added test_subprocess.js on Windows (didn't fold it into the last backout). r=backout
Backed out changeset 3e1d7c5d1a58 (bug 1269501)
Backed out changeset 167e407cb1fc (bug 1269501)
Backed out changeset 6438b11898cf (bug 1269501)
Backed out changeset 1cbbf940ec35 (bug 1269501)
Backed out changeset ed35c5f4d756 (bug 1269501)
2016-05-28 12:38:25 +02:00
Kris Maglione
4976d8b97a Bug 1269501: Part 1 - Add $PYTHON variable to environment for subprocess xpcshell tests. r=glandium
I'm not especially happy with this method, but the DMD tests are the only
other tests I can find doing anything like this, and I don't have a better
solution than doing it the same way.

MozReview-Commit-ID: JlclyKoUhRf
2016-05-08 20:33:36 -07:00
Andreas Tolfsen
a5114bd995 Bug 1240723 - Harmonise xpcshell head- and tail list computation; r=ted.mielczarek
Head- and tail entries in manifest files are not mandatory on
local/desktop xpcshell tests, and they should not be on remote/B2G either.

This change makes remotexpcshelltests and runxpcshelltests agree on how
to get head- and tail files.
2016-01-19 13:48:53 +00:00
Julian Seward
c3e7f8c2eb Bug 1222043 - Make "mach xpcshell-test" more TSan-friendly. r=ahalberstadt. 2015-11-25 12:38:20 +01:00
James Graham
8ee5cf605c Bug 1207747 - Ensure that logging command line options are always available when running xpcshell tests, r=chmanchester 2015-10-08 10:28:15 +01:00
Nicholas Hurley
d98fedcb8f Bug 1197847 - make debugging h2 and spdy test servers easier. r=mcmanus 2015-10-05 13:13:05 -07:00
Andrew Halberstadt
47ccfb9842 Bug 1206073 - [xpcshell] Fix default value for testingModulesDir when running from mach, r=jgraham 2015-09-18 10:00:40 -04:00
James Graham
2e444ca098 Bug 1193257 - Make xpcshell harness command line arguments path filters for tests, r=ahal 2015-09-17 10:51:02 +01:00
James Graham
1e629f9bf0 Bug 1193224 - Remove vestigial --tests-root-dir option from xpcshell tests, r=ahal 2015-09-17 10:51:00 +01:00
Nathan Froyd
0c4198a14a Bug 1196430 - part 6 - move cut-and-paste stack fixer code into mozrunner; r=wlach
This code is cut-and-pasted in several different places around the tree.
Let's put it in a common place.
2015-08-26 19:57:36 -04:00
Vaibhav Agrawal
228761e931 Bug 1197541 - Add --dump-tests option to mochitest and xpcshell for all tests that will be run. r=ahal 2015-08-21 17:16:11 -07:00
Nathan Froyd
6a4d92e5f5 Bug 1192291 - use llvm-symbolizer when running xpcshell tests under TSan; r=ted 2015-08-07 02:58:05 -04:00
Hiroyuki Ikezoe
ef939ac4ca Bug 1150818 - Part 2: Load mozinfo.json into xpcshell tests. r=ted 2015-08-20 16:06:00 -04:00
Andrew Halberstadt
5c1241cd79 Bug 1014760 - Move mozlog.structured to mozlog; Move mozlog to mozlog.unstructured, r=jgraham
Mozlog currently has two implementations. The top level package is based on the logging module and is
deprecated. The newer structured logging implementation lives in mozlog.structured. This patch swaps the
two, so the top level mozlog module contains the recommended implementation, while mozlog.unstructured
contains the old one.
2015-07-16 10:38:40 -04:00
Chris Manchester
aa30a01aa0 Bug 487494 - Pipe xpcshell's output through a stack fixer.;r=ted 2015-06-11 11:21:13 -07:00
Robert Strong
6ea6780b49 Bug 1169729 - Add prefixes to the mkdtemp calls in runxpcshelltests.py so it is easy to determine the directories that cause 'INFO Failed to remove directory' messages. r=ted 2015-06-01 11:52:21 -07:00
Wes Kocher
6b4d65d584 Merge inbound to m-c a=merge 2015-04-13 17:13:10 -07:00
Carsten "Tomcat" Book
ce29d8a0fc Merge mozilla-central to fx-team 2015-04-13 12:10:00 +02:00
Mark Hammond
ff13ce8179 Bug 1074014 - allow verbose=true in xpcshell test manifests. r=ted 2015-04-13 10:32:55 +10:00
Ehsan Akhgari
d1fd0f5c17 Bug 952211 follow-up: Only access path if debuggerInfo is set
Landed on a CLOSED TREE as bustage fix
2015-04-10 14:45:52 -04:00
Ted Mielczarek
a6434d2aa8 bug 1151407 - Remove _HTTPD_JS_PATH from xpcshell test harness. r=jmaher
Only the httpd.js unit tests actually rely on this. I tried to make them use Cu.import but they also rely on poking a bunch of stuff in httpd.js that's not exported, so instead I just made the test manifest copy httpd.js to the test directory and had them load it from there.
2015-04-03 08:20:32 -04:00
Ehsan Akhgari
0ced944ef5 Bug 952211 - Print a warning about using 'run' when debugging an xpcshell test using lldb; r=froydnj 2015-04-10 14:16:10 -04:00
Andrew Halberstadt
baf7554392 Bug 987360 - Add ability to tag tests with arbitrary strings and run them, r=chmanchester
Add a `tags` attribute to a test or DEFAULT section in a manifest:

[test_foo]
tags = foo

Then run all tests with a given tag by passing in `--tag foo` to a supported test harness. So far mochitest, xpcshell and marionette are supported.
2015-03-19 16:15:33 -04:00
Ryan VanderMeulen
beab04f3c0 Backed out changesets acbab9e22691 and 3c34fd480729 (bug 987360) for Android/B2G xpcshell bustage.
CLOSED TREE
2015-03-27 13:12:19 -04:00
Andrew Halberstadt
fe1b67187c Bug 987360 - Fix b2g/android xpcshell bustage, r=bustage 2015-03-27 12:17:00 -04:00
Andrew Halberstadt
90da2d6c5b Bug 987360 - Add ability to tag tests with arbitrary strings and run them, r=chmanchester
Add a `tags` attribute to a test or DEFAULT section in a manifest:

[test_foo]
tags = foo

Then run all tests with a given tag by passing in `--tag foo` to a supported test harness. So far mochitest, xpcshell and marionette are supported.
2015-03-19 16:15:33 -04:00
Andrew Halberstadt
591fc31e22 Bug 1146871 - Make xpcshell use manifestparser's chunking algorithm, r=jmaher 2015-03-24 09:21:11 -04:00
Patrick McManus
bfd739c9e8 bug 1102923 - log node moz-spdy and moz-http2 output on shutdown r=ted 2015-01-23 12:09:47 -05:00
Patrick McManus
7b92bc1c4c bug 1102923 - move spdy/h2 tests off fixed port r=hurley r=ted 2015-01-15 11:12:05 -05:00
Nicholas Nethercote
dceb4f2bc9 Bug 1014341 (part 1) - Remove trace-malloc. r=dbaron,glandium. 2015-01-07 16:13:03 -08:00
Philipp Kewisch
81674c159a Bug 1084066 - plugins and extensions moved to wrong directory by mozharness. r=ted 2015-01-03 01:29:57 +01:00
Gregory Szorc
292fa98bd6 Bug 930808 - Catch all exceptions when importing psutil; r=glandium
This is the same workaround applied in 7be399d00f9a (bug 908296). It
should stop |make check| from complaining on OS X.
2014-12-23 21:34:01 -08:00
Chris Manchester
9e46797c5f Bug 1108781 - Log relative paths as test identifiers in xpcshell. r=ahal 2014-12-09 15:38:18 -05:00
Mark Hammond
a0302a0353 Bug 809561 - Integrate xpcshell test harness with chrome remote debugging. r=past/chmanchester 2014-11-29 10:40:58 +11: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
Mark Hammond
dec42e8191 Bug 1094526 - remove extra \n chars from xpcshell test output. r=chmanchester 2014-11-06 14:56:32 +11:00
David Lubin
9a363b02d3 Bug 1091277 - Move replaceBackSlashes out of automationutils, r=jgriffin 2014-10-30 14:57:38 -07:00
Tom Tromey
1d77be9e3b Bug 1075072 - Pass debuggerArgs as a string to get_debugger_info. r=ted 2014-10-24 09:40:00 -04:00
Chris Manchester
417bb77650 Bug 1033126 - Convert xpcshell tests to use mozlog.structured format for logging.;r=ted 2014-10-22 15:53:42 -04:00
Nicholas Nethercote
b6b6a322b0 Bug 1076446 (attempt 2) - Make the DMD test work on Windows. r=glandium. 2014-10-09 19:28:33 -07:00
Carsten "Tomcat" Book
112c54a4be Backed out changeset 835fbe63da4a (bug 1076446) for perma failure in 10.8 mozilla-inbound debug test xpcshell 2014-10-24 12:32:38 +02:00
Nicholas Nethercote
b8036ed928 Bug 1076446 - Make the DMD test work on Windows. r=glandium. 2014-10-09 19:28:33 -07:00
Nicholas Nethercote
5eb54cdff0 Bug 1073312 - Test DMD on TBPL (Linux-only). r=glandium. 2014-09-28 20:50:52 -07:00
Andrew Halberstadt
c23628c7fd Bug 1079651 - Enable strict manifests in xpcshell, r=chmanchester 2014-10-08 17:15:13 -04:00
Stephen Pohl
1088e58cd4 Mac v2 signing - Bug 1060562 - Update xpcshell-tests for the new v2 bundle structure on OSX. r=jmaher 2014-09-29 11:51:29 -07:00