Commit Graph

896 Commits

Author SHA1 Message Date
Nathan Froyd
4872952e02 Bug 1265156 - always pass symbolsPath during xpcshell self tests; r=ted.mielczarek
If we botch things in libxul badly enough that startup cache
precompilation works, but xpcshell self tests fail, it's nice to get
understandable stacks for asserts or crashes inside libxul.
2016-04-18 13:20:35 -04:00
Chris Manchester
a7138cfc10 Bug 1242051 - Install test files to the objdir lazily rather than with each invocation of mach. r=gps
This moves test installation for test files out of the monolithic install
manifest for $objdir/_tests, and determines the test and support files
to install based on the object derived from all-tests.json. Additionally,
the files resulting from TEST_HARNESS_FILES are installed, as some tests
will depend on them.

As a result, the time to install tests when invoking the test runner will
scale with the number of tests requested to run rather than the entire set
of tests in the tree, resulting in significantly less overhead.

MozReview-Commit-ID: LeIrUVh1yD4
2016-04-04 14:56:52 -07:00
Kit Cambridge
bc0b536de1 Bug 1257821 - Support the new aesgcm content encoding scheme. r=mt
MozReview-Commit-ID: IPNXletzJRK

--HG--
extra : rebase_source : 3593624d3513a0ccc7422bfeefe5c85dca37541a
2016-03-18 09:01:50 -07:00
Cykesiopka
e6008c2304 Bug 1251011 - Enable ESLint "no-undef" rule for PSM. r=keeler r=mossop
MozReview-Commit-ID: 1lbwWWkJjqq

--HG--
extra : rebase_source : 10fa76138cb5c4ac53b2b49f99b26ce3748f9fff
2016-03-16 16:50:33 -07:00
Ted Mielczarek
7b1faa29bc bug 1255479 - make mach python-tests use TestResolver for discovery, make mach test work for python tests. r=nalexander
MozReview-Commit-ID: CK2Vh6gdnb0

--HG--
extra : rebase_source : 2b1b05224ade41ad500dc66116beb3b091db9cde
extra : amend_source : 349f7cc876383d873acb1c73c0118d394f39284d
extra : histedit_source : 6d1d44188bb3a4fc69da2900e8118ce2a88a5fd7
2016-03-10 12:30:10 -05:00
Geoff Brown
fe5b68bf76 Bug 1255563 - Set sequential option when running Android 'mach xpcshell-test'; r=jmaher 2016-03-10 15:18:40 -07:00
Nicholas Hurley
0b3b2a68db Bug 1246761 - Properly handle non-terminal 0-length DATA frames. r=mcmanus
--HG--
extra : rebase_source : 756e42ecea9646b5b0e2770060090437b06b9f9d
2016-03-01 16:28:39 -08:00
Chris Manchester
d71c9dd868 Bug 1250961 - Remove one-off rule to re-name master xpcshell manifest and update mozharness consumers. r=gps
MozReview-Commit-ID: B41G5burv9A

--HG--
extra : rebase_source : 6aa95d32bfad361016d1bb60b25357f4b0b50db4
2016-02-26 13:20:31 -08:00
Chris Manchester
5adf169610 Bug 1250961 - Move testing/xpcshell/Makefile.in to moz.build. r=gps
MozReview-Commit-ID: 8J9RzA0RZ0i

--HG--
extra : rebase_source : f202d8fb0b79be8c665bed5af54592292802ad0d
2016-02-26 13:20:31 -08:00
Patrick McManus
57205a2a42 Bug 1249379 - H2 Push WindowUpdate not written to network r=hurley 2016-02-18 15:00:46 -05:00
Dave Townsend
0a913f73ee Bug 1245916: Add additional default globals. r=felipe
This defines a few additional globals but also turns on the browser environment
for everything in browser and toolkit. This may lead to some false negatives
but we have lots of code that runs in a browser context so in the name of
getting rules turned on I think this is a useful step.

MozReview-Commit-ID: BdWouZGK6d

--HG--
extra : rebase_source : a88116d149af76aa35ee0757b3b51b6f97646ebe
extra : source : 04c1740aa49904a56bd662ee0c8aed69e6f99f8b
2016-02-05 12:12:30 -08:00
Phil Ringnalda
9dc941a05d Backed out 5 changesets (bug 1245916) for browser-chrome and devtools bustages
CLOSED TREE

Backed out changeset 70eca07367f4 (bug 1245916)
Backed out changeset 04c1740aa499 (bug 1245916)
Backed out changeset b554c7ce41c4 (bug 1245916)
Backed out changeset 01675e4828b5 (bug 1245916)
Backed out changeset 878db4caf845 (bug 1245916)
2016-02-15 13:58:27 -08:00
Dave Townsend
6b99474c7c Bug 1245916: Add additional default globals. r=felipe
This defines a few additional globals but also turns on the browser environment
for everything in browser and toolkit. This may lead to some false negatives
but we have lots of code that runs in a browser context so in the name of
getting rules turned on I think this is a useful step.

MozReview-Commit-ID: BdWouZGK6d

--HG--
extra : rebase_source : 13f7319be94e251df7f574f7d239cc31b383fcf8
2016-02-05 12:12:30 -08:00
Ted Mielczarek
ea6f9a1958 bug 1069556 - sync to Breakpad c53ed143108948eb7e2d7ee77dc8c0d92050ce7c. r=glandium, benwa
This commit contains a few things:
* Update our copy of google-breakpad to upstream c53ed143108948eb7e2d7ee77dc8c0d92050ce7c
* Get rid of all but one local patch, fold a few related local patches into one
* Misc build fixup to sync with upstream--adding a few new moz.build files,
  source files
* The final bits of unhooking Breakpad from the profiler:
** Revert to only building toolkit/crashreporter if MOZ_CRASHREPORTER.
** Stop building bits of Breakpad that we only needed for the profiler.
** Remove a few bits of profiler code that were used to interface with Breakpad.
** Remove toolkit/crashreporter/breakpad-logging, which was only used to
   suppress Breakpad logging for the in-process stackwalker.
* Upstream removed their Android-compat sys/ucontext.h because the Android NDK
  added it, but the bionic we're using for Gonk builds is too old, so add a
  copy of the previous version of those files to
  toolkit/crashreporter/gonk-include to keep Gonk building.
* Consolidate moz.build files under toolkit/crashreporter/google-breakpad/client/linux

