Commit Graph

764 Commits

Author SHA1 Message Date
Nathan Froyd
3cd577bf25 Bug 877824 - log proper TEST-START and TEST-END points for reftests; r=dbaron 2013-05-30 16:14:46 -04:00
Timothy Nikkel
7de8dddcde Bug 879494. Remove bug685516 annotations from reftests, they are not needed anymore. r=khuey 2013-06-05 00:18:54 -05:00
Matt Woodrow
d319b6dc38 Bug 877516 - Extend MOZ_REFTEST_VERBOSE to also send log messages synchronously. r=roc 2013-05-30 14:43:01 +12:00
L. David Baron
3d1b4a8f2d Bug 864686: Make reftest harness print test URL when there is one. r=heycam
I think the case in this bug is the RecvException case.
2013-05-29 16:06:35 +08:00
Mike Shal
5169c0a913 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Joel Maher
5541ca022f Bug 871575 - Set prefs to ensure we don't hit the network in the background during reftest-harness tests on Android, particularly during shutdown when that'll give us NSS crashes, r=philor 2013-05-17 11:20:00 -04:00
Gregory Szorc
1b12175ba0 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Geoff Brown
79a1c821af Bug 872244 - Dump ANR stack traces after Android tests; r=jmaher 2013-05-16 14:32:52 -06:00
Boris Zbarsky
49060b3bcb Bug 862825. Stop trying to snapshot IPC crashtests or jsreftests. r=roc 2013-05-14 14:21:48 -04:00
Ryan VanderMeulen
2e83f084b9 Backed out 4 changesets (bug 869195, bug 870845, bug 872043, bug 862825) for mochitest b-c, mochitest-other, and xpcshell orange on a CLOSED TREE.
Backed out changeset 049889b25a79 (bug 869195)
Backed out changeset fc0bef5a2cfd (bug 862825)
Backed out changeset 267fe0d9c201 (bug 870845)
Backed out changeset 7b06b9d1acb2 (bug 872043)
2013-05-14 16:40:26 -04:00
Boris Zbarsky
0ecc8f7447 Bug 862825. Stop trying to snapshot IPC crashtests or jsreftests. r=roc 2013-05-14 14:21:48 -04:00
Joey Armstrong
26736a0ee2 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Bobby Holley
b78b066ca2 Bug 857356 - Make reftests/crashtest run without XBL scopes. r=bz
I talked about this with bz. The issue is that we have a lot of XUL reftests
that end up getting run as remote XUL given that the reftest harness loads
them with file:// URIs. But realistically most of them probably want to test
the fully-featured XBL environment that we provide to frontend and extensions.

