Commit Graph

30 Commits

Author SHA1 Message Date
Andrew Halberstadt
c5ccd2f839 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
874588c43a Bug 1167412 - Always register testing JS modules. r=ted 2015-05-21 14:57:00 -04:00
Joel Maher
d30865b635 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
68c23f6dff Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger 2014-07-17 09:02:00 +02: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
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
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
Carsten "Tomcat" Book
b24097f49a Backed out changeset 86d0bd2a0233 (bug 992911) for android 2.3 bustage 2014-06-02 13:36:51 +02:00
Joel Maher
5ba56a3264 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
953dc23b63 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
06f17aee94 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
2616551afa Backed out changeset 62732da6ae3d (bug 926332) for suspicion of causing mochitest-bc timeouts. 2013-10-17 16:22:41 -04:00
Alexandre Poirot
b7ca058ef7 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
414a3b5080 Bug 868158 - mochitests should support manifest format. r=ted 2013-08-02 08:48:06 -04:00
Gavin Sharp
ec13bb0752 Bug 883314 part 1: simplify code, r=jmaher
--HG--
extra : transplant_source : J%AA%8D%F0%3B%AFi%00%18i%ABY%A0%24E%C6Ok%E4T
2013-06-16 11:15:17 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Malini Das
0efd71b59a 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
a7982d5d95 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
4384958eb5 Bug 658065 Fix some warnings in mochitest harness r=ctalbert 2011-06-08 09:04:14 -07:00
Joel Maher
052cebcbb5 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
49f029c6fb 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
64b1370792 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
864398a779 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
0482dcb224 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
cc33a99998 Merging to tip. a=blocking-b7 2010-09-30 17:10:19 -07:00
Paul O’Shannessy
2496e79cb3 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
ce269022ab 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
cbc0676504 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
978a4a1ad2 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