--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/pathname_stripper.h => toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper.h
rename : toolkit/crashreporter/google-breakpad/src/common/pathname_stripper_unittest.cc => toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper_unittest.cc
extra : histedit_source : 43e65f5432657f548cac5aa7936461e58454c3b6%2C7b56ccc79d9d58ebde0583d920f3593e25212621
extra : rebase_source : f6dbfb8fb2ba5b27e63b26d57c404962679c7a76
extra : commitid : DMQlXPms868
extra : source : 09fd4f3ab6e764016fe073efb226f03b5969af59
extra : intermediate-source : 16f9d3a6d2ef6a6efd088e3b8eff0a4723daef8f
2016-01-27 09:39:53 -05:00
Patrick McManus
c57196d7b9 Bug 1241906 - test for suspended spdy3.1 channel r=hurley
--HG--
extra : rebase_source : bcbeed89580d82472d751a6cc86108eb7f7d943b
2016-02-05 11:17:24 -05:00
Paolo Amadini
8b8676204b Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
--HG--
extra : commitid : yWjnDGhk9j
extra : rebase_source : 24228660defd6971a621d52eee0b79be823c6926
extra : amend_source : ef8de24265fa9026b0f764a63453b816442f7232
extra : source : 3958782fe187026cbc3755ad6eae6920e67fa7d2
2016-02-03 12:58:03 +00:00
Marco Bonardo
00fe34957a Bug 1244723 - xpcshell should shutdown profile after all the registered cleanup functions, not before them. r=ted
--HG--
extra : commitid : 725U9rSPg8q
2016-02-03 12:35:07 +01:00
Wes Kocher
1b65a8ee2f Backed out changeset e8148cda7d85 (bug 989960) for xpcshell bustage
--HG--
extra : commitid : Bxwy5tzArNN
extra : rebase_source : a15513777534e54d05fda5037f24e15ac089b313
2016-02-01 08:25:19 -08:00
Paolo Amadini
ecd744bdef Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
--HG--
extra : commitid : 6aGIHyyYqSo
extra : rebase_source : 38fbf5e49d06970555a088c5ea3f8379e2064767
extra : source : 3958782fe187026cbc3755ad6eae6920e67fa7d2
2016-01-30 18:53:56 +00:00
Phil Ringnalda
d42eb10039 Back out 3958782fe187 (bug 989960) for Android crashes in test_watchdog_default.js 2016-01-29 20:12:44 -08:00
Paolo Amadini
aceee7aafc Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
--HG--
extra : commitid : IkcxJUamV6B
extra : rebase_source : 07255457ec607c45037f832ca44a01f17a00da78
2016-01-29 13:19:53 +00:00
Nicholas Hurley
7d0ef36f29 Bug 1242650 - Allow local use of node-http2 from a custom location (instead of in-tree version). r=mcmanus
--HG--
extra : rebase_source : da946aa11c7c957b658e8d00383e5f8d089239c0
2016-01-13 12:14:59 -08:00
Andreas Tolfsen
a9bbc162ce 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.

--HG--
extra : rebase_source : a1f55d8476f73983d752222ff993962713f7b5e8
2016-01-19 13:48:53 +00:00
Philipp Kewisch
1f1671ee48 Bug 1192533 - Allow running only one test via add_task.only() or skipping via add_task.skip(). r=ted 2016-01-10 16:40:12 +01:00
Dave Townsend
99e46fd0e0 Bug 1237340: Fix browser and toolkit eslint failures. r=Felipe
--HG--
extra : rebase_source : 3e1098fe6d387bed1edcad365e318c484e8989ea
2016-01-06 10:10:35 -08:00
Dave Townsend
ca9efe5553 Bug 1229142: Add shared eslintrc files for the different test suites. r=Standard8
--HG--
extra : commitid : AhpmLFDapbw
extra : rebase_source : 2f78e3b01a56c9fb969370967ee20acaf53bd570
extra : histedit_source : 3c8e2b70317bc799d25ff5c6012aa878feecc668
2015-12-17 15:28:06 -08:00
Geoff Brown
c0573a940f Bug 1144393 - Use /storage/sdcard in preference to /sdcard for adb device root and enable test_file_equality.js; r=jmaher 2015-12-21 14:24:08 -07:00
J. Ryan Stinnett
84886db8e6 Bug 1231759 - Explain DevTools appdir issue when debugging xpcshell. r=Gijs
--HG--
extra : rebase_source : f8bb0a223fff0cf2555188700bccdb2f80b115f3
2015-12-15 10:14:31 -06:00
Julian Seward
aaa346467a Bug 1222043 - Make "mach xpcshell-test" more TSan-friendly. r=ahalberstadt. 2015-11-25 12:38:20 +01:00
Alexandre Poirot
02e511006d Bug 1113865 - Replace all calls to dbg_assert with DevToolsUtils.assert. r=fitzgen 2015-11-16 07:22:49 -08:00
Edgar Chen
b7041c4fe1 Bug 1216507 - Use the correct busybox binary for x86 emulator. r=ahal
--HG--
extra : commitid : Ey1NBOsP7ux
extra : rebase_source : 6c0aecfedfc19b1af960a0333a2cd192edfd3273
extra : amend_source : 3e0973c5bc3cbf975c16e180ad06f5405a7ab1ef
2015-10-10 12:00:18 +08:00
J. Ryan Stinnett
986f2a5cde Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05:00
James Graham
7c64f71620 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
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo
76da4d1112 Bug 1202902 - Support non-syntactic extensible lexical scopes. (r=billm) 2015-10-06 14:00:29 -07:00
Nicholas Hurley
90183c451d Bug 1197847 - Disallow folded headers in h2. r=mcmanus
This also fixes a lot of situations in which we could get a compression
state out of sync with the server, which would be Very Bad.

--HG--
extra : rebase_source : 53b87c3cacd34c496f4c63cddda606d005a383e5
2015-09-22 19:58:14 -07:00
Nicholas Hurley
4c3788b7e0 Bug 1197847 - make debugging h2 and spdy test servers easier. r=mcmanus
--HG--
extra : rebase_source : d7559f26af0fb04ae2249db4acc181ff9be6eb6b
2015-10-05 13:13:05 -07:00
Gregory Szorc
a9b7ca4989 Bug 1208320 - Produce xpcshell archive without staging test files; r=glandium
This commit produces the xpcshell test archive without staging 5000+
xpcshell test files first.

We teach the archiver to ignore .mkdir.done files.

The xpcshell Makefile.in still stages some files. This is less than
ideal. However, it is a small handful of files and shouldn't add too
much overhead.

This appears to not impact overall CPU usage significantly on my
machine, despute using Python instead of `zip`. It does reduce I/O
by ~25MB by avoiding the staging copy.