So the compromise here is to do XBL scopes for content, and no XBL scopes
for reftests/crashtests.
2013-05-09 09:16:02 -07:00
Gregory Szorc
298c09657e Bug 856392 - Categorize mach commands; r=jhammel
DONTBUILD (NPOTB)
2013-05-08 17:56:30 -07:00
Geoff Brown
f0b04ba321 Bug 865944 - Use top activity instead of process to check launch success; r=jmaher 2013-05-03 11:37:59 -06:00
Geoff Brown
f5a4ce4925 Bug 865944 - Add droid.py to list of files used by remote reftests and mochitests; r=jmaher 2013-05-03 11:37:51 -06:00
Felipe Gomes
5856e9603b Bug 583976. Part 4 - Enable reftests that require focus on reftest-ipc. r=cjones 2011-10-03 16:15:44 -07:00
Joey Armstrong
321d063783 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Aryeh Gregor
f0404a303a Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Matt Woodrow
24348e3ba2 Bug 852850 - Add the ability for the reftest framework to test whether an element is painted in invalidation tests. r=roc 2013-03-25 13:42:27 -04:00
Gregory Szorc
b20ca87267 Bug 862809 - Add mach reftest-ipc and mach crashtest-ipc; r=bz
DONTBUILD (NPOTB)
2013-04-17 12:06:36 -07:00
Mike Shal
df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Bas Schouten
839048be74 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Bas Schouten
994f84b323 Bug 859791 - Part 2: Set the recording output file before the recording flag. r=jrmuizel 2013-04-09 17:37:56 +00:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Gregory Szorc
ed864c557f Bug 841713 - Add objdir paths to virtualenv; r=ted 2013-03-26 10:35:57 -07:00
Andrew Halberstadt
feb84a1933 Bug 843296 - check for crashes in b2g emulator unittests during failures in marionette start up, r=jgriffin 2013-03-26 09:50:00 -04:00
Bas Schouten
3417d46c39 Bug 854468: Add command-line flag to record Moz2D drawing. r=roc 2013-03-26 03:20:30 +00:00
Jonathan Griffin
a08d6f6ffd Bug 853747 - Set dom.use_xbl_scopes_for_remote_xul for b2g reftests, r=bholley 2013-03-22 12:20:35 -07:00
Andrew Halberstadt
5a7a40cf8b Bug 853558 - Don't use copied over devicemanager files in b2g unittests, r=jgriffin 2013-03-22 16:48:04 -04:00
Bobby Holley
97c5514e25 Bug 844783 - Disable XBL scopes for XUL-whitelisted domains. r=bz 2013-03-21 09:33:34 -07:00
Ryan VanderMeulen
bbc5be3164 Backed out changesets 775abfe4876f and 1b75fab8561b (bug 844783) under suspicion of breaking Windows debug builds on a CLOSED TREE. 2013-03-21 14:15:31 -04:00
Mike Shal
e3efc3a646 Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Bobby Holley
89770792f4 Bug 844783 - Disable XBL scopes for XUL-whitelisted domains. r=bz 2013-03-21 09:33:34 -07:00
Boris Zbarsky
49f1ed4fe8 Bug 852118 followup. Fix the layout debugger to fix bustage 2013-03-19 22:20:16 -04:00
Gregory Szorc
89e86f9b21 Bug 844654 - Part 3: Remove now empty Makefile.in files; rs=khuey
--HG--
extra : rebase_source : 8de9c7f68a953e574dda22f8c14c2b2ca60444f9
2013-03-19 18:49:07 -07:00
Mike Shal
7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc
7d09ff18e0 Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium 2013-03-17 18:01:25 -07:00
Jonathan Griffin
56df28976c Bug 851374 - Don't use _useDDCopy, r=ahal 2013-03-14 17:44:05 -07:00
Matt Woodrow
2e59a3c5bb Bug 702504 - Make USE_WIDGET_LAYERS disabled a test failure. r=roc 2013-03-15 17:41:50 +13:00
Matt Brubeck
683b96e34f Bug 840690 - Improve handling of relative paths when running mach in subdirectories [r=gps] 2013-03-14 11:09:00 -07:00
Bill McCloskey
b1751c143c Bug 846890 - Disable security.fileuri.strict_origin_policy for reftests (r=dbaron,dholbert) 2013-03-08 18:53:06 -08:00
Gregory Szorc
c865547d94 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Bill McCloskey
7401ed1cc2 Back out bug 846890 for reftest orange 2013-03-08 21:27:25 -08:00
Bill McCloskey
7a12ed688b Bug 846890 - Disable security.fileuri.strict_origin_policy for reftests (r=dbaron,dholbert) 2013-03-08 18:53:06 -08:00
Matt Brubeck
f14c84f591 Bug 840360 - Extract reftest-content.js's setTimeout implementation into new Timer.jsm [r=jwalker r=cjones sr=gavin]
--HG--
rename : browser/devtools/shared/Browser.jsm => toolkit/modules/Timer.jsm
rename : browser/devtools/shared/test/browser_browser_basic.js => toolkit/modules/tests/xpcshell/test_timer.js
2013-02-25 11:08:33 -08:00
Gregory Szorc
266db717ab Bug 784841 - Part 18t: Convert /layout; f=Ms2ger rs=ted 2013-02-25 12:47:22 -08:00
Daniel Holbert
0e64e088c2 Bug 842683: Add #ifdef guard around mac-specific chunk of reftest.js. r=dbaron 2013-02-22 22:32:30 -08:00
William Lachance
1e2e91e1b8 Bug 842668 - Should always use dd instead of cp in b2g reftest/mochitest;r=ahal 2013-02-21 15:44:24 -05:00
Trevor Saunders
c4d231052a bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Jonathan Griffin
a00b26ce3d Bug 826135 - Throw if --utility-path points to ARM version of xpcshell, r=ahal 2013-01-03 17:37:26 -08:00
Jonathan Kew
f129ef13d4 bug 832615 - make reftest-analyzer ignore timestamps in b2g reftest logs. r=dbaron a=nonlibxul DONTBUILD 2013-01-22 18:41:40 +00:00
Christian Holler
3d79e5a25d Bug 797900 - Disable invalid-size-second-frame crashtest under AddressSanitizer. r=dbaron, a=nonlibxul 2013-01-22 00:46:40 +01:00
Daniel Holbert
fb0671a9ff Bug 832589: Declare character encoding in the blank document that we load between each reftest, to prevent an error message from being printed each time we do that. r=dbaron 2013-01-19 17:23:45 -08:00
Jonathan Griffin
ba052a1ef8 Bug 820463 - Remove loadearly code from test runners, r=ahal 2013-01-17 12:18:37 -08:00
Mike Connor
e46ce230b0 Bug 804745 - Unified notification for application data reporting; r=gavin 2013-01-11 19:05:35 -08:00
Andrew Halberstadt
221179f50b Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin 2013-01-03 15:35:01 -05:00
Andrew Halberstadt
2172831c09 Bug 812012 - (Part 1) Add busybox arg to b2g reftest/mochitest harnesses, r=jgriffin, DONTBUILD a=NPOTB,test-only 2013-01-07 10:29:43 -05:00
Robert O'Callahan
aba980bcb4 Bug 826632. Part 2: Use nsRefPtr<nsViewManager> instead of nsCOMPtr. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 7245e7c988a208471d8c860449ff7b06c29a4a52
2013-01-05 16:12:42 +13:00
Robert O'Callahan
970988bc3c Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
d44dff5096 Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
4464dc950d Bug 826632. Part 2: Use nsRefPtr<nsViewManager> instead of nsCOMPtr. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : c9eabd54bb43d711a8c24222620abfdde674a1f7
2013-01-05 16:12:42 +13:00
Robert O'Callahan
0bda13504b Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
Trevor Saunders
09f3b656b4 bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug 2012-12-28 20:56:42 -05:00
Andrew Halberstadt
d9e2ea00c1 Bug 826021 - Ensure all skipped tests show up in reftest logs, r=jmaher 2013-01-03 16:33:23 -05:00
Robert O'Callahan
943cb99eff Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.

