Commit Graph

118 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
Xidorn Quan
4896541b3d Bug 1337674 followup 3 - Fix assertion check.
MozReview-Commit-ID: EckSAiEeou5
2017-02-18 12:17:24 +11:00
Xidorn Quan
a96d0c0d0e Bug 1337674 part 3 - Add failure pattern file support to mochitest. r=jmaher
MozReview-Commit-ID: EcK8AJbXfwh
2017-02-16 16:41:50 +11:00
Florian Quèze
63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
prakhar0409
a514a13a38 Bug 1298909 - report slowest test in all cases, even with requestLongerTimeout() is called. r=jmaher
HGcription>. r?jmaher branch 'default'

MozReview-Commit-ID: C8oij8WCQtl
2016-09-16 23:30:00 +05:30
JW Wang
52387f2d5c Bug 1259651 - Add the ability to register callback functions to be notified when a mochitest times out to SimpleTest. r=ted.
MozReview-Commit-ID: 2p7qqFMxHpW
2016-04-01 07:42:43 +08:00
Ehsan Akhgari
db2dccbee8 Bug 1256984 - Indicate whether tests ran in e10s mode in the mochitest-* summary; r=mconley 2016-03-18 16:09:12 -04:00
Marco Castelluccio
11f972319b Bug 1250453 - Remove DOMApplicationRegistry.allAppsLaunchable property and related testing API. r=myk 2016-03-14 16:29:11 +00:00
Andrew Halberstadt
0def4012ac Bug 1216254 - [mochitest] Ignore unknown log actions when interactive debugger enabled, r=chmanchester 2015-10-19 16:19:09 -04:00
Andrew Halberstadt
0328985a1e Bug 1042998 - Use StructuredLog.jsm for mochitest logging, r=chmanchester 2015-09-04 14:37:32 -04:00
Hiroyuki Ikezoe
8fd0fb6b8e Bug 1101039 - Mochitest should output stack trace in failure case. r=ted
CLOSED TREE
2015-07-15 15:10:00 -04:00
Tom Tromey
7ebd885f4d Bug 1150646 - Ensure that memory stats show up in treeherder logs. r=chmanchester 2015-04-03 11:19:00 -04:00
Ryan VanderMeulen
8d1032d201 Backed out changeset 1c0b0e3074c3 (bug 1119952) for frequent Linux debug mochitest failures.
CLOSED TREE
2015-01-13 14:43:34 -05:00
Martin Thomson
9ed2261163 Bug 1119952 - Reduce log spam from calling finished() multiple times. r=jmaher 2015-01-09 13:32:01 -08:00
Chris Peterson
fbc47b4055 Bug 1117566 - Fix some JavaScript warnings in SimpleTest runner. r=jmaher 2014-12-21 22:03:37 -08:00
Bobby Holley
c61e84c69c Bug 1096526 - Don't look for a structured formatter for buffering_on/buffering_off. r=jmaher 2014-11-11 16:11:25 -08:00
Joel Maher
5741b0639b Bug 987849 - Add fail-if support to Mochitest manifests. r=ahal. 2014-10-17 10:01:15 -04:00
Chris Manchester
8fc068d7db Bug 1045525 - Convert automationutils python logging to log through mozlog.structured.;r=ahal 2014-08-29 10:37:17 -04:00
Martijn Wargers
6b482feeb1 Bug 1032878 - Make sure that tests running after SimpleTest.finish() are causing errors. r=jmaher 2014-08-04 10:47:53 -07:00
Ahmed Kachkach
8a7c062bb9 Bug 1052937 - Default value for missing subtest in mochitest structured logs. r=ahal 2014-08-18 23:15:00 -04:00
Ahmed Kachkach
67170c5401 Bug 1054304 - Correct test status for tests that do not call SimpleTest.finish(). r=chmanchester 2014-08-15 09:26:00 -04:00
Ahmed Kachkach
ce506988eb Bug 1050251 - Use the correct message/name for chrome mochitest asserts. r=chmanchester 2014-08-15 14:42:00 -04:00
Ahmed Kachkach
29ff7354e7 Bug 1051635 - Fix the missing error handling in TestRunner (structured logging). r=chmanchester 2014-08-12 13:59:00 -04:00
Gijs Kruitbosch
a3f601c69e Bug 1051066 - fix mochitest-chrome for single test runs, r=ted 2014-08-09 09:26:53 +01: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
Chris Manchester
bb535aca83 Bug 1048288 - Log test_end messages instead of errors to prevent useful messages about assertion counts from being buffered.;r=ahal 2014-08-06 17:14:11 -04:00
James Graham
d70d6b0953 Bug 1042921 - Explicitly type-convert all input to mozlog.structured.;r=ahal 2014-08-04 10:29:58 +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
James Graham
f40ef06dfd Bug 1041546 - Ensure that structured log message fields are always strings, r=chmanchester 2014-07-22 19:01:00 +01: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
Marco Castelluccio
b6bc3b6a37 Bug 993326 - Automatically restore apps launchable value. r=fabrice 2014-04-17 16:43:04 -04:00
Nathan Froyd
e51d903f0a Bug 969437 - part 1 - introduce a --quiet option for mochitests; r=jmaher 2014-03-07 11:42:07 -05:00
Masatoshi Kimura
4e565c2efe Bug 980278 - Remove DataContainerEvent dependency from Mochitest. r=jmaher 2014-03-21 13:00:00 +09:00
Nathan Froyd
741483d39f Bug 940637 - part 3 - change MemoryStats.dump to dump about:memory and DMD if instructed; r=jmaher 2013-11-21 13:03:19 -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
Shu-yu Guo
e17ab37f21 Bug 939414 - Dump memory stats for browser-chrome. (r=ted) 2013-11-20 12:08:07 -08:00
Nicholas Nethercote
1295592348 Bug 939385 (part 1, attempt 2) - Rename largestContiguousVMBlock as vsizeMaxContiguous. r=froydnj. 2013-11-18 22:24:12 -08:00
Carsten "Tomcat" Book
4e0f7aa242 Backed out changeset a06dd3421421 (bug 939385) for perma failures/orange in XPCShell Tests on Linux and OS X on a CLOSED TREE 2013-11-19 11:48:01 +01:00
Nicholas Nethercote
beb545fac9 Bug 939385 (part 1) - Rename largestContiguousVMBlock as vsizeMaxContiguous. r=froydnj. 2013-11-18 22:24:12 -08:00
Andrew McCreight
e81b66cfc5 Bug 939137 - make it work in both mochitest plain and chrome. r=froydnj
CLOSED TREE
2013-11-15 15:49:54 -08:00
Nathan Froyd
93301e5869 Bug 939137 - part 2 - display memory statistics following each mochitest; r=ted
Landing this on a CLOSED TREE
2013-11-15 12:01:06 -05:00
Felipe Gomes
3af2806084 Bug 916797 - --run-until-failure mochitest option should support running multiple tests. r=jmaher 2013-11-05 13:48:36 -02: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
L. David Baron
f8cff480b3 Bug 847275 patch 1: Make assertions cause test failures in browser-chrome mochitest. r=dao
I tested all three error messages manually by making different
SimpleTest.expectAssertions() calls in
browser/base/content/test/browser_aboutHome.js .
2013-09-09 12:21:24 +02:00
Martijn Wargers
116a7d3490 Bug 873149 - Report the slowest test in mochitest, r=ted 2013-06-14 02:03:48 +02:00
Felipe Gomes
e585a66a23 Bug 875463 - Implement --run-until-failure option for mochitests. r=jmaher 2013-05-24 16:03:50 -03:00