--HG--
extra : commitid : IwvLaYvAbFt
extra : rebase_source : a690ae4b1adbabd491851a2479fa66d81241601b
2015-09-30 09:36:16 -07:00
Tooru Fujisawa
c09bf851bf Bug 1207499 - Part 10: Remove use of expression closure from testing/. r=jmaher
--HG--
extra : commitid : JE0Z0vdpjeI
extra : rebase_source : 3aa4d858e141afceec370343630ebd1d6f2a0d52
2015-09-23 18:42:19 +09:00
Andrew Halberstadt
5330ac1f89 Bug 1042998 - Use StructuredLog.jsm for mochitest logging, r=chmanchester
--HG--
extra : commitid : 5hwiCNY4xAI
extra : rebase_source : 4f72ebe622669bb4f5df2c0be40d156e91c229f3
2015-09-04 14:37:32 -04:00
Chris Manchester
6a45b54812 Bug 1209312 - Accept test_objects in testing/xpcshell/mach_commands.py to support |./mach test|. r=jgraham
--HG--
extra : commitid : 7hOvYy0xdzm
2015-09-29 12:59:55 -07:00
Dave Townsend
7c204151f3 Bug 1192924: Check for updated system add-ons and download and install them. r=rhelmer
This performs the update check for system add-ons. It runs as part of the daily
add-on update checks similar to hotfix checks. Currently no URL is set so builds
won't actually start checking yet.

I've taken a few shortcuts here by only staging updates and needing a restart to
install as well as always downloading updates rather than using existing local
copies. At least the latter probably needs fixing before turning this on but
it makes more sense to iterate on those in tree.

--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system1@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app3/features/system1@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1_badcert.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system1@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_2.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system2@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system2_1.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system3@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system3_1.xpi
extra : commitid : Ex9NNNduxhK
extra : rebase_source : 99088404019f53a8a76105c66edce404f2c7e454
2015-09-10 10:57:39 -07:00
Wes Kocher
468b697f04 Backed out 3 changesets (bug 1192924) for Android bustage CLOSED TREE
Backed out changeset 30d612836685 (bug 1192924)
Backed out changeset a6860f880e01 (bug 1192924)
Backed out changeset 10e1fa2cc23a (bug 1192924)

--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system1@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system2_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system2@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_2.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system1@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system3_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system3@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1_badcert.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app3/features/system1@tests.mozilla.org.xpi
2015-09-22 11:02:55 -07:00
Dave Townsend
d039cf8d34 Bug 1192924: Check for updated system add-ons and download and install them. r=rhelmer
This performs the update check for system add-ons. It runs as part of the daily
add-on update checks similar to hotfix checks. Currently no URL is set so builds
won't actually start checking yet.

I've taken a few shortcuts here by only staging updates and needing a restart to
install as well as always downloading updates rather than using existing local
copies. At least the latter probably needs fixing before turning this on but
it makes more sense to iterate on those in tree.

--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system1@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app3/features/system1@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1_badcert.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system1@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_2.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system2@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system2_1.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system3@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system3_1.xpi
extra : commitid : CuRP3svf6aO
extra : rebase_source : 0a67da41a0a7b27ecb042875ebf13b7b69ec5c84
extra : histedit_source : e96ecd9a4a56e503b4df0e2a0ecd1ac82a716a66
2015-09-10 10:57:39 -07:00
J. Ryan Stinnett
efe328f1b2 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.

--HG--
extra : commitid : F2ItGm8ptRz
extra : rebase_source : b082fe4bf77e22e297e303fc601165ceff1c4cbc
2015-09-21 12:04:18 -05:00
Geoff Brown
2df062e513 Bug 1206142 - Use adb as default devicemanager for Android xpcshell tests; r=jgraham 2015-09-18 13:51:57 -06:00
Andrew Halberstadt
422647ac94 Bug 1206073 - [xpcshell] Fix default value for testingModulesDir when running from mach, r=jgraham
--HG--
extra : commitid : KjVjUrw8IZ4
extra : rebase_source : 4ff826498fb3c303e873b8da760671577bd174b7
2015-09-18 10:00:40 -04:00
James Graham
e72c228cfc Bug 1193257 - Make xpcshell harness command line arguments path filters for tests, r=ahal 2015-09-17 10:51:02 +01:00
James Graham
39b6367572 Bug 1193224 - Remove vestigial --tests-root-dir option from xpcshell tests, r=ahal 2015-09-17 10:51:00 +01:00
Patrick McManus
b095cc3e9b bug 1204614 - test for h2 per stream flow control r=hurley 2015-09-14 14:08:10 -04:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Wes Kocher
e2c033639c Backed out 7 changesets (bug 1181516, bug 1198257, bug 1193257, bug 1194166, bug 1193223, bug 1193224, bug 1181520) for breaking android 4.0 debug reftests CLOSED TREE
Backed out changeset 25f22b3433e0 (bug 1194166)
Backed out changeset a824847677c5 (bug 1193257)
Backed out changeset 6cc19a8f1bb0 (bug 1193224)
Backed out changeset bf1271f6cfa0 (bug 1198257)
Backed out changeset 75b3c43770bd (bug 1193223)
Backed out changeset 81a5cf4c8f19 (bug 1181516)
Backed out changeset db3691ee6fd1 (bug 1181520)
2015-09-15 08:52:19 -07:00
James Graham
b2ff60e70c Bug 1193257 - Make xpcshell harness command line arguments path filters for tests, r=ahal 2015-09-15 15:33:37 +01:00
James Graham
bf3f4b3d18 Bug 1193224 - Remove vestigial --tests-root-dir option from xpcshell tests, r=ahal 2015-09-15 15:33:36 +01:00
Dragana Damjanovic
a7f75d48d4 Bug 1172502 - Add message encription for WebPush. r=mt r=kitcambridge r=keeler r=smaug
--HG--
extra : commitid : FsE5V9w4fej
extra : amend_source : 8b44837b765bd319cadc93a53948264dfbd87ecf
2015-09-11 07:51:32 -07:00
Carsten "Tomcat" Book
b3ee47117c Backed out 7 changesets (bug 1181516, bug 1198257, bug 1193257, bug 1194166, bug 1193223, bug 1193224, bug 1181520) for test bustages on Android on a CLOSED TREE
Backed out changeset efe681ac063f (bug 1194166)
Backed out changeset bfcbce193ccf (bug 1193257)
Backed out changeset bb035419fd9c (bug 1193224)
Backed out changeset eb2d48b71c37 (bug 1198257)
Backed out changeset 0d6532c1e99e (bug 1193223)
Backed out changeset da3dd2f650d0 (bug 1181516)
Backed out changeset 29c33bbaac01 (bug 1181520)
2015-09-11 14:18:09 +02:00
James Graham
c6da3f4915 Bug 1193257 - Make xpcshell harness command line arguments path filters for tests, r=ahal 2015-09-11 12:30:14 +01:00
James Graham
e34ca60662 Bug 1193224 - Remove vestigial --tests-root-dir option from xpcshell tests, r=ahal 2015-09-11 12:30:14 +01:00
Nathan Froyd
956d3c942b 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
Geoff Brown
65a6116f7a Bug 1202102 - Apply szip to libs pushed for Android cppunit and xpcshell tests; r=dminor 2015-09-09 07:12:58 -06:00
Geoff Brown
9d0233b267 Bug 1202790 - Improve argument handling for android 'mach xpcshell-test'; r=chmanchester 2015-09-09 07:12:56 -06:00
Nick Fitzgerald
7af93cdc2a Bug 1200446 - Add a method for saving heap snapshots to MemoryActor; r=jryans 2015-09-04 18:36:52 -07:00
Geoff Brown
2015a6ea72 Bug 1164596 - Add mach android-emulator command; r=ahal 2015-09-01 15:07:53 -06:00
Gijs Kruitbosch
75c948317e Bug 1198716 - fix xpcshell --jsdebugger argument, r=jryans
--HG--
extra : commitid : JlmsELDMNm0
extra : rebase_source : cb9d862553b54adb24b53bc5b9fab9e669a20686
extra : histedit_source : 579669f9bb50f53237b8e08334b36ab39d9e34e0
2015-08-26 21:57:24 +01:00
Vaibhav Agrawal
7ec736a594 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
6006fe1ee6 Bug 1192291 - use llvm-symbolizer when running xpcshell tests under TSan; r=ted 2015-08-07 02:58:05 -04:00
Hiroyuki Ikezoe
d0b622ad0f Bug 1150818 - Part 2: Load mozinfo.json into xpcshell tests. r=ted 2015-08-20 16:06:00 -04:00
Alexandre Poirot
9c0a24f39a Bug 1190452 - Always import toolkit/devtools/server/main.js as CommonJS module. r=jryans 2015-08-10 05:38:56 -07:00
David Keeler
59ef11f506 bug 1188100 - fold PSM's test_client_cert.js into necko's test_tls_server.js r=mcmanus
--HG--
rename : security/manager/ssl/tests/unit/test_client_cert/cert_dialog.js => netwerk/test/unit/client_cert_chooser.js
rename : security/manager/ssl/tests/unit/test_client_cert/cert_dialog.manifest => netwerk/test/unit/client_cert_chooser.manifest
extra : amend_source : 249efd8e1bc537cf14b3199865df18b8aba62d10
2015-07-29 14:27:54 -07:00
Julien Pagès
23e4c1d4a3 Bug 1091285 - move dumpScreen in a new mozscreenshot package. r=jgriffin
This also completely remove build/automationutils.py.

