Граф коммитов

997 Коммитов

Автор SHA1 Сообщение Дата
Andrew Halberstadt 97c3a77bc1 Bug 1247054 - Fix |mach reftest| on Android, r=gbrown
There is an ImportError on Android, as well as a log related
regression from the structured log patch once that is fixed.

MozReview-Commit-ID: KxSEotr38qO

--HG--
extra : rebase_source : 15d8421aab813d9e0dbf6d00611f921aaa779a49
2016-02-09 16:19:44 -05:00
Andrew Halberstadt cc33abe5c7 Bug 1034290 - Follow-up fix for reftest error message when application returns non-zero, r=chmanchester
MozReview-Commit-ID: JpHzDSuSQqH

--HG--
extra : rebase_source : 8424bdc1b8c9b5027837fd5ac8023f0f4873e08e
extra : amend_source : 62a8e7d3dfbfa3c03354859de33d86ca781cccea
2016-02-08 14:54:23 -05:00
Andrew Halberstadt f94d7e71d8 Bug 1034290 - Use structured log output for test results in reftest, r=jmaher
Structured logs bring many benefits. We can stop parsing the logs for magic strings, we
can modify the format without breaking things, and we can stream results into systems like
ActiveData. The structured logs originate primarily in reftest.js. StructuredLog.jsm is
used to generate the JSON-based log stream. Finally OutputHandler in the python harness
reads structured output from stdout, and formats it into human readable form.

MozReview-Commit-ID: G3ZLkMRl6p7

--HG--
extra : commitid : J3ui9XYWR3Q
extra : rebase_source : 77ed0ba842cc8e557141fb3494212b06868c728a
extra : amend_source : 735d48225a2e627e0fe45fc11b50b6c49a885a4b
extra : source : d1779fe421c3c7cd8e3d191816776390dc104f37
2016-02-05 15:44:20 -05:00
Phil Ringnalda 66e6da78e6 Back out d1779fe421c3 (bug 1034290) for UnicodeDecodeErrors in things run by the reftest harness
CLOSED TREE
2016-02-05 08:18:47 -08:00
Andrew Halberstadt 8a462fd84b Bug 1034290 - Use structured log output for test results in reftest, r=jmaher
Structured logs bring many benefits. We can stop parsing the logs for magic strings, we
can modify the format without breaking things, and we can stream results into systems like
ActiveData. The structured logs originate primarily in reftest.js. StructuredLog.jsm is
used to generate the JSON-based log stream. Finally OutputHandler in the python harness
reads structured output from stdout, and formats it into human readable form.

--HG--
extra : commitid : J3ui9XYWR3Q
extra : rebase_source : 6bae978126dbd5beddc39332c7cbce0c1354cd87
extra : amend_source : 735d48225a2e627e0fe45fc11b50b6c49a885a4b
2015-10-29 15:01:44 -04:00
David Anderson 7b6e752abc Add software mix-blend mode support to the D3D9 compositor. (bug 1243071 part 3, r=bas,mattwoodrow) 2016-02-01 16:28:00 -08:00
Geoff Brown 6fe30ec610 Bug 1241907 - Grant runtime permissions before running browser tests; r=jmaher 2016-02-01 15:52:34 -07:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Wes Kocher 84714308b8 Merge fx-team to central, a=merge
--HG--
extra : commitid : 2DZ63I10LcS
2016-01-28 17:47:33 -08:00
Jerry Shih 8f5046dca5 Bug 1242876 - turn on the display before reftest. r=ahalberstadt 2016-01-27 18:59:00 +01:00
Gijs Kruitbosch ef04fd0f90 Bug 1172165 - check all nested URI schemes in CAPS. Make view-source dangerous to load, and about: URIs use per-URI flags so they keep working, r=bz
Also, add an opt-out for crashtest/reftest for the view-source thing so they don't all break, r=bz

