Commit Graph

915 Commits

Author SHA1 Message Date
Andrew Halberstadt
a6f7f7bcdf Bug 1226017 - Drop support for b2g desktop in reftests, r=jgriffin 2015-11-27 13:56:43 -05:00
Mike Hommey
07c211f05c Bug 1228467 - Don't preprocess layout/tools/reftest/reftest-cmdline.manifest. r=gps 2015-12-01 08:25:22 +09:00
Mike Hommey
f55b90feaf 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
57be8f3651 Bug 1226864 - Don't wait for an APZ flush on load-only or script type reftests, since they don't get snapshotted. r=dbaron 2015-11-24 09:20:42 -05:00
Geoff Brown
bc88cb5243 Bug 1197716 - On Android, include fonts in test profile; r=jmaher 2015-11-06 12:01:33 -07:00
dlee
882366e7ae Bug 1214593 - Remove service worker periodic updater. r=ehsan 2015-11-02 16:08:44 +08:00
Julien Pagès
0b1cd48d94 Bug 1185969 - [mozdevice] Allow to use android preview releases. r=bc 2015-10-28 17:22:16 +01:00
Ehsan Akhgari
1bf9bdc48c Bug 1215686 - Disable ASAN leak reporting on reftests for now; r=mccr8 2015-10-19 14:08:55 -04:00
Nathan Froyd
9c5965b035 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
2015-10-18 01:24:48 -04:00
Phil Ringnalda
07c7fcad97 Back out changeset 7a8d20f52da6 (bug 1215686) for ASan jsreftest/reftest failures
CLOSED TREE
2015-10-16 20:21:54 -07:00
Chris Manchester
b62ccf544c Bug 1203266 - Allow reading reftest manifests from a provided finder. r=gps 2015-10-16 15:31:20 -07:00
Ehsan Akhgari
d0aec967ab Bug 1215686 - Disable ASAN leak reporting on reftests for now; r=mccr8 2015-10-16 17:46:38 -04:00
Geoff Brown
7919d70dc0 Bug 1087791 - Follow-up on 340c1df41b69 (pushed wrong version of patch); r=nalexander 2015-10-14 16:31:19 -06:00
Geoff Brown
bdc7dd5209 Bug 1087791 - Add |mach {reftest,crashtest,jstestbrowser}| for mobile/android. r=nalexander 2015-10-14 15:20:20 -06:00
Carsten "Tomcat" Book
9f1c0bf17d 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
9eaa0d1abc Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo
53a85861c1 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Eugen Sawin
b08f8068f9 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
5186a41002 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.
2015-09-30 17:39:33 -07:00
Gregory Szorc
3e1c9c5047 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.
2015-09-30 10:46:52 -07:00
Bas Schouten
f6d7eda226 Bug 1208465 - Part 1: Fix some reftest annotations. r=jrmuizel 2015-10-01 04:45:26 +02:00
James Willcox
0642b8e260 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
f6e593cbb9 Bug 1185244 - Improve mach support for running mochitests on Valgrind. r=jgraham, njn. 2015-09-28 12:01:42 +02:00
L. David Baron
2791c82e52 Bug 1208220 - Remove test of manifest filename that breaks my workflow. r=jgraham 2015-09-27 02:19:13 -07:00
Chris Peterson
b06d7f99a7 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
2ca91a29c1 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
9a3ed192fa Bug 1185244 - Improve mach support for running mochitests on Valgrind. r=jgraham, njn. 2015-09-22 12:00:57 +02:00
Daniel Holbert
b84c08e6df 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
Seth Fowler
9e43ef5e44 Bug 1146663 (Part 1) - Remove HQ scaling, which is now dead code. r=tn 2015-09-19 16:20:56 -07:00
James Graham
a00f447411 Bug 1198257 - Better support for providing a directory name and discovering reftests under that directory, r=jmaher 2015-09-17 10:50:59 +01:00
James Graham
e267ef4989 Bug 1193223 - Add reftest support to mach test, r=chmanchester 2015-09-17 10:50:57 +01:00
James Graham
af13c2bae8 Bug 1181516 - Allow reftests to take paths to multiple directories containing tests on the command line, r=jmaher
This makes reftest command line arguments behave more like other test suites,
so we can use a simple unified syntax for e.g. |mach try|. The patch also
reworks the command line argument parsing to use argparse rather than optparse,
and causes mach to reuse the same parser as the suite.
2015-09-17 10:50:55 +01:00
James Graham
38ba879b87 Bug 1181520 - Remove support for passing in reftest arguments via the command line, r=jmaher
This unifies how reftests are invoked across desktop and
mobile, and paves the way for introducing more complex
datatypes that are unreasonable to express on the
command line.
2015-09-17 10:50:53 +01:00
Shu-yu Guo
d8faa01cea 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
2cf77fb1a0 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
e5d7ae16e2 Bug 1198257 - Better support for providing a directory name and discovering reftests under that directory, r=jmaher 2015-09-15 15:33:35 +01:00
James Graham
00660d203f Bug 1193223 - Add reftest support to mach test, r=chmanchester 2015-09-15 15:33:34 +01:00
James Graham
f8cf8aa5a3 Bug 1181516 - Allow reftests to take paths to multiple directories containing tests on the command line, r=jmaher
This makes reftest command line arguments behave more like other test suites,
so we can use a simple unified syntax for e.g. |mach try|. The patch also
reworks the command line argument parsing to use argparse rather than optparse,
and causes mach to reuse the same parser as the suite.
2015-09-15 15:33:33 +01:00
James Graham
bbab570e7f Bug 1181520 - Remove support for passing in reftest arguments via the command line, r=jmaher
This unifies how reftests are invoked across desktop and
mobile, and paves the way for introducing more complex
datatypes that are unreasonable to express on the
command line.
2015-09-15 15:33:32 +01:00
Nathan Froyd
3ceeef6258 Bug 1196430 - part 7 - teach process_leak_log how to symbolicate leaked object stacks; r=mccr8 2015-08-26 19:41:43 -04:00
Nathan Froyd
9fa90b8cd3 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
Gian-Carlo Pascutto
38bf067754 Bug 1107372 - Update preferences for new SafeBrowsing prefs structure. r=francois 2015-09-08 08:22:10 +02:00
Geoff Brown
0f569444c5 Bug 1196814 - Fail Android mochitest, robocop, reftests when Fennec is not installed; r=jmaher 2015-09-02 14:20:01 -06:00
Kartikaya Gupta
06c158a51d Bug 1185747 part 2 - Remove magical reftest harness properties and use standard meta-viewport tags instead. r=tn 2015-09-01 16:47:52 -04:00
Carsten "Tomcat" Book
d1c6382126 Backed out changeset 2734a3110b4a (bug 1107372) for Talos Bustage on a CLOSED TREE 2015-08-31 16:19:39 +02:00
Gian-Carlo Pascutto
00d716d1ce Bug 1107372 - Update preferences for new SafeBrowsing prefs structure. r=francois 2015-08-27 10:05:23 +02:00
Nicholas Nethercote
10d95cca57 Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Kartikaya Gupta
e61f76f3f2 Bug 1180267 - Switch Fennec over to using the MobileViewportManager for computing the CSS viewport. r=snorp 2015-08-24 13:45:45 -04:00
Benjamin Smedberg
1851cc4c35 Bug 1098064 part C - remove SimpleTest and reftest testPluginIsOOP and related usage, r=jimm 2015-08-14 14:10:17 -04:00
Brian Grinstead
6cc33a7f9a Bug 1175606 - Disable tracking protection for reftests;r=philor 2015-08-08 23:16:27 -07:00