--HG--
extra : commitid : 50v6EAQNEHV
extra : rebase_source : 4ac1347d73498f068979514c6afb16ac50ab4033
2015-07-29 17:50:16 +02:00
Alessio Placitelli
5470b35b29 Bug 1168835 - Add test coverage for pending-pings quota. r=gfritzsche 2015-07-20 08:46:00 +02:00
Andrew Halberstadt
2be5ff0c10 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.

--HG--
rename : testing/mozbase/docs/mozlog_structured.rst => testing/mozbase/docs/mozlog.rst
rename : testing/mozbase/mozlog/mozlog/structured/commandline.py => testing/mozbase/mozlog/mozlog/commandline.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/__init__.py => testing/mozbase/mozlog/mozlog/formatters/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/base.py => testing/mozbase/mozlog/mozlog/formatters/base.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/errorsummary.py => testing/mozbase/mozlog/mozlog/formatters/errorsummary.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/__init__.py => testing/mozbase/mozlog/mozlog/formatters/html/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/html.py => testing/mozbase/mozlog/mozlog/formatters/html/html.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/main.js => testing/mozbase/mozlog/mozlog/formatters/html/main.js
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/style.css => testing/mozbase/mozlog/mozlog/formatters/html/style.css
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/xmlgen.py => testing/mozbase/mozlog/mozlog/formatters/html/xmlgen.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/machformatter.py => testing/mozbase/mozlog/mozlog/formatters/machformatter.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/tbplformatter.py => testing/mozbase/mozlog/mozlog/formatters/tbplformatter.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/unittest.py => testing/mozbase/mozlog/mozlog/formatters/unittest.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/xunit.py => testing/mozbase/mozlog/mozlog/formatters/xunit.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/__init__.py => testing/mozbase/mozlog/mozlog/handlers/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/base.py => testing/mozbase/mozlog/mozlog/handlers/base.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/bufferhandler.py => testing/mozbase/mozlog/mozlog/handlers/bufferhandler.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/statushandler.py => testing/mozbase/mozlog/mozlog/handlers/statushandler.py
rename : testing/mozbase/mozlog/mozlog/structured/logtypes.py => testing/mozbase/mozlog/mozlog/logtypes.py
rename : testing/mozbase/mozlog/mozlog/structured/reader.py => testing/mozbase/mozlog/mozlog/reader.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/__init__.py => testing/mozbase/mozlog/mozlog/scripts/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/format.py => testing/mozbase/mozlog/mozlog/scripts/format.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/logmerge.py => testing/mozbase/mozlog/mozlog/scripts/logmerge.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/unstable.py => testing/mozbase/mozlog/mozlog/scripts/unstable.py
rename : testing/mozbase/mozlog/mozlog/structured/stdadapter.py => testing/mozbase/mozlog/mozlog/stdadapter.py
rename : testing/mozbase/mozlog/mozlog/structured/structuredlog.py => testing/mozbase/mozlog/mozlog/structuredlog.py
rename : testing/mozbase/mozlog/mozlog/logger.py => testing/mozbase/mozlog/mozlog/unstructured/logger.py
rename : testing/mozbase/mozlog/mozlog/loggingmixin.py => testing/mozbase/mozlog/mozlog/unstructured/loggingmixin.py
rename : testing/mozbase/mozlog/mozlog/loglistener.py => testing/mozbase/mozlog/mozlog/unstructured/loglistener.py
extra : commitid : 3JWk75JY4N0
extra : rebase_source : 229bad7a7bf8ead013ce62d128c0896a75cad393
2015-07-16 10:38:40 -04:00
Gregory Szorc
4b8238e9dc Bug 1176642 - Defer import of urllib2; r=chmanchester
This prevents 8 module imports from occurring at mach startup time.

As part of this, I discovered a redundant import of "sys" and eliminated
it.

--HG--
extra : commitid : AsZJHdCVbV0
extra : rebase_source : 53b1d5912ba85c7d363d9da21329a6fa65a2bce2
2015-06-25 12:12:15 -07:00
Gregory Szorc
3e949ee8fe Bug 1176642 - Use absolute_import in mach_commands.py files; r=glandium
This removes ambiguity as to which modules are being imported, making
import slightly faster as Python doesn't need to test so many
directories for file presence.

All files should already be using absolute imports because mach command
modules aren't imported to the package they belong to: they instead
belong to the "mach" package. So relative imports shouldn't have been
used.