--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Theo Chevalier
27ae7e2526 Bug 825464 - Skip any revision of TELEMETRY_DISPLAY_REV in tests & WebApp (long term fix). r=mak 2013-01-02 16:31:10 +01:00
Geoff Brown
a8f9e85501 Bug 810347 - Provide option for setting remote test root; r=jmaher 2012-12-20 09:11:11 -07:00
Ehsan Akhgari
8dce586b8a Merge mozilla-central into mozilla-inbound 2012-12-10 20:39:51 -05:00
Gregory Szorc
5bad6f1d59 Bug 820060 - Fix mach crashtest; r=Ms2ger
DONTBUILD (NPOTB)
2012-12-10 11:23:35 -08:00
Theo Chevalier
00667966ca Bug 737596 - Enable Telemetry by default on Nightly and Aurora channels (mobile). r=bnicholson 2012-12-10 23:25:50 +01:00
Ehsan Akhgari
629d8a0ae2 Merge mozilla-central into mozilla-inbound 2012-12-06 13:13:33 -05:00
Gregory Szorc
d0f7a99e69 Bug 809729 - Ability to run reftests through debugger with mach; r=Ms2ger
DONTBUILD (NPOTB)
2012-12-06 10:03:25 -08:00
Joel Maher
2a7964d38b Bug 818156 - Improve test chunking. r=gbrown 2012-12-06 08:43:23 -05:00
Trevor Saunders
98cecccb20 bug 801466 - part 1 - remove uses of prmem in layout/ xpcom/ and modules/ r=roc 2012-12-03 16:18:36 -05:00
Jonathan Griffin
4bcb0ea851 Bug 815807 - Part 3: Load marionette early in the B2G startup process if relevant pref is set, otherwise load it late, r=ahal 2012-11-29 19:46:39 -08:00
Jonathan Griffin
d5cd2613c8 Backout 9252522aab90, r=bustage 2012-11-30 12:54:00 -08:00
Jonathan Griffin
bc268a8264 Bug 815807 - Part 3: Load marionette early in the B2G startup process if relevant pref is set, otherwise load it late, r=ahal 2012-11-29 19:46:39 -08:00
Cameron McCormack
aca7de9ff8 Bug 788967 - Add a default-preferences statement for reftest manifests. r=dbaron 2012-11-28 10:06:33 +11:00
Jonathan Kew
c2188bd603 bug 815617 - speed up reftest-analyzer by avoiding use of a large dilation radius. r=bz 2012-11-28 09:04:13 +00:00
Cameron McCormack
82da27e52e Backout 5218cec180c8. 2012-11-28 10:39:47 +11:00
Cameron McCormack
3412c8ac02 Bug 788967 - Add a default-preferences statement for reftest manifests. r=dbaron 2012-11-28 10:06:33 +11:00
Cameron McCormack
fe2badac56 Bug 809312 - Add ability to run a subset of reftests from a manifest. r=dbaron,gps 2012-11-28 09:29:03 +11:00
Ed Morley
b1fa9ef049 Bug 808410 - remotereftest.py shouldn't ignore the runTests() exit code; r=jmaher 2012-11-20 15:24:27 +00:00
Andrew Halberstadt
bc1b45a752 Bug 812514 - Make b2g emulator unittests save logcat for easier debugging, r=jgriffin 2012-11-19 15:52:40 -05:00
Jonathan Griffin
a2d6b0beda Bug 812395 - Make emulator fail gracefully during errors for install_gecko, r=ahal 2012-11-19 09:32:57 -08:00
Ehsan Akhgari
d0a6f7bc46 Backed out changeset d129d66a6491 (bug 812281) because apparently it broke Android reftest/crashtest/jsreftest 2012-11-15 14:35:41 -08:00
Ehsan Akhgari
8bf6d31a9d Bug 812281 - Shut up the media volume when running tests; r=cpearce 2012-11-15 12:15:12 -08:00
William Lachance
0bea33309a Bug 811388 - Update mozdevice to 0.15, update consumers;r=ahal 2012-11-14 09:49:04 -08:00
William Lachance
0bd9276583 Bug 805116 - Print more of the logcat in mobile tests;r=gbrown 2012-11-12 13:57:13 -08:00
Joel Maher
d3571a894c Bug 737961 - add reftest manifest conditions for height width. r=dbaron 2012-11-12 07:56:34 -05:00
Gregory Szorc
262077ed01 Bug 808336 - Part 1: Refactor mach command handler management; r=jhammel
Previously we were tighly coupled with MozbuildObject. This was not in
the spirit of mach being a generic tool. Now, instead of passing multiple
arguments to __init__ of the class providing the mach command we either
pass 0 or 1. The number of arguments is detected when processing the
@CommandProvider decorator. The optional argument is a named tuple
containing mach run-time state.