--HG--
extra : commitid : 8NqvmbphSgh
extra : rebase_source : bbe0b6f11a77d7e6241a5733931d9baa95bb3fed
2015-12-11 08:06:41 -05:00
Benoit Girard c93c572d7a Bug 1196831 - Add 'run-until-failure' and 'repeat' flags to reftest. r=jmaher
--HG--
extra : commitid : Ig2JmBnAcrw
extra : rebase_source : ee3026bd82263dd77583dfd3d576eb622fa582bc
2016-01-15 18:30:23 -05:00
Christoph Kerschbaumer 85f65d6c64 Bug 1232792 - Convert JS callsites to use open2 within layout/ (r=sicking) 2015-12-15 13:33:44 -08:00
Wes Kocher 80765f938f Backed out changeset 7c4f0da2f1e5 (bug 1232792) on the chance it caused a bunch of b2g test bustage CLOSED TREE
--HG--
extra : commitid : 5NsyQ1o2oSV
2016-01-11 14:20:34 -08:00
Christoph Kerschbaumer c262655b27 Bug 1232792 - Convert JS callsites to use open2 within layout/ (r=sicking) 2016-01-11 12:16:54 -08:00
Bob Clary 5a470be233 Bug 1237465 - Work around Android 5.1+ permission restrictions by changing pushed directory permissions to rwx, r=gbrown. 2016-01-09 15:40:17 -08:00
Andrew Halberstadt 2bfb20ef72 Bug 1228636 - Add mach support for running reftests on mulet, r=jgriffin
Usage:
mach reftest --profile path/to/gaia/profile path/to/test/dir

--HG--
extra : rebase_source : 6efffc77ef2b108617214c5ead35f8c4e90fcd3f
2016-01-04 16:27:37 -05:00
Lee Salzman 5512fbeae7 Bug 1229983 - verify that paths are finite in DrawTargetSkia::Stroke/Fill to handle Canvas paths containing infs. r=jmuizelaar 2015-12-30 13:39:13 -05:00
Ting-Yu Lin d477595b16 Bug 1221459 - Remove TouchCaret and SelectionCarets. r=mtseng, r=roc
All the files modified are straightforward deletion except TouchManager
and ZoomConstraintsClient. I add some includes and wrap TouchManager by
mozilla namespace to fix build errors due to the removal of TouchCaret.
2015-12-22 14:14:12 +08:00
Nigel Babu fd9c9b233f Backed out changeset 9f30d3caa231 (bug 1221459) 2015-12-22 14:03:21 +05:30
Ting-Yu Lin 0fd840e0d8 Bug 1221459 - Remove TouchCaret and SelectionCarets. r=mtseng,roc
All the files modified are straightforward deletion except TouchManager
and ZoomConstraintsClient. I add some includes and wrap TouchManager by
mozilla namespace to fix build errors due to the removal of TouchCaret.

--HG--
extra : rebase_source : b31db322130f665e7dda53d1061cfc40f81ce411
2015-12-22 14:14:12 +08:00
Geoffrey Sneddon f753e1d3e3 Bug 1231261 - Append plugins to extra profile files instead of overwriting. r=dbaron 2015-12-10 13:34:00 +01:00
Andrew Halberstadt 12895ab349 Bug 1226017 - Drop support for b2g desktop in reftests, r=jgriffin
--HG--
rename : layout/tools/reftest/b2g_desktop.py => layout/tools/reftest/runreftestmulet.py
extra : commitid : wGGadWUFZp
extra : rebase_source : 13d48365298276de9b235c72c930173627d033bd
2015-11-27 13:56:43 -05:00
Mike Hommey 08417dc44f Bug 1228467 - Don't preprocess layout/tools/reftest/reftest-cmdline.manifest. r=gps 2015-12-01 08:25:22 +09:00
Mike Hommey 3a7b31cfb5 Bug 1228444 - Rename DIST_FILES to FINAL_TARGET_PP_FILES. r=gps
This makes it clearer that really it's the same thing as FINAL_TARGET,
with preprocessing.
We still keep DIST_FILES in backend.mk because it's shorter and doesn't
really matter.
2015-12-01 08:25:22 +09:00
Kartikaya Gupta 5b361ff365 Bug 1226864 - Don't wait for an APZ flush on load-only or script type reftests, since they don't get snapshotted. r=dbaron
--HG--
extra : commitid : E9G7TUheJ8A
2015-11-24 09:20:42 -05:00
Geoff Brown e7a25cb373 Bug 1197716 - On Android, include fonts in test profile; r=jmaher 2015-11-06 12:01:33 -07:00
dlee f3324e8193 Bug 1214593 - Remove service worker periodic updater. r=ehsan 2015-11-02 16:08:44 +08:00
Julien Pagès 5fe647171b Bug 1185969 - [mozdevice] Allow to use android preview releases. r=bc
--HG--
extra : commitid : Ea3gZOnjoy6
extra : rebase_source : 822864eb9507c5650bc9ef29d308ffff63c44b25
2015-10-28 17:22:16 +01:00
Ehsan Akhgari db84bc015e Bug 1215686 - Disable ASAN leak reporting on reftests for now; r=mccr8 2015-10-19 14:08:55 -04:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Phil Ringnalda 65c005fc8d Back out changeset 7a8d20f52da6 (bug 1215686) for ASan jsreftest/reftest failures
CLOSED TREE
2015-10-16 20:21:54 -07:00
Chris Manchester 8fe6d000de Bug 1203266 - Allow reading reftest manifests from a provided finder. r=gps
--HG--
extra : commitid : G7g6Lr9ODZQ
2015-10-16 15:31:20 -07:00
Ehsan Akhgari 0d3dcab66e Bug 1215686 - Disable ASAN leak reporting on reftests for now; r=mccr8 2015-10-16 17:46:38 -04:00
Geoff Brown 6a2cf00030 Bug 1087791 - Follow-up on 340c1df41b69 (pushed wrong version of patch); r=nalexander 2015-10-14 16:31:19 -06:00
Geoff Brown 01baa3ee01 Bug 1087791 - Add |mach {reftest,crashtest,jstestbrowser}| for mobile/android. r=nalexander 2015-10-14 15:20:20 -06: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
Eugen Sawin 0a9af65e7d Bug 1188240 - Enable media auto-play for tests to allow for script play() invocations. r=snorp 2015-10-01 18:15:40 +02:00
Gregory Szorc 022105cc96 Bug 1208320 - Do not stage reftest test files before archiving; r=glandium
This is slightly more involved than earlier changes because reftests
have a one-off mechanism for finding files. Essentially, the master
reftest manifest is loaded, directories are discovered, and every file
in those directories is packaged.