--HG--
extra : commitid : 6tFME1KKfTD
extra : rebase_source : 78728f82f5487281620e00c2a8004cd5e1968087
2015-06-21 17:39:09 -07:00
Michael Layzell
143cb59a10 Bug 1173503 - Make do_check_true output include the passed message in xpcshell unit tests r=ted 2015-06-19 14:27:37 -07:00
Alessio Placitelli
61d2710314 Bug 1169159 - Make xpcshells run_test_in_child() and do_await_remote_message() return promises. r=ted,gfritzsche 2015-06-03 04:41:00 +02:00
Chris Manchester
ba2b70542e Bug 487494 - Pipe xpcshell's output through a stack fixer.;r=ted
--HG--
extra : commitid : CqKC3uLqzB
2015-06-11 11:21:13 -07:00
Chris Manchester
cdcbf20157 Bug 487494 - Add an xpcshell selftest for readable stacks from assertions.;r=ted
--HG--
extra : commitid : HBFkFrdYLoe
2015-06-11 11:21:12 -07:00
James Graham
43a3f73c63 Bug 1171849 Let consumers override mozlog default formatter options, r=chmanchester 2015-06-05 17:48:06 +01:00
Dragana Damjanovic
7cbd07a051 Bug 1150812 - xcpshell test for PushService with http2. r=nsm, r=mt 2015-06-02 07:16:00 -04:00
Robert Strong
547c00c74f 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
Patrick McManus
59fdf06bcd Bug 1159944 - more alt-svc tests r=hurley 2015-04-30 20:53:20 -04:00
Chris Manchester
17cb2cc298 Bug 1160164 - Run "all the tests" when invoking xpcshell's mach command with no arguments instead of passing "all" to the test resolver.;r=ahal DONTBUILD 2015-04-30 11:30:10 -07:00
ziyunfei
e1db0f779e Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Hiroyuki Ikezoe
fc6e6e9d62 Bug 1150822 - Need ability to skip each test on a given conditions. r=ted 2015-04-27 20:39:00 +02:00
Georg Fritzsche
6e361d8781 Bug 885389 - Add test coverage for do_get_profile() observer notifications. r=ted 2015-04-21 16:30:37 +02:00
Georg Fritzsche
3dd8b71099 Bug 885389 - Make do_get_profile() optionally fire profile-after-change on completion. r=ted 2015-04-21 16:30:36 +02:00
Georg Fritzsche
3bb6a9ea3f Bug 1150134 - Part 3: Avoid hitting the network from Telemetry for xpcshell tests. r=yoric 2015-04-14 16:49:57 +02:00
Wes Kocher
381ed5c1ba Merge inbound to m-c a=merge 2015-04-13 17:13:10 -07:00
Carsten "Tomcat" Book
0e18f2d43d Merge mozilla-central to fx-team 2015-04-13 12:10:00 +02:00
Mark Hammond
1a137f9914 Bug 1074014 - allow verbose=true in xpcshell test manifests. r=ted 2015-04-13 10:32:55 +10:00
Ehsan Akhgari
29102666d0 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
Krishnashish Gogoi
e4c0a72b3f Bug 982852 - Added a test case for checking multiple add_task() tests without run_test(); r=gps
There's a test for add_task() in selftest.py called ADD_TASK_MULTIPLE, which tests if
multiple add_task() tests are working. The test added in this commit does the exact same
except without run_test(). Since the original tests included this, I thought it would make
a good case for checking if the removal of run_test() is working as expected. Please remove
if this is unnecessary.

--HG--
extra : rebase_source : f6617259056db7ac7a658a89063694f51408b8ce
2015-04-03 02:24:24 +05:30
Krishnashish Gogoi
969ba3e8a7 Bug 982852 - Add failing cases to selftest.py when run_test() is not present; r=gps
Since the simple test cases before this bug had cases for both passing and
failing, it would be a good idea to follow suit and add similar failing tests
for when run_test() is omitted.

Like the other simple tests defined in selftest.py, SIMPLE_FAILING_TEST,
ADD_TEST_FAILING, etc., it follows a similar pattern except these are done
without run_test() defined.

--HG--
extra : rebase_source : a1ef9a7b9e8274fe981864c5e021c80d2d66f7ec
2015-04-03 02:12:30 +05:30
Krishnashish Gogoi
bf13167dea Bug 982852 - Add cases to check that tests without run_test() work; r=gps
Four new test cases have been added to testing/xpcshell/selftest.py.
These new tests check that tests where run_test() is not defined
work properly.

The test cases check the following cases:
1. when only add_test() is used.
2. when only add_task() is used.
3. when both add_task() and add_test() is used.
4. when a test file is empty, i.e. contains no add_test(), add_task() or
  run_test().

Test bodies only consist of do_check_true(true) calls to make up a minimal
test without run_test() in the same vein as the other simple tests defined
previously.

Also, broke a comment up that was too long.

--HG--
extra : rebase_source : 48d055680ba8108816ecbe07008496c5281f46cc
2015-04-03 01:43:54 +05:30
Krishnashish Gogoi
a80b42da44 Bug 982852 - Make run_test() in xpcshell-tests optional; r=gps
As referenced in Bug 982852, this fix makes run_tests() optional.
Test cases can now consist of add_test() and add_task() calls
without the need to exclusively set up a run_test() just to call
run_next_test() inside it. If run_test() however is defined, it
will be called directly as usual, which should keep all older
tests working without breaking.

Since most run_test() calls right now are mostly boilerplate and
usually are of the form -- function run_test(){run_next_test();} --
this fix checks if run_test is defined by using the typeof operator
which should evaluate to "function" if it is defined. If defined,
it is called straight away, otherwise, run_next_test() is called,
which is what run_test() usually does when used as a set up to
call tests registered by add_test() and add_task().

--HG--
extra : rebase_source : 7cfbf30a67e3a8d088f8409edcdde8976f46b941
2015-04-02 22:32:18 +05:30
Brian Grinstead
9dbf84b0a5 Bug 1148996 - Remove selected lightweight theme for mochitest and xpcshell tests;r=jmaher
This is for aurora (dev edition) compatibility.  In this channel, there is a
selected lightweight theme by default.  Tests don't expect this to be the case
so this simply resets the relevant prefs for mochitests and xpcshell tests.
2015-03-31 20:01:04 -07:00
Ted Mielczarek
fb4b821e19 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.

--HG--
extra : rebase_source : 24b04d619891ec95e5df23a2eb7f3277dd3206b2
extra : amend_source : 72139cecdcd695171e2fd0ce8ea7be91c1eebd1a
2015-04-03 08:20:32 -04:00
Ehsan Akhgari
08cc0ef3c1 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
056bddce11 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.