Capturing of mach command provider information is now captured in a
class (as opposed to an anoymous tuple). We also capture these in a rich
data structure which is passed as part of the run-time data to the
command provider class. This allows mach commands to inspect the mach
environment.

Mach decorators have been moved to mach.decorators. mach.base is
reserved for generic mach data/container classes.

Existing mach command classes derived from MozbuildObject have been
replaced with either object or mozbuild.base.MachCommandBase. This
latter class translates the mach context instance passed to __init__
into the constructor arguments for MozbuildObject.__init__.

Support for registering function handlers with mach has been removed.
All handlers must be inside classes.

--HG--
rename : python/mach/mach/base.py => python/mach/mach/decorators.py
2012-11-06 16:57:41 -08:00
Ed Morley
1536cfef6c Bug 808417 - Make runTests() exception reporting consistent across test harnesses; r=jmaher 2012-11-05 13:03:55 +00:00
Ed Morley
bcad0e76bf Bug 808417 - remotereftest.py should print the actual exception if one occurred runTests(); r=jmaher 2012-11-05 13:03:54 +00:00
Kyle Huey
0469a02b25 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
a78b5b38c7 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
9a3674d80a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
4144129728 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
50b5d3f681 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Phil Ringnalda
acda0615b5 Bug 806253 - Reftest needs to set prefs to disable blocklist updates, to avoid having them reported as leaks when they are still running at shutdown
--HG--
extra : rebase_source : 0a8103ec19056a71a150e5fe794807518f0aaf0e
2012-10-29 15:10:07 -07:00
Jonathan Griffin
5830e46894 Bug 805428 - Install reftest extension on B2G as app bundle, r=ahal, DONTBUILD(NPOTB) 2012-10-25 09:55:42 -07:00
William Lachance
83d2ef54ea Bug 801652 - Remove redundant devicemanager import;r=jmaher 2012-10-24 13:43:29 -04:00
William Lachance
cfb9c86b64 Bug 801652 - Make sure we print logcat, device info on remote mochitest/reftest failure;r=jmaher 2012-10-24 13:34:33 -04:00
Phil Ringnalda
be6a87d61e Bug 799332 - Set a high urlclassifier.updateinterval to match the one in automation.py.in so that we're unlikely to leak background safebrowsing updates by doing them at the wrong time, r=dbaron 2012-10-08 21:04:39 -07:00
Daniel Holbert
8e45bef98a backout 5545892376cc (Bug 737961) for Windows reftest orange 2012-10-16 16:05:52 -07:00
Joel Maher
81246f2430 Bug 737961 - add reftest manifest conditions for height width. r=dbaron 2012-10-16 16:12:25 -04:00
Phil Ringnalda
fde68c3c72 Back out fb167937d25b (bug 799332) because I fail at copy-paste 2012-10-15 21:02:56 -07:00
Phil Ringnalda
f1c3437106 Bug 799332 - Set a high urlclassifier.updateinterval to match the one in automation.py.in so that we're unlikely to leak background safebrowsing updates by doing them at the wrong time, r=dbaron 2012-10-08 21:04:39 -07:00
David Zbarsky
45f6f3a578 Bug 799407: Enable FAIL_ON_WARNINGS in more of layout/ r=roc 2012-10-15 01:42:40 -04:00
William Lachance
771972c9f2 Bug 756440 - Only warn when we fail cleanup steps with mobile mochitest/reftest;r=jmaher
Before we were outright failing if the test logfile was missing when cleaning
up these tests. But that's generally a sign that the app failed to start
up properly, which is the true issue we should be trying to catch / diagnose.
Let's just print a warning here and move on.
2012-10-15 10:15:19 -04:00
David Zbarsky
2798f40d68 Backout 784bb7c5ea9c (Bug 799407) for bustage 2012-10-15 02:14:34 -04:00
David Zbarsky
b26a495b99 Bug 799407: Enable FAIL_ON_WARNINGS in more of layout/ r=roc 2012-10-15 01:42:40 -04:00
Jeff Hammel
d765443550 Bug 800110 - Mirror mozbase -> m-c for bug 800097 @ da60c88b8c ;r=ahal,r=wlach 2012-10-12 10:24:35 -07:00
Gregory Szorc
03f6510b34 Bug 799291 - Part 3: Move mozbuild.testing into testing/; r=jhammel
--HG--
rename : python/mozbuild/mozbuild/testing/test.py => testing/moztesting/util.py
2012-10-10 11:08:09 -07:00
Gregory Szorc
3dd8150678 Bug 799291 - Part 1: Move mach commands for test running into test runners; r=jhammel
The code interacting with the test runners now resides in closer
proximity to the code it is invoking. We also purge testing
functionality from mozbuild, which is where it never really belonged.

