Commit Graph

30 Commits

Author SHA1 Message Date
Andrew Halberstadt
2651e9f398 Bug 1171971 - Move test_paths argument out of mach and into mochitest; remove --test-path, r=chmanchester 2015-06-05 13:28:29 -04:00
Blake Kaplan
f6fcc8c5b2 Bug 1167412 - Always register testing JS modules. r=ted 2015-05-21 14:57:00 -04:00
Joel Maher
f07da5342f Bug 1083272 - remove chrome-harness.js ability to load file list from jar file. r=ahal 2014-10-17 10:01:21 -04: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
Joel Maher
7c6d249bbb 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
Carsten "Tomcat" Book
8a19488ae8 Backed out changeset 86d0bd2a0233 (bug 992911) for android 2.3 bustage 2014-06-02 13:36:51 +02:00
Joel Maher
398ab89b6c Bug 992911 - (run-by-dir) add the ability to run mochitests per directory in a loop. r=ahal 2014-06-02 06:54:23 -04:00
Tim Taubert
cd718768c9 Bug 934398 - Fix warning about assignment to undeclared variable 'p' r=jmaher
From 2cb477ab9b0da93c6a9f188a3e3cf62528d308ce Mon Sep 17 00:00:00 2001
2013-11-04 12:02:38 +01:00
Alexandre Poirot
0e73dede7f Bug 926332 - Expose getTestFile to mochitest chrome/browser that returns nsIFile instance for test data files. r=jmaher 2013-10-17 14:27:23 -04:00
Ryan VanderMeulen
4bc95bd4b1 Backed out changeset 62732da6ae3d (bug 926332) for suspicion of causing mochitest-bc timeouts. 2013-10-17 16:22:41 -04:00
Alexandre Poirot
f4d2efaafc Bug 926332 - Expose getTestFile to mochitest chrome/browser that returns nsIFile instance for test data files. r=jmaher 2013-10-17 14:27:23 -04:00
Joel Maher
bfed61aa0a Bug 868158 - mochitests should support manifest format. r=ted 2013-08-02 08:48:06 -04:00
Gavin Sharp
4880a53dc8 Bug 883314 part 1: simplify code, r=jmaher 2013-06-16 11:15:17 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01: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
Malini Das
2dfb7e6311 Bug 603517 Fix the fact that mochitest looping broke running a single chrome test r=ctalbert 2011-07-20 13:34:22 -07:00
Benjamin Stover
9bd3ca61aa Bug 658065 Fix some warnings in mochitest harness r=ctalbert 2011-06-08 09:04:14 -07:00
Joel Maher
38330d0c3c Bug 618977 - Specifying an invalid test-path no longer complains about no tests to run, instead just does nothing. r=gavin, a=test-only 2011-05-20 11:54:01 -04: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
Phil Ringnalda
cd4034f250 Bug 608546 - Get rid of log spam about 'variable basePath redeclares argument', r=jmaher, a=test-only 2010-10-30 10:00:19 -07:00
Paul O’Shannessy
5111841062 Bustage fix from 91a49bf6464b. a=bustage
I shouldn't be allowed to copy & paste...
2010-10-04 13:50:16 -07:00
Paul O’Shannessy
09a2c5033c Bug 600066 - Don't use octal escape sequences in mochitest harness [r=ctalbert, a=NPOTB]
Landing again, changes were reverted in a merge in bug 543800.
2010-10-04 13:03:30 -07:00
Mounir Lamouri
f46b7f730e Merging to tip. a=blocking-b7 2010-09-30 17:10:19 -07:00
Paul O’Shannessy
c51a089a7b Bug 600066 - Don't use octal escape sequences in mochitest harness [r=ctalbert, a=NPOTB] 2010-09-28 11:54:29 -07:00
Joel Maher
b1ad653c4b Bug 574189 - Fix chrome tests to work from an extension for android and e10s support a=NPOTB r=ctalbert 2010-08-24 10:29:34 -07:00
Jonas Sicking
3a09698a51 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
f9880f593b Bug 574189 - Fix chrome tests so they can run from a .jar bundle (e10s, android) r=ctalbert a=NPOTB 2010-08-20 09:28:13 -07:00