Commit Graph

48 Commits

Author SHA1 Message Date
Geoff Brown
e2116c3fec Bug 1354042 - Delete pending crash reports between mochitests; r=jmaher 2017-04-09 11:31:19 -06:00
Greg Mierzwinski
c71d2a6dd7 Bug 1301984 - Add code coverage to mochitest-plain tests. r=jmaher
This patch allows the use of the flag '--jscov-dir-prefix' for mochitest plain tests to enable code coverage collection with the JS Debugger. It also enables the mochitest-plain tests for the linux64-jsdcov build platform.

MozReview-Commit-ID: 6RqMEZ1I0D7
2017-02-20 22:55:59 -05:00
pyang
8d4b33418e Bug 1286312 - Add mochitest option to run tests using https r=ahal
MozReview-Commit-ID: EHooQEjEDfF
2017-01-06 21:51:13 +08:00
Myk Melez
11388a70ad Bug 1238079 - remove the desktop web runtime; r=fabrice,mossop,gps,jryans,jmaher,marco 2016-03-07 13:33:12 -08:00
Andrew Halberstadt
0328985a1e Bug 1042998 - Use StructuredLog.jsm for mochitest logging, r=chmanchester 2015-09-04 14:37:32 -04:00
Andrew Halberstadt
37afafc1a3 Bug 1131098 - Make mochitest use manifestparser's chunking algorithms and remove JS based ones, r=jmaher 2015-03-10 09:55:30 -04:00
Nathan Froyd
d0a8529382 Bug 1136700 - enable tweaking of the maximum number of timeouts for mochitests; r=jmaher
When running tests locally, it's occasionally useful to be able to
increase the number of tests permitted to timeout before declaring the
test run a failure.  This patch adds the necessary bits to SimpleTest
and the appropriate amount of plumbing to runtests.py and mach to make
that so.
2015-02-25 09:23:54 -05:00
J. Ryan Stinnett
f8e6306aae Bug 1123945 - Fix --no-autorun harness option. r=jmaher 2015-01-21 15:22:16 -06:00
Chris Peterson
fbc47b4055 Bug 1117566 - Fix some JavaScript warnings in SimpleTest runner. r=jmaher 2014-12-21 22:03:37 -08:00
Vaibhav Agrawal
ca53ae4690 Bug 1089037 - Removing invalid mochitests and moving webapprt-content tests to a seperate "webapprtContent" folder in object directory. r=jmaher, marco 2014-11-13 12:30:00 +01:00
Joel Maher
5741b0639b Bug 987849 - Add fail-if support to Mochitest manifests. r=ahal. 2014-10-17 10:01:15 -04:00
Gijs Kruitbosch
0b35426fc5 Bug 1014062 - expose harness parameters via SimpleTest, always use the harness, pass keep-open for single test runs with mach, r=ted,f=bz 2014-05-22 20:09:21 +01:00
Ahmed Kachkach
1fecc03161 Bug 1041706 - Mochitests prints raw JSON logs when running with a debugger. r=ahal 2014-07-23 15:31:00 +02:00
Ahmed Kachkach
e420cd4b58 Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger 2014-07-17 09:02:00 +02:00
Carsten "Tomcat" Book
1358119f32 Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows 2014-07-11 14:15:29 +02:00
Ahmed Kachkach
64d66ddf12 Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger 2014-07-10 13:33:00 +02:00
Jim Blandy
39dc0c6097 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
Nathan Froyd
e51d903f0a Bug 969437 - part 1 - introduce a --quiet option for mochitests; r=jmaher 2014-03-07 11:42:07 -05:00
Nathan Froyd
e3ca03590d Bug 979936 - delete unused `quiet' param-handling code in setup.js; r=jmaher 2014-03-05 12:39:46 -05:00
Nathan Froyd
d7a6adc571 Bug 940637 - part 2 - update TestRunner.js to understand new dumping options; r=jmaher 2013-11-21 13:02:56 -05:00
Felipe Gomes
5659d7626e Bug 932144 - Add option to break into debugger on test failure. r=jmaher 2013-11-01 17:23:34 -02:00
Bill McCloskey
f5958bdaca Bug 931279 - Allow people to start running at a given test (r=jmaher) 2013-10-28 12:24:55 -07:00
Joel Maher
bfed61aa0a Bug 868158 - mochitests should support manifest format. r=ted 2013-08-02 08:48:06 -04:00
Gavin Sharp
e630091075 Bug 883314 part 2: refactor mochitest chunking code to be re-used for mochitest-browser-chrome, r=jmaher 2013-06-16 11:19:47 -04:00
Felipe Gomes
692ccbb8e7 Bug 880555 - Fix --test-manifest option for non mochitest-plain. r=jmaher 2013-06-17 19:04:04 +02:00
Felipe Gomes
e585a66a23 Bug 875463 - Implement --run-until-failure option for mochitests. r=jmaher 2013-05-24 16:03:50 -03:00
Joel Maher
56edda1c29 Bug 811444 - panda boards magically reboot in the middle of the test. r=ted 2012-11-28 10:23:11 -05:00
Ehsan Akhgari
589b297a60 Bug 814519 - Fix a typo in SimpleTest/setup.js; r=ted 2012-11-27 14:02:08 -05:00
Myk Melez
92dcf0c05e bug 783391 - NS_ERROR_FILE_IS_DIRECTORY on mochitest-chrome runs; r=adw 2012-08-16 15:20:29 -07:00
Myk Melez
df103ffdb0 bug 770770: refactor webapp runtime test harness to reduce complexity/special-casing; r=adw 2012-08-14 15:27:26 -07:00
Jonathan Griffin
a84fc6619d Bug 781711 - Make mochitest manifests work properly with both runtests and excludetests, r=jmaher 2012-08-10 09:44:50 -07:00
Joel Maher
9510764c65 Bug 761125 - change mochitests to run all tests except excludedtests in android.json. r=jgriffin 2012-06-14 09:01:23 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Joel Maher
4ee50a7ae4 Bug 725112 - Add an easy make command to rerun tests that failed the last time. r=ted 2012-02-20 09:59:04 -05:00
Joel Maher
ea7770f404 Bug 693959 - convert quit.js to specialpowers. r=ted 2011-10-14 07:52:02 -04:00
Joel Maher
dc3d794954 Bug 687264 - add mochitest support for filtering tests. r=ctalbert 2011-09-26 07:41:17 -04:00
Malini Das
caa5ff58fc Bug 682028 - Rename the Mochitest 'loops' feature to be 'repeat'. r=jmaher 2011-08-29 16:14:33 -04:00
Malini Das
e7324f33e1 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- harness. r=jmaher, a=test-only 2011-08-12 12:21:35 -04:00
Joel Maher
efeea55065 Bug 668303 - convert mozillafilelogger to specialpowers. r=ctalbert, a=test-only 2011-07-18 22:10:29 -04:00
Malini Das
748d369135 Bug 603517 - Enable mochitest to optionally run in loops without restarting the browser r=ctalbert 2011-07-14 14:39:17 -07:00
Joel Maher
2d81e9bd0d Bug 654461 - cleanup chrome and a11y harnesses to simplify code. r=ted, a=test-only 2011-05-17 13:10:37 -04:00
Jonathan Griffin
08988c7a2c Bug 521130. Add a --timeout parameter to runtests.py, and change the --timeout parameter in runreftests.py to use s instead of ms. r=ted 2009-10-16 13:23:30 -07:00
Chris AtLee
bd44af5f69 Bug 494165 - Support --total-chunks, --this-chunk, --chunk-by-dir, and --shuffle arguments to runtests.py. r=ted 2009-09-22 09:12:58 -04:00
Ted Mielczarek
95908358cd Backed out changeset e5f6affc4c88 for breaking Mochitest
Bug 494165 - Support --total-chunks, --this-chunk, --chunk-by-dir, and --shuffle arguments to runtests.py. r=ted
2009-09-21 09:09:41 -04:00
Chris AtLee
64837b9eb6 Bug 494165 - Support --total-chunks, --this-chunk, --chunk-by-dir, and --shuffle arguments to runtests.py. r=ted 2009-09-21 08:03:46 -04:00
Serge Gautherie
de6c49d2b6 Bug 473506 - Synchronize BrowserChrome and Mochitest log formats; (Av1) Mochitest: remove '*** ' console output; r=rcampbell 2009-05-26 18:33:13 +02:00
sayrer@gmail.com
e17d2fe676 Bug 370696. chrome mochitest. r=rcampbell 2007-02-20 01:56:30 +00:00
sayrer@gmail.com
bdb99bc198 Bug 364043. Remove dependency on Python for HTTP server to serve mochitests. Patch by Jeff Walden <jwalden+bmo@mit.edu> and Robert Sayre <sayrer@gmail.com>. r=rcampbell 2007-01-26 18:44:58 +00:00