--HG--
rename : python/mozbuild/mozbuild/testing/reftest.py => layout/tools/reftest/mach_commands.py
rename : python/mozbuild/mozbuild/testing/mochitest.py => testing/mochitest/mach_commands.py
rename : python/mozbuild/mozbuild/testing/xpcshell.py => testing/xpcshell/mach_commands.py
2012-10-10 11:08:09 -07:00
Andrew Halberstadt
a482e5e2f3 Bug 795099 - Add --gecko-path argument to runreftestb2g.py, r=jgriffin; DONTBUILD because NPOTB 2012-10-05 11:12:05 -04:00
Andrew Halberstadt
1f19f8c07e Bug 797177 - Fix missed calls to checkCmd within B2G automation, r=mikeh; DONTBUILD because NPOTB 2012-10-05 16:06:02 -04:00
William Lachance
c5f092dab4 Bug 795496 - Make mozdevice raise exceptions on error;r=ahal,jmaher
It turns out that relying on the user to check return codes for every
command was non-intuitive and resulted in many hard to trace bugs.
Now most functinos just return "None", and raise a DMError when there's an
exception. The exception to this are functions like dirExists, which now return
booleans, and throw exceptions on error. This is a fairly major refactor,
and also involved the following internal changes:

* Removed FileError and AgentError exceptions, replaced with DMError
  (having to manage three different types of exceptions was confusing,
  all the more so when we're raising them)
* Docstrings updated to remove references to return values where no
  longer relevant
* pushFile no longer will create a directory to accomodate the file
  if it doesn't exist (this makes it consistent with devicemanagerADB)
* dmSUT we validate the file, but assume that we get something back
  from the agent, instead of falling back to manual validation in the
  case that we didn't
* isDir and dirExists had the same intention, but different
  implementations for dmSUT. Replaced the dmSUT impl of getDirectory
  with that of isDir's (which was much simpler). Removed
  isDir from devicemanager.py, since it wasn't used externally
* killProcess modified to check for process existence before running
  (since the actual internal kill command will throw an exception
  if the process doesn't exist)

In addition to all this, more unit tests have been added to test these
changes for devicemanagerSUT.
2012-10-04 11:28:07 -04:00
Joe Drew
bba0614971 Bug 486918 - Create and obey a high-quality downscaling pref, and turn it off on OS X and mobile. r=jlebar 2012-09-27 14:12:56 -04:00
Joel Maher
5cbf33ed7b Bug 792029 - Make SpecialPowers available in crashtests. r=ted 2012-10-01 08:50:10 -04:00
Ms2ger
b83586e559 Bug 795862 - Back out bug 486918 for build bustage in unreviewed code. 2012-10-01 14:16:03 +02:00
Joe Drew
2b9b4de964 Bug 486918 - Create and obey a high-quality downscaling pref, and turn it off on OS X and mobile. r=jlebar 2012-09-27 14:12:56 -04:00
Ed Morley
6028447903 Backout 92530b29ac24, 42e659956dc6 & 38277196c099 (bug 486918), d3b69fe15ac3 & b2dba2108722 (bug 786444), e7381ac9e30a (bug 786449) on suspicion of causing Android reftest failures on a CLOSED TREE 2012-09-28 23:00:28 +01:00
Joe Drew
5b9be123ec Bug 486918 - Create and obey a high-quality downscaling pref, and turn it off on OS X and mobile. r=jlebar
--HG--
extra : rebase_source : 386bee19522e3cb8bca16ec40e3c092a52ae18d2
2012-09-27 14:12:56 -04:00
Matt Woodrow
4b18ccaa9d Bug 539356 - Part 22 - Force a background color when running android reftests. r=roc 2012-08-29 17:48:43 +12:00
Matt Woodrow
7507512379 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Ed Morley
aba3a8f5ef Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow
cd852aabe0 Bug 539356 - Part 22 - Force a background color when running android reftests. r=roc 2012-08-29 17:48:43 +12:00
Matt Woodrow
6f5a5e2a30 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
L. David Baron
2a8ac62275 Make reftest harness print max difference and number of differing pixels on the TEST-UNEXPECTED-FAIL line so that it ends up in bugs. (Bug 789602) r=ted 2012-09-14 14:12:34 -07:00
L. David Baron
6438c52580 Bug 789771 - Add an OSX variable to the reftest condition sandbox to make it easier to test Mac OS X versions, r=roc
--HG--
extra : rebase_source : 417fcaf6baa267680d93187c459532a22da8ef21
2012-09-08 23:37:04 -07:00
William Lachance
cca13f1816 Bug 723107 - Re-add mozdevice to testing/mozbase, remove duplicate files in build/mobile;r=jmaher 2012-09-07 16:00:31 -04:00
Jeff Gilbert
454b8655e8 Bug 782860 - Mark failing WebGL reftests as failing - r=bjacob 2012-09-06 18:46:43 -07:00
Philipp von Weitershausen
d158b5747c Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Cameron McCormack
3fe542e338 Bug 705184 - Count unexpected reftest crash dump files as test failures. r=dbaron 2011-12-05 14:06:42 +11:00
Andrew Halberstadt
af1a368339 Bug 784810 - Disable browser.tabs.remote for b2g reftests, r=jgriffin 2012-08-22 17:24:57 -04:00
Ehsan Akhgari
e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Andrew Halberstadt
83ccf6c3d4 Bug 778072 - Add pref for reftests to use iframe mozbrowser. r=cjones 2012-08-17 11:45:39 -04:00
Andrew Halberstadt
0c2afaa887 Bug 778725 - Fix program error managing snapshot errors in b2g reftests, r=jgriffin 2012-08-15 17:36:52 -04:00
Andrew Halberstadt
170dc14d55 Bug 782655 - Enable remote xul for B2G reftests, r=jgriffin 2012-08-15 15:26:31 -04:00
Ed Morley
31a0f2b067 Merge mozilla-central to mozilla-inbound 2012-08-15 19:00:48 +01:00
Kyle Huey
22c5414200 Bug 685516: Disable a bunch of failing tests on Android XUL. r=jrmuizel 2012-08-13 11:22:11 -07:00
Andrew Halberstadt
7c1ba0c892 Bug 770490 - Infrastructure to run reftests on B2G, r=jgriffin 2012-08-10 14:25:20 -04:00
Aryeh Gregor
719dcb2097 Bug 782252 - Change named constants to correct types; r=ehsan 2012-08-07 18:11:35 +03:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Nicholas Cameron
757874643b Bug 778595; reftest fuzz based on cavnas/content backend mismatch. r=roc 2012-07-31 18:30:10 +12:00
Nicholas Cameron
afcbca306a Bug 776802; Give better info about Azure. r=Bas 2012-07-31 18:30:10 +12:00
Nicholas Cameron
5dd825ba63 Back out bug 779001, bug 746883, bug 778595, bug 776803, bug 7118849 2012-07-31 18:17:23 +12:00
Nicholas Cameron
a75154d489 Bug 778595; reftest fuzz based on cavnas/content backend mismatch. r=roc 2012-07-31 13:46:04 +12:00
Nicholas Cameron
883ca8cb74 Bug 776802; Give better info about Azure. r=Bas 2012-07-31 13:45:59 +12:00
Ehsan Akhgari
3ad40dbf10 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Christian Holler
9e36b6f071 Bug 777412 - Support the --setenv option in reftests 2012-07-30 13:47:27 +02:00
Ed Morley
bd821ad1fa Backout 6718d4c7b6c1 (bug 775174) for Android XUL R3 failures in animateMotion-rotate-*.svg on a CLOSED TREE 2012-07-28 11:31:26 +01:00
Matt Woodrow
f35d4ac58f Bug 729784 - Fix documentation for fuzzy() and fuzzy-if(), and give image difference error messages in the same order as the parameters to them. r=dbaron 2012-07-28 13:47:46 +12:00
Matt Woodrow
feddad01ec Bug 775174 - Add invalidation timeline to reftest analyzer. r=dbaron 2012-07-28 13:46:42 +12:00
William Lachance
2795774129 Bug 777500 - Log information about device before and after test for remote mochitest and reftests;r=jmaher 2012-07-25 20:45:36 -04:00
Jonas Sicking
23c9838514 Bug 774585: Rename getCodebasePrincipal to getSimpleCodebasePrincipal since the behavior has semantically changed. r=mounir 2012-07-21 00:29:40 -07:00
Mounir Lamouri
61d9d40b3d Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar 2012-07-18 15:27:02 -07:00
Ed Morley
c2d155cb67 Backout ea6db8f420c0 (bug 770831), b51c79ee0883 (bug 774957), 020f6ed5958b (bug 758258), 11d8e19e1fca (bug 758258), 707fc51bfe2e (bug 775354), 489d944a6fe6 (bug 327244), be7df3c9d50f (bug 327244) for m-oth orange 2012-07-19 08:29:48 +01:00
Mounir Lamouri
f293eab524 Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar 2012-07-18 15:27:02 -07:00
Phil Ringnalda
37152dd897 Bug 752752 - Set prefs in the reftest harness to prevent updating and prefetching data about addons, to avoid leaking, r=Unfocused,dbaron 2012-05-25 21:29:35 -07:00
Ehsan Akhgari
d49b18b800 Backout changeset e04abde1b323 (bug 539356) because of performance and correctness regressions 2012-07-03 20:21:03 -04:00
Ehsan Akhgari
7e962381f7 Backout changeset ba7021170544 (bug 539356) because of performance and correctness regressions 2012-07-03 20:12:45 -04:00
David Zbarsky
d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Matt Woodrow
31c89114da Bug 539356 - Part 22 - Force a background color when running android reftests. r=roc 2012-06-30 15:06:13 +12:00
Matt Woodrow
dbef6fe311 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-30 15:06:11 +12:00
Nicholas Cameron
105496fc55 Bug 761890 (was 746883); change tests to work with Azure/Skia (mostly fuzz). r=gw280,jmuizelaar 2012-04-16 07:49:56 +12:00
Joel Maher
a766519866 Bug 754873 - fennec automated tests should capture logcat output while test is running. r=wlach 2012-06-13 14:20:43 -04:00
Matt Brubeck
ef84814399 Back out bug 761890, bug 746896, and bug 759036 because of reftest failures
--HG--
extra : rebase_source : b5bdad8a69eab8e9ba35d21637c0bbcb18bce703
2012-06-11 22:50:31 -07:00
Nicholas Cameron
3f2d015241 Bug 761890 (was 746883); change tests to work with Azure/Skia (mostly fuzz). r=gw280,jmuizelaar
--HG--
extra : rebase_source : 8df12107009253df9ae996a9cbf1f78fc594f41f
2012-04-16 07:49:56 +12:00
Ed Morley
865fc92be0 Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms 2012-06-11 10:08:32 +01:00
Matt Woodrow
3e82706e65 Bug 539356 - Part 22 - Force a background color when running android reftests. r=roc 2012-06-11 16:45:39 +12:00
Matt Woodrow
4aed5034c9 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-11 16:45:38 +12:00
Geoff Lankow
5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Kartikaya Gupta
f4b1db6f41 Bug 759421 - Handle image load errors in the reftest analyzer more gracefully. r=heycam 2012-05-30 09:59:42 -04:00
Ehsan Akhgari
6b062a5433 Bug 757755 - Make sure that the reftest suite never attempts to download and stage an update; r=dbaron 2012-05-23 18:32:41 -04:00
Gregory Szorc
25e74247ed Bug 757397 - Make test package generation quieter; r=ted
This may reduce the size of the buildbot build logs by up to half!

--HG--
extra : rebase_source : 87b3f2f40654d69ecd91e19520e2341fc8aac9a6
2012-05-23 16:51:21 +02:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Kyle Huey
7e97274876 Bug 745681: Prepare the reftest harness for Bug 695480. r=dbaron a=test-only 2012-04-23 13:36:50 -07:00
Armen Zambrano Gasparnian
09832a8355 Bug 735451. raise exception when DeviceManager fails to initialize. r=jmaher 2012-04-11 14:51:18 -04:00
L. David Baron
4e7932234e Add support to the reftest harness for preferences that apply to only one of the test or reference. (Bug 743105) r=jfkthame 2012-04-10 10:56:59 -07:00
Joel Maher
e6177eb663 Bug 736112 - add try/except blocks around all harnesses devicemanager initialization so we always return an error code. r=wlach 2012-03-22 10:45:30 -04:00
William Lachance
b875233d85 Bug 736246 - DeviceManagerADB should throw an exception if we know it's not going to work. r=jmaher 2012-03-16 18:36:28 -04:00
Ms2ger
21c6545bdc No bug - Declare uri variable in StartTests() in reftest.js to fix a strict JS warning; r=themaid 2012-03-11 09:48:25 +01:00
Kyle Huey
12a32ed22c Bug 732481: Remove the EM restart from the reftest harness. r=dbaron 2012-03-02 18:31:50 -08:00
Jeff Hammel
3d6de46f1d Bug 727705 - remove two copies of pageloader from m-c. r=jmaher 2012-02-22 09:24:29 -05:00
Geoff Lankow
38a6e24cbf Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part F, remove uses of nsIPrefBranch2 in testing/ and layout/tools/reftest/ ; r=bsmedberg 2012-01-17 15:01:25 +13:00
Jonathan Watt
d61f0dc5d6 Bug 722322 - Have the "1" and "2" keys switch between images in reftest-analyzer.xhtml. r=ehsan. 2012-01-31 13:18:09 +00:00
Mark Banner
e0c8709635 Bug 716238 - ThunderbirdTry: "495794-1.html | load failed: timed out waiting for reftest-wait to be removed" - Ensure media.autoplay.enabled is always true. r=dbaron 2012-01-24 10:07:45 +00:00
Matt Woodrow
c1202c2467 Bug 718329 - Make fuzzy reftests take max tolerance values. r=roc 2012-01-23 20:56:12 +13:00
Joel Maher
a553aae21f Bug 719140 - native android reftests fail due to missing window.innerWidth/innerHeight. r=mfinkle 2012-01-18 13:44:49 -05:00
Jeff Muizelaar
c615c481e4 Bug 692879. Adjust reftests so that we pass with azure-quartz. r=mwoodrow 2011-11-25 16:38:14 -08:00
Jeff Muizelaar
88f281dfd2 Bug 580786. Add support for fuzzy reftest matching. r=dbaron
This will let us convert a bunch of random-if() to fuzzy-if()
2011-12-19 09:02:53 -05:00
Jeff Muizelaar
4838fed3dc Bug 580786. Require gWindowUtils. r=dbaron
We should have DOMWindowUtils everywhere and
this cleans up the code.
2011-12-19 09:02:47 -05:00
Matt Brubeck
4b1bdf5b96 Back out efd165428f08 to 4a79fefefa28 (bug 580786, bug 716639, bug 692879, bug 717921) because of reftest error 2012-01-17 10:08:38 -08:00
Jeff Muizelaar
96eb2cc765 Bug 692879. Adjust reftests so that we pass with azure-quartz. r=mwoodrow
--HG--
extra : rebase_source : 0c98aac4ccd18a4c391446d70721e00cc39d4266
2011-11-25 16:38:14 -08:00
Jeff Muizelaar
6d5c14d658 Bug 580786. Add support for fuzzy reftest matching. r=dbaron
This will let us convert a bunch of random-if() to fuzzy-if()

--HG--
extra : rebase_source : 270b24bd17fa4dc3e019ee51c637ac65499e9a50
2011-12-19 09:02:53 -05:00