--HG--
extra : rebase_source : d75905da1ca021a15a9538117d3866425f73d962
extra : source : 3c34fd480729e3b6684fba747ff61078f672ce16
2015-03-19 16:15:33 -04:00
Ryan VanderMeulen
378481f17f Backed out changesets acbab9e22691 and 3c34fd480729 (bug 987360) for Android/B2G xpcshell bustage.
CLOSED TREE

--HG--
extra : rebase_source : d79b1dcfb12ae8e12efefd7d15b8a2f9f5063377
2015-03-27 13:12:19 -04:00
Andrew Halberstadt
68400e6cbd Bug 987360 - Fix b2g/android xpcshell bustage, r=bustage 2015-03-27 12:17:00 -04:00
Andrew Halberstadt
e3068d1b6f 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.

--HG--
extra : rebase_source : 68a0931c6a8ee1df4f5c09d67c396490774aa856
2015-03-19 16:15:33 -04:00
Eddy Bruël
f965a63d67 Bug 1141507 - Some preliminary refactors;r=jlong 2015-03-26 20:15:36 +01:00
Andrew Halberstadt
46e05e346f Bug 1146871 - Make xpcshell use manifestparser's chunking algorithm, r=jmaher
--HG--
extra : rebase_source : f5ee7061862f1e07334829750577034cc807e0cb
2015-03-24 09:21:11 -04:00
Eddy Bruël
9a0e51df00 Bug 1131646 - Clean up the breakpoint code;r=jlongster 2015-03-11 15:15:40 +01:00
Alexandre Poirot
2b002a6748 Bug 1059308 - Fix tests to support chrome actor. r=jryans 2015-02-26 03:56:00 +01:00
Szu-Yu Chen [:aknow]
42fbfc7d74 Bug 1133649 - Add an always true condition for xpcshell-test. r=gps 2015-03-05 18:00:23 +08:00
Nicholas Hurley
6eb4be429d Bug 1136361 - update node-http2 on ci. rs=mcmanus 2015-02-26 11:00:38 -08:00
Alessio Placitelli
deb826f3fb Bug 1111022 - Tests for the SelfSupport backend. r=gfritzsche 2015-01-09 11:18:00 +01:00
Geoff Brown
e11572838a Bug 1130187 - Optimize devicemanager calls during remote xpcshell tests; r=bc 2015-02-12 16:48:41 -07:00
Geoff Brown
c7d65fd1a2 Bug 1128745 - Avoid 'no attribute' error on remote xpcshell timeout; r=jmaher 2015-02-12 16:48:40 -07:00
Patrick McManus
66ba35c626 bug 1130874 - test for alt-svc -06 h2 extension r=hurley 2015-02-08 09:11:22 -05:00
Patrick McManus
c19611d6a0 bug 1130874 - h2 test server altsvc 06 r=hurley
This only updates node-http2 for mozilla's CI needs by supporting
sending of the AltSvc frame (-06). It does not implement receiving or
the node internal tests.
2015-02-08 09:00:39 -05:00
Chris Peterson
ac2c208d22 Bug 1129336 - Remove nonstandard let blocks from testing/xpcshell. r=chmanchester 2015-01-24 23:34:40 -08:00
Patrick McManus
892f49c420 bug 1102923 - test_spdy backend separate push body and err handlers r=test-only 2015-02-05 20:44:25 -05:00
Patrick McManus
3de09b658c bug 1102923 - give spdy push test an error handler r=test-only 2015-02-05 12:41:26 -05:00
Chris Manchester
52c52854d6 Bug 1128584 - Only log valid status values when processing errors in xpcshell's head.js;r=ted 2015-02-02 13:32:49 -05:00
Eddy Bruël
399f1de8fb Bug 1126193 - setBreakpoint should not take a full location;r=fitzgen 2015-02-04 07:42:33 +01:00
Patrick McManus
92c38efcb0 bug 1128038 - h2 DAV methods set end_stream bit twice r=hurley 2015-02-02 13:42:23 -05:00
Nicholas Hurley
78cf4bc133 Bug 958712 part 3/3 - CONTINUATION tests r=mcmanus
--HG--
extra : rebase_source : e2598f72e6e767c09defd1f49266aaaab7b14505
2015-01-30 11:13:31 -08:00
Nicholas Hurley
18fbf37a24 Bug 958712 part 1/3 - update CI node-http2 to v3.1.1 r=mcmanus
--HG--
extra : rebase_source : 0eeea5f7fd3809d9dbe2a1bed34104ce6336f32a
2015-01-30 11:15:41 -08:00
Nicholas Hurley
1e8fe60386 No Bug - Fix js whitspace in h2 test and server. r=mcmanus
--HG--
extra : rebase_source : 6d89e846b108828e630c5e3aed8e6075bf533f77
2015-01-30 11:29:14 -08:00
Geoff Brown
0f3021e9c6 Bug 1127928 - Increase pushDir timeout for xpcshell tests directory to 600 seconds; r=wlach 2015-01-30 15:23:41 -07:00
Joshua Cranmer
4f74dc4614 Bug 934170: Make mach xpcshell-test work for comm-central, r=ted
--HG--
extra : rebase_source : d5ce19f18108c598aaa0a519e73a268f1dba91b5
2015-01-30 09:54:00 -06:00
Patrick McManus
ca5f74b06d bug 1124717 - 4/4 test r=hurley 2015-01-26 16:41:47 -05:00
Patrick McManus
5b201c8a70 bug 1124717 - 2/4 update CI to node-http2 3.1.0 to fix flow control issue r=hurley
a test for 1124717 ran into
https://github.com/molnarg/node-http2/issues/89 which is fixed in this update
2015-01-26 20:21:54 -05:00
Ryan VanderMeulen
ab1e320c97 Merge fx-team to m-c. a=merge 2015-01-26 16:34:12 -05:00
J. Ryan Stinnett
9b3a983e79 Bug 1103120 - Part 8: Server: Use promises and results in allowConnection. r=past 2015-01-26 12:47:13 -06:00
J. Ryan Stinnett
de60148114 Bug 1103120 - Part 6: Server: Move allowConnection to authenticator. r=past 2015-01-26 12:47:13 -06:00
Patrick McManus
2dfcd7ae19 bug 1102923 - testing spdy server restart on unhandled exception r=test-only 2015-01-22 12:07:43 -05:00
Patrick McManus
d4a8b1d40d bug 1102923 - log node moz-spdy and moz-http2 output on shutdown r=ted 2015-01-23 12:09:47 -05:00
Patrick McManus
0587d8c35c bug 1102923 - move spdy/h2 tests off fixed port r=hurley r=ted 2015-01-15 11:12:05 -05:00
Patrick McManus
d0d97ad7ef bug 1072478 - h2 push hit not subject to max_concurrent 2/2 r=hurley
--HG--
extra : rebase_source : 4c49f74dc4b7ed8cead65dc3c78a2c8ae5ddf5e3
2015-01-13 15:26:37 -05:00
Geoff Brown
506fb1c3fd Bug 1119583 - Use Droid instead of devicemanager for xpcshell mach; r=ahal 2015-01-12 14:33:43 -07:00
Patrick McManus
a12670699c bug 1119280 - fix large spdy/h2 transfer truncation r=hurley 2015-01-09 10:18:28 -05:00
Wes Kocher
1d86126a67 Merge mozilla-central to fx-team a=merge 2015-01-08 17:17:13 -08:00
Mark Hammond
bee2d8a0f5 Bug 1116708 - xpcshell tests now log console messages. r=chmanchester 2015-01-09 10:00:05 +11:00
Mark Hammond
1738e10508 Backout 40b7a74be389 due to wrong bug number in commit message 2015-01-09 09:56:25 +11:00
Mark Hammond
f19948b19d Bug 1117001 - xpcshell tests now log console messages. r=chmanchester 2015-01-09 09:53:34 +11:00
Nicholas Nethercote
97b5d348cc Bug 1014341 (part 1) - Remove trace-malloc. r=dbaron,glandium.
--HG--
extra : rebase_source : 771710c5427141d738eef112fab00951eb8e20e3
2015-01-07 16:13:03 -08:00
Philipp Kewisch
abb9851cdb Bug 1084066 - plugins and extensions moved to wrong directory by mozharness. r=ted 2015-01-03 01:29:57 +01:00
Gregory Szorc
6644cc93eb 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.