We add support to our test archive generation tool to read sources from
reftest manifests and tell it where the reftest manifests are.
print-manifest-dirs.py was only being used for staging reftest files.
Since we don't do that any more, the functionality doesn't need to exist
in a standalone file, so it has been moved inline into test_archive.py.

This change avoids copying ~26,000 tests consuming 131 MB during test
packaging. This is a majority of the file count that was remaining in
the stage directory at this point. On my machine (which hasn't typically
seen major wall time wins from not staging files due to its fast SSD),
this change made test packaging ~20% faster, reducing wall time from
~50s to ~40s!

A Try push seemed to indicate drastic results with the series up to this
point. Including the already landed changes to generate test archives
concurrently, test packaging times on OS X builders dropped from ~18:40
to 6:29! Times on Linux x64 remained about the same (~2:46). This is
possibly due to these machines already having SSDs and due to normal
variance in performance of builders and EC2 instances.

--HG--
extra : commitid : 34E8V8lSGg7
extra : rebase_source : 720afcd35f6a2b6cb1217df23ae981408a88cb94
2015-09-30 17:39:33 -07:00
Gregory Szorc d460d0b2dc Bug 1208320 - Do not stage some reftest support files before archiving; r=glandium
After this, only reftest files themselves are staged. Those will be
addressed in a subsequent commit.

--HG--
extra : commitid : 9jWl9Twcizr
extra : rebase_source : 3e4a319d60b7ee7eddecc597eb250184140b1e71
2015-09-30 10:46:52 -07:00
Bas Schouten 1369a96bd4 Bug 1208465 - Part 1: Fix some reftest annotations. r=jrmuizel 2015-10-01 04:45:26 +02:00
James Willcox 35d4172d9c Bug 1182665 - Turn off tile size adjustments on pandaboard debug reftests due to weirdness r=nical 2015-09-28 09:37:02 -05:00
Julian Seward 0ce48c0f5e Bug 1185244 - Improve mach support for running mochitests on Valgrind. r=jgraham, njn. 2015-09-28 12:01:42 +02:00
L. David Baron d8077000b9 Bug 1208220 - Remove test of manifest filename that breaks my workflow. r=jgraham
--HG--
extra : commitid : D1TVe5fBbvj
2015-09-27 02:19:13 -07:00
Chris Peterson 71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Wes Kocher d4897fa1ef Backed out changeset feceb41f1c3c (bug 1185244) for breaking running tests locally CLOSED TREE a=backout 2015-09-22 17:08:37 -07:00
Julian Seward b3bc139b1e Bug 1185244 - Improve mach support for running mochitests on Valgrind. r=jgraham, njn. 2015-09-22 12:00:57 +02:00
Daniel Holbert 55686feb97 Bug 1206230: Make ReftestArgumentsParser defer to self.build_obj for 'bindir' (fixing local mach reftest|crashtest runs). r=jgraham 2015-09-20 00:03:13 -07:00