Carsten "Tomcat" Book
845c7a4d1b
merge mozilla-inbound to mozilla-central a=merge
2014-07-14 14:34:36 +02:00
Vaibhav Agrawal
e30c97e57a
Bug 1028226 - Clean up the code for manifest parsing. r=jmaher
2014-07-10 09:38:00 +02:00
Alfredo Yang
98b14a5dcc
Bug 984274 - Remove WebappsUpdateTimers in B2G mochitests. r=fabrice
2014-06-30 23:59:00 -04:00
Lebedev Maksim
b134941048
Bug 976963 - Resolve issues with tests on B2G system. r=smaug
2014-07-09 01:03:00 -04:00
Vaibhav Agrawal
b2d92da5f8
Bug 1036374 - Adding a binary search algorithm for bisection of failing tests. r=jmaher
2014-07-09 13:20:00 +02:00
Ting-Yu Lin
00d2bb924f
Bug 982560 - Fix mach fails to find tests in subdirectory. r=gps
...
Make the test paths relative to topsrcdir before passing them to
TestResolver. Also do not passing cwd to TestResolver since it will
filter out tests that do not live under the directory where the mach
command is executed.
Verification steps:
Execute a mach test command from any subdirectory. For example:
$ cd testing/tps/
$ ../../mach xpcshell-test ../../services/fxaccounts/tests/xpcshell/
$ ../../mach test ../../services/fxaccounts/tests/xpcshell/
2014-07-01 23:21:00 +02:00
Vaibhav Agrawal
8dd0e39442
Bug 1014125 - Bisection Base Patch. r=ahal
2014-07-04 13:55:00 +02:00
Andrew Comminos
e31c58cd7c
Bug 958868 - Add support for delta line and page accumulation; r=masayuki, sr=smaug
2014-07-07 18:54:14 +09:00
Marco Castelluccio
220c26d71b
Bug 1028987 - Don't use Task.jsm to wait for cleanup function promises. r=jmaher
2014-07-04 14:41:24 +02:00
Geoff Brown
736358712e
Bug 1031103 - Enable test_bug659743.xml on Android 2.3; no review
2014-07-03 22:11:42 -06:00
Geoff Brown
e1976df582
Bug 981889 - Enable content/media/webaudio/test mochitests on Android 2.3; no review
2014-07-02 18:43:41 -06:00
Geoff Brown
e0bc9763a7
Bug 981898 - Enable content/media/test mochitests on Android 2.3; no review
2014-07-02 18:43:40 -06:00
Carsten "Tomcat" Book
f0569c8ad2
Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows
2014-07-11 14:15:29 +02:00
Ahmed Kachkach
c4872d76ea
Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger
2014-07-10 13:33:00 +02:00
Geoff Brown
cbbabf181b
Bug 1031103 - Skip test_bug659743.xml on Android 2.3 for too many intermittent time outs; no review
2014-06-27 13:59:29 -06:00
Geoff Brown
cad062f7f5
Bug 1030942 - Skip test_no_arr_points.html on Android 2.3, no review, on a CLOSED TREE
2014-06-26 14:01:41 -06:00
Geoff Brown
f57af90fe9
Bug 1030432 - Skip test_transitions_cancel_near_end.html on Android 2.3 only; no review
2014-06-25 18:58:48 -06:00
Geoff Brown
e2cd7191bd
Bug 1030419 - Skip test_media_queries.html on Android 2.3 only; no review
2014-06-25 18:58:48 -06:00
Geoff Brown
3fb0d8f9ae
Bug 1030403 - Skip test_reserved.html on Android 2.3 only; no review
2014-06-25 18:58:47 -06:00
David Rajchenbach-Teller
a82c78cd53
Bug 1023787 - Make Task.jsm stack rewriting play nicely with xpcshell and mochi tests. r=paolo, r=mikedeboer
2014-06-20 14:23:00 -04:00
Jim Blandy
4d6a633bba
Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
...
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):
- Never set the buffer's mode.
Years ago, Emacs did not have a good JavaScript mode, so it made sense
to use Java or C++ mode in .js files. However, Emacs has had js-mode for
years now; it's perfectly serviceable, and is available and enabled by
default in all major Emacs packagings.
Selecting a mode in the -*- file variable line -*- is almost always the
wrong thing to do anyway. It overrides Emacs's default choice, which is
(now) reasonable; and even worse, it overrides settings the user might
have made in their '.emacs' file for that file extension. It's only
useful when there's something specific about that particular file that
makes a particular mode appropriate.
- Correctly propagate settings that establish the correct indentation
level for this file: c-basic-offset and js2-basic-offset should be
js-indent-level. Whatever value they're given should be preserved;
different parts of our tree use different indentation styles.
- We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
Remove tab-width: settings, at least in files that don't contain tab
characters.
- Remove js2-mode settings that belong in the user's .emacs file, like
js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Andrew Halberstadt
e30a35bbc9
Bug 1028746 - Running mach mochitest-remote from gecko srcdir raises AttributeError instead of being helpful, r=gps, DONTBUILD, a=NPOTB
2014-06-24 13:47:19 -04:00
Vaibhav Agrawal
45213e82ee
Bug 925699 - pymake/mach mochitest-plain don't delete the temporary profile. r=jmaher
2014-06-24 12:02:07 -04:00
Carsten "Tomcat" Book
8be0d4bc98
Backed out changeset 8499eefa342e (bug 958868) for m2 test failures on a CLOSED TREE
2014-06-24 12:49:47 +02:00
Vaibhav Agrawal
34b269b85c
Bug 925699 - pymake/mach mochitest-plain don't delete the temporary profile. r=jmaher
2014-06-23 11:24:00 +02:00
Andrew Comminos
156004b042
Bug 958868 - Add support for delta line and page accumulation; r=masayuki, sr=smaug
2014-06-24 18:02:11 +09:00
Geoff Brown
8e59ee35ac
Bug 1028918 - Re-enable test_MediaSource.html on Android 2.3; no review
2014-06-23 21:17:02 -06:00
David Burns
d5d64c921c
Bug 1024642: Remove extra white space from files, no functional changes; r=dbaron
2014-06-23 10:24:16 +01:00
David Burns
a495f58aea
bug 1024642: Add rebeccapurple to mochitest colors; r=jmaher
2014-06-23 10:24:08 +01:00
Geoff Brown
2fbcaa2826
Bug 1028918 - Disable content/media/mediasource/test/test_MediaSource.html on Android 2.3; r=me
2014-06-23 08:35:52 -06:00
Wes Kocher
04a521faea
merge m-c to inbound on a CLOSED TREE
2014-06-20 14:02:54 -07:00
Wes Kocher
b8d6b378bf
Merge m-c to fx-team
2014-06-19 18:33:19 -07:00
Gregory Szorc
88fb1d29b0
Bug 920193 - mach mochitest can now receive test objects; r=AutomatedTester
...
Similar to the previous patch, we now teach `mach mochitest` how to
execute test objects directly.
--HG--
extra : rebase_source : b69b5b74bcf6c81cff5deb28a1156ab2fcc691f7
2014-06-18 11:19:45 -07:00
Gregory Szorc
c15e536e73
Bug 938712 - Add --flavor to mach mochitest; r=AutomatedTester
...
`mach mochitest` now accepts a --flavor argument to limit execution to
tests of a certain flavor. Executing `mach mochitest --flavor=X` should
be equivalent to executing `mach mochitest-X`.
This paves the road to deprecating the various `mach mochitest-X`
commands.
--HG--
extra : rebase_source : 0f8370425f54a4ec86e7f668bcbff69362e017f7
2014-06-17 15:49:41 -07:00
Gregory Szorc
b3a110713e
Bug 938712 - Implement mach mochitest; r=AutomatedTester
...
The `mach mochitest` command is now implemented. Given test path
arguments, it will identify mochitests of any flavor and run the
appropriate mochitest suite.
If tests from multiple suites are present, it will invoke each suite
separately. Although, the output in this mode isn't very friendly.
There are a number of enhancements that could be made to this command,
including the abilities to filter by flavor and sub-suite. These will
come in another patch.
--HG--
extra : rebase_source : 9be6000e6bb508ef0c980eda9f9ebe03a4c0f02a
2014-06-17 15:42:08 -07:00
Gregory Szorc
fce0336b8c
Bug 938712 - Allow multiple instantiations of MochitestOptions; r=AutomatedTester
...
The MochitestOptions class has a class-local definition of the options
going into the optparse instance. The default values for these options
would be reused by subsequent consumers. In the case of the profile
path, the same temporary directory would be used. In the case of list
arguments, subsequent runs would inherit members added by earlier runs.
This patch should make subsequent runs free from the baggage of the
first.
--HG--
extra : rebase_source : c55a229e67515a9133377404344872ad0935a637
2014-06-17 15:38:13 -07:00
Andrew McCreight
4061f7761e
Bug 988041 - Enable LeakSanitizer for Mochitests. r=jmaher
2014-06-20 09:08:30 -07:00
Andrew Halberstadt
d638652838
Bug 997244 - Move emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin
2014-06-19 14:17:26 -04:00
Geoff Brown
7285ebc540
Bug 1026830 - Add LD_LIBRARY_PATH=xrePath when launching utilities; r=jmaher
2014-06-18 20:39:34 -06:00
Nicholas Nethercote
39f29c384a
Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
...
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Wes Kocher
0771859834
Backed out changeset 81a51de30a2a (bug 997244) for breaking b2g emulator mochitests on an otherwise CLOSED TREE
2014-06-18 14:15:48 -07:00
Andrew Halberstadt
0b14f45d59
Bug 997244 - Pull emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin
2014-06-18 13:30:12 -04:00
Armen Zambrano Gasparnian
9c5e561048
Bug 989583 - Set self.testRoot and self.testRootAbs in only one place (runtests.py). r=jmaher
2014-06-17 09:50:16 -04:00
Armen Zambrano Gasparnian
31244d9e09
Bug 989583 - Install all tests (even disabled) from manifests. r=jmaher
2014-06-16 14:51:22 -04:00
David Rajchenbach-Teller
7f063bb1ef
Bug 1010518 - Activate Task.Debugging.maintainStack on test suites. r=ted
2014-06-09 14:43:00 +02:00
William Lachance
4b9480677f
Bug 984528 - Rename manifestdestiny -> manifestparser. r=ahal
...
--HG--
rename : testing/mozbase/docs/manifestdestiny.rst => testing/mozbase/docs/manifestparser.rst
rename : testing/mozbase/manifestdestiny/manifestparser/__init__.py => testing/mozbase/manifestparser/manifestparser/__init__.py
rename : testing/mozbase/manifestdestiny/manifestparser/manifestparser.py => testing/mozbase/manifestparser/manifestparser/manifestparser.py
rename : testing/mozbase/manifestdestiny/setup.py => testing/mozbase/manifestparser/setup.py
rename : testing/mozbase/manifestdestiny/tests/comment-example.ini => testing/mozbase/manifestparser/tests/comment-example.ini
rename : testing/mozbase/manifestdestiny/tests/default-skipif.ini => testing/mozbase/manifestparser/tests/default-skipif.ini
rename : testing/mozbase/manifestdestiny/tests/filter-example.ini => testing/mozbase/manifestparser/tests/filter-example.ini
rename : testing/mozbase/manifestdestiny/tests/fleem => testing/mozbase/manifestparser/tests/fleem
rename : testing/mozbase/manifestdestiny/tests/include-example.ini => testing/mozbase/manifestparser/tests/include-example.ini
rename : testing/mozbase/manifestdestiny/tests/include/bar.ini => testing/mozbase/manifestparser/tests/include/bar.ini
rename : testing/mozbase/manifestdestiny/tests/include/crash-handling => testing/mozbase/manifestparser/tests/include/crash-handling
rename : testing/mozbase/manifestdestiny/tests/include/flowers => testing/mozbase/manifestparser/tests/include/flowers
rename : testing/mozbase/manifestdestiny/tests/include/foo.ini => testing/mozbase/manifestparser/tests/include/foo.ini
rename : testing/mozbase/manifestdestiny/tests/just-defaults.ini => testing/mozbase/manifestparser/tests/just-defaults.ini
rename : testing/mozbase/manifestdestiny/tests/manifest.ini => testing/mozbase/manifestparser/tests/manifest.ini
rename : testing/mozbase/manifestdestiny/tests/mozmill-example.ini => testing/mozbase/manifestparser/tests/mozmill-example.ini
rename : testing/mozbase/manifestdestiny/tests/mozmill-restart-example.ini => testing/mozbase/manifestparser/tests/mozmill-restart-example.ini
rename : testing/mozbase/manifestdestiny/tests/no-tests.ini => testing/mozbase/manifestparser/tests/no-tests.ini
rename : testing/mozbase/manifestdestiny/tests/path-example.ini => testing/mozbase/manifestparser/tests/path-example.ini
rename : testing/mozbase/manifestdestiny/tests/relative-path.ini => testing/mozbase/manifestparser/tests/relative-path.ini
rename : testing/mozbase/manifestdestiny/tests/test_convert_directory.py => testing/mozbase/manifestparser/tests/test_convert_directory.py
rename : testing/mozbase/manifestdestiny/tests/test_convert_symlinks.py => testing/mozbase/manifestparser/tests/test_convert_symlinks.py
rename : testing/mozbase/manifestdestiny/tests/test_default_skipif.py => testing/mozbase/manifestparser/tests/test_default_skipif.py
rename : testing/mozbase/manifestdestiny/tests/test_expressionparser.py => testing/mozbase/manifestparser/tests/test_expressionparser.py
rename : testing/mozbase/manifestdestiny/tests/test_manifestparser.py => testing/mozbase/manifestparser/tests/test_manifestparser.py
rename : testing/mozbase/manifestdestiny/tests/test_read_ini.py => testing/mozbase/manifestparser/tests/test_read_ini.py
rename : testing/mozbase/manifestdestiny/tests/test_testmanifest.py => testing/mozbase/manifestparser/tests/test_testmanifest.py
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/subdir/manifest.ini => testing/mozbase/manifestparser/tests/verifyDirectory/subdir/manifest.ini
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/subdir/test_sub.js => testing/mozbase/manifestparser/tests/verifyDirectory/subdir/test_sub.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/test_1.js => testing/mozbase/manifestparser/tests/verifyDirectory/test_1.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/test_2.js => testing/mozbase/manifestparser/tests/verifyDirectory/test_2.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/test_3.js => testing/mozbase/manifestparser/tests/verifyDirectory/test_3.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/verifyDirectory.ini => testing/mozbase/manifestparser/tests/verifyDirectory/verifyDirectory.ini
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/verifyDirectory_incomplete.ini => testing/mozbase/manifestparser/tests/verifyDirectory/verifyDirectory_incomplete.ini
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/verifyDirectory_toocomplete.ini => testing/mozbase/manifestparser/tests/verifyDirectory/verifyDirectory_toocomplete.ini
2014-06-10 13:20:23 -04:00
Gijs Kruitbosch
13038eca1c
Bug 1022616 - mochitest chrome template uses broken path to SimpleTest.js, r=jmaher DONTBUILD because NPOTB
...
--HG--
extra : rebase_source : 5924ce540737491b5ad1baef3dda1c8256b4675b
2014-06-09 13:17:21 +01:00
Nathan Froyd
bd475bdbca
Bug 988169 - display the list of mochitests again; r=jmaher
2014-05-22 10:32:32 -04:00
Joel Maher
15b2b6128b
Bug 992911 - (run-by-dir) add the ability to run mochitests per directory in a loop. r=ahal
2014-06-03 11:19:28 -04:00
Geoff Brown
9f04be3a68
Bug 1019604 - Avoid mochitest cleanup failure following error; r=jmaher
2014-06-03 08:19:37 -06:00