--HG--
extra : rebase_source : 7cf18c8261d375437187a1c256b0b7f8ae0cbb30
extra : amend_source : 952eef1f385962005833c12f643ebb5ea02c93f3
extra : histedit_source : 285bda4330b2997afcc048ecc81f84173d422582
2014-12-23 21:34:01 -08:00
Patrick McManus
2bf4c5e7a9 bug 1003450 [1/3] - node-http2 refuses PRIORITY in idle state r=hurley
This only impacts the CI for h2-16

node-http2 as of at least 3.0.1 generates protocol error upon receipt
of PRIORITY frames in the IDLE state.. the http2 makes this clearly
legal in 5.1 Stream States -> idle  "Receiving any frames other than
HEADERS, PUSH_PROMISE or PRIORITY on a stream in this state MUST be treated as a connection error
(Section 5.4.1) of type PROTOCOL_ERROR."


---
 testing/xpcshell/node-http2/lib/protocol/stream.js | 2 ++
 1 file changed, 2 insertions(+)
2014-12-09 11:59:58 -05:00
Wes Kocher
6d3a321489 Merge inbound to m-c a=merge 2014-12-11 16:50:45 -08:00
Mark Hammond
f02be754db Bug 1109563 - fix xpshell-test debugging. r=past 2014-12-11 19:13:12 +11:00
J. Ryan Stinnett
a0a3a60049 Bug 1059001 - Part 1b: Update openListener callsites. r=past 2014-12-10 20:55:51 -06:00
Nicholas Hurley
f42d623474 Bug 1107267 - Advertise h2-16. r=mcmanus 2014-12-04 11:50:38 -08:00
J. Ryan Stinnett
6bbfd73703 Bug 1058997 - Part 3b: Update non-trivial security prompts. r=past 2014-12-01 22:55:56 -08:00
Mark Hammond
6aaa535030 Bug 809561 - Integrate xpcshell test harness with chrome remote debugging. r=past/chmanchester 2014-11-29 10:40:58 +11:00
Patrick McManus
cec693e1bc bug 1104987 - cleanup h1 instances in h2 tests promptly r=hurley 2014-11-25 16:24:02 -05:00
Andrew McCreight
c0b02a0607 Bug 1100695 - Wait for child to finish in test_child_assert XPCShell unit test. r=chmanchester 2014-11-24 11:34:03 -08:00
Chris Manchester
986e870090 Bug 1098121 - Disable xpcshell selftest for timeouts due to intermittent timeouts. r=ted 2014-11-13 12:15:41 -05:00
Nazma Panjwani
9bd7bfc683 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
Ryan VanderMeulen
9a56a97e41 Backed out changesets 34a66a625618, 32db3daa20fe, and ac15ba8568c5 (bug 1102219) for Gaia unit test failures.
--HG--
extra : rebase_source : 0266cc0b2a6568ca653885745f381df8d6d167ec
2014-12-11 11:28:30 -05:00
ziyunfei
5f470bd4a1 Bug 1102219 - Part 3: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2014-12-10 20:50:00 -05:00
Chris Manchester
3947bf29a0 Bug 1108781 - Log relative paths as test identifiers in xpcshell. r=ahal 2014-12-09 15:38:18 -05:00
Patrick McManus
b71548470c bug 1097944 - node-spdy 1.29.1 for spdy/3.1 updates 1/2 r=hurley 2014-11-14 20:04:19 -05:00
Nicholas Hurley
083547dbdc Bug 1094519 - Advertise h2-15 in addition to h2-14. r=mcmanus 2014-11-10 21:17:00 +01:00
Nicholas Hurley
2b6d3a17ba Bug 1049814 - Retry REFUSED_STREAMs on the same session. r=mcmanus 2014-11-06 09:47:00 -05:00
Chris Manchester
733221f8b6 Bug 1093834 - Ensure _TEST_NAME is passed to the child process in xpcshell's head.js. r=ted 2014-11-04 20:02:13 -05:00
Nicholas Hurley
e53d01ea81 Bug 1091263 - HTTP_1_1_REQUIRED support. r=mcmanus 2014-11-06 09:26:00 -05:00
Mark Hammond
ea7285f1c0 Bug 1094526 - remove extra \n chars from xpcshell test output. r=chmanchester 2014-11-06 14:56:32 +11:00
Nicholas Hurley
2def8d59cc Bug 1092287 - Update node-http2 to latest master. rs=mcmanus 2014-10-31 15:02:02 -07:00
David Lubin
ed80762e89 Bug 1091277 - Move replaceBackSlashes out of automationutils, r=jgriffin 2014-10-30 14:57:38 -07:00
Tom Tromey
d09e9bb441 Bug 1075072 - Pass debuggerArgs as a string to get_debugger_info. r=ted 2014-10-24 09:40:00 -04:00
Chris Manchester
08900914f0 Bug 1033126 - Convert xpcshell tests to use mozlog.structured format for logging.;r=ted 2014-10-22 15:53:42 -04:00
Nicholas Nethercote
c034f4554a Bug 1076446 (attempt 2) - Make the DMD test work on Windows. r=glandium. 2014-10-09 19:28:33 -07:00
Patrick McManus
bc4244f5a9 bug 1024730 - nsIHttpPushListener r=hurley
co-author: ben brittain <ben@brittain.org>
2014-10-21 14:35:41 -04:00
Carsten "Tomcat" Book
721ef079ea 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
f999a06e8c Bug 1076446 - Make the DMD test work on Windows. r=glandium.
--HG--
extra : rebase_source : 7cc8d3b18b0539ff170a98fa1c5706ff46e20d32
2014-10-09 19:28:33 -07:00
Boris Zbarsky
427f80e0de Bug 1082843. Don't import Promise.jsm into the global scope in xpcshell tests. r=yoric 2014-10-15 00:42:54 -04:00
Nicholas Nethercote
2afe8789d3 Bug 1073312 - Test DMD on TBPL (Linux-only). r=glandium.
--HG--
extra : rebase_source : c35cc2bfd6720db35ece715dc7ef900ab5864409
2014-09-28 20:50:52 -07:00
Wes Kocher
914394a0f9 Merge m-c to inbound a=merge CLOSED TREE 2014-10-08 17:14:42 -07:00
Andrew Halberstadt
df3db8da66 Bug 1079651 - Enable strict manifests in xpcshell, r=chmanchester 2014-10-08 17:15:13 -04:00
Marco Bonardo
44bca121f1 Bug 969633 - xpcshell reruns "tests that failed when run in parallel" when only a single test was executed, r=gps 2014-10-07 16:30:30 +02:00
Andrew Halberstadt
d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Stephen Pohl
579061de7c 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
Nils Ohlmeier [:drno]
7204b2e48f Bug 1049688 - Allow override of MOZ_DISABLE_NONLOCAL_CONNECTIONS. r=froydnj 2014-09-22 09:48:00 -04:00
Szu-Yu Chen [:aknow]
a1c83a9cee Bug 889737 - Part 10: Fix xpcshell tests. r=vicamo 2014-09-22 01:36:00 -04:00
Carsten "Tomcat" Book
d557d05d44 merge m-i to m-c a=merge 2014-09-12 15:07:38 +02:00
Sam Penrose
63696a25e7 Bug 1064973 - Add FxAccounts xpcshell tests to testing/xpcshell/xpcshell_b2g.ini. r=ryanvm 2014-09-09 09:32:03 -07:00
Alessio Placitelli
a7b1ef77b3 Bug 928397 - Enable xpcshell-test debugging on Windows platforms and default debugger detection. r=ted.mielczarek 2014-07-02 13:52:00 +02:00
Birunthan Mohanathas
ce757c922b Bug 1058101 - Move dom/src/json/ into dom/. r=mccr8
--HG--
rename : dom/src/json/moz.build => dom/json/moz.build
rename : dom/src/json/nsJSON.cpp => dom/json/nsJSON.cpp
rename : dom/src/json/nsJSON.h => dom/json/nsJSON.h
rename : dom/src/json/test/mochitest.ini => dom/json/test/mochitest.ini
rename : dom/src/json/test/test_json.html => dom/json/test/test_json.html
rename : dom/src/json/test/unit/decodeFromStream-01.json => dom/json/test/unit/decodeFromStream-01.json
rename : dom/src/json/test/unit/decodeFromStream-small.json => dom/json/test/unit/decodeFromStream-small.json
rename : dom/src/json/test/unit/test_decodeFromStream.js => dom/json/test/unit/test_decodeFromStream.js
rename : dom/src/json/test/unit/test_decode_long_input.js => dom/json/test/unit/test_decode_long_input.js
rename : dom/src/json/test/unit/test_encode.js => dom/json/test/unit/test_encode.js
rename : dom/src/json/test/unit/xpcshell.ini => dom/json/test/unit/xpcshell.ini
2014-08-30 21:43:45 -07:00
David Rajchenbach-Teller
28e7ab4a33 Bug 1059329 - Remove spurious 'System JS : ERROR' in xpcshell. r=ted 2014-08-28 03:09:00 -04:00
Ryan VanderMeulen
fd52d7c394 Bug 1059405 - Double the per-test timeout for xpcshell tests on B2G. r=ahal
CLOSED TREE
2014-08-27 14:05:50 -04:00
Chris Manchester
d2519c2968 Bug 1056952 - Expose xpcshell's verbose option to xpcshell's mach_commands.py. r=ahal 2014-08-21 16:34:55 -04:00
Aseem Raj Baranwal
2bb668c702 Bug 1050877 - media.gmp-manager.url should mention GMP. r=jmaher 2014-08-26 01:53:47 +05:30
Geoff Brown
c3e96d2871 Bug 865006 - Re-order manifest and run a few more xpcshell tests on Android; no review
--HG--
extra : rebase_source : 0c43953ffac68f75036bd20183e3307befa449f9
2014-08-13 16:23:26 -06:00
Sylvestre Ledru
2e0c1ce1ec Bug 1050715 - Update the description of the various tests targed proposed by './mach help' r=jmaher
--HG--
extra : rebase_source : 29019a02711ffce5c148787517051855259b6446
2014-08-09 15:37:29 +02:00
J. Ryan Stinnett
ce8794da11 Bug 1040130 - Allow specifying a client cert for sockets. r=keeler, r=mcmanus 2014-08-07 16:32:00 -04:00
Georg Fritzsche
90fe4a3b19 Bug 1042161 - Set dummy URL for GMP addon updates for xpcshell tests. r=jmaher 2014-08-08 17:46:25 +02:00
J. Ryan Stinnett
ca5222ff32 Bug 1038991 - DevTools security cert generator. r=dkeeler, r=past, r=gps
--HG--
extra : rebase_source : 91340b1e422f1d12333073f000b4c8c96dde8134
2014-08-05 10:23:00 -04:00
Nicholas Hurley
41eb41171a Bug 1046892 part 2 - HTTP/2 draft 14 test updates r=mcmanus 2014-08-05 08:41:11 -07:00
Alessio Placitelli
788bd0a30d Bug 1028090 - Enable xpcshell-test debugging on Windows platforms. r=jmaher 2014-07-28 12:04:00 -04:00
Ms2ger
33f3b92033 Bug 1044657 - Move PYTHON_UNIT_TESTS to moz.build; r=mshal
As a first step, this moves PYTHON_UNIT_TESTS to moz.build as a passthru
variable. In the future, we could hook it up to |mach test|.

The __init__.py files may not need to be in the list, but I don't want to
change the list here.
2014-07-28 17:51:12 +02:00
William Lachance
ba2b4b855e Bug 1036530 - Instantiate / initialize device root only when needed in mozdevice. r=bc 2014-07-11 15:29:30 -04:00
Mike Shal
880e17ce86 Bug 1036557 - Fix 'make check' with no MOZ_OBJDIR; r=glandium 2014-07-07 19:55:51 -04:00