Commit Graph

223 Commits

Author SHA1 Message Date
Daniel Holbert
342630d5ea Bug 520303: Fix "assignment to undeclared variable" warning in reftest.js. r=dbaron 2009-10-03 01:26:38 -07:00
Ted Mielczarek
358f330e27 bug 519194 - No symbols in stack trace on tests of optimized builds (landing without review, consider it a bustage fix) 2009-10-02 14:46:49 -04:00
Vladimir Vukicevic
f492ca4132 b=514334; add option to disable canvas cache in reftests (intermittent crash when running reftests on low memory devices); r=roc 2009-09-22 13:01:11 -07:00
Serge Gautherie
47e80c08bb Bug 498128 - xpcshell-tests: add option to enable/disable file logging; (Av3a) Support --[no-]logfiles in xpcst suite, improve dir/file handling in 3 suites
r=ted.mielczarek
2009-09-21 18:19:21 +02:00
Serge Gautherie
750b11805e Bug 469523 - xpcshell-tests: enable leak log in tinderbox (log); (Fv1) Move code to automationutils.py from automation.py.in
r=ted.mielczarek
2009-09-06 03:08:49 +02:00
Serge Gautherie
93b0c2ea9b Backed out changeset: f6bf83b50648 2009-08-26 22:36:55 +02:00
Serge Gautherie
ac322e6f58 Bug 469523 - xpcshell-tests: enable leak log in tinderbox (log); (Fv1) Move code to automationutils.py from automation.py.in
r=ted.mielczarek
2009-08-26 18:36:40 +02:00
Bob Clary
ea90cbcb62 Bug 499315 - add support of "script" tests to reftests, r=dbaron. 2009-08-20 00:56:22 -07:00
Bob Clary
6eca926697 bug 498685 - Add isDebugBuild to reftest sandbox, r=dbaron. 2009-08-20 00:56:22 -07:00
L. David Baron
6c506cbb10 Run output of debug builds through fix-linux-stack/fix-macosx-stack. (Bug 385248) r=ted 2009-08-10 15:52:29 -07:00
Serge Gautherie
6ef7cd8550 Bug 504480 - runtests.py.in needs to do a '-silent' run first, as runreftest.py does; (Bv1) Fix runtests.py.in, Sync' runreftest.py; r=ted.mielczarek 2009-08-10 18:33:31 +02:00
Jesse Ruderman
56d3eef776 Bug 509269 - reftest should deal with missing root. r=dbaron. May fix 468211-3 orange, too. 2009-08-08 17:50:50 -07:00
Joel Maher
0f65d1f3ee Bug 471579 - reftests timeout very frequently when run on maemo device; r=(dbaron + ted.mielczarek) 2009-06-19 20:17:55 +02:00
Chris AtLee
1d860eea98 Bug 499161 - Pass xrePath and symbolsPath to runApp for reftests so that we are running the correct binaries. r=ted 2009-06-19 10:40:29 -04:00
Serge Gautherie
c5d50526fb Bug 468024 - reftest.js : optimize |outputs| assignment(s); (Av2) Check for no tests case, Whitespace cleanups; r=dbaron 2009-05-14 16:17:45 +02:00
Ted Mielczarek
eea55d01da bug 483062 - figure out how to get crash stacks from xpcshell tests - another followup bustage fix 2009-05-12 07:57:44 -04:00
Ted Mielczarek
4f4b086565 bug 483062 - figure out how to get crash stacks from xpcshell tests. r=bsmedberg
--HG--
extra : rebase_source : 70355805b7f71c016eaa7aaea1d1916a23316b8a
2009-05-11 15:54:39 -04:00
Jeff Walden
583c6b4c88 Bug 396226 - Provide an API to asynchronously generate HTTP responses in httpd.js, and implement a state-storage system which can store object references to provide greater contextual information in handlers. NB: this push enables httpd.js debug output just in case something goes wrong, to be disabled as soon as it's clear nothing has -- expect the first Windows builds to finish next century sometime. r=sayrer 2009-04-15 13:19:35 -07:00
Serge Gautherie
a789e5828a Bug 484231 - A Mochitest crashdump turns the waterfall orange but misses to |TinderboxPrint|; (Bv1) runtests.py.in: return |status| instead of |0|, and 3 (unrelated) nits; r=jwalden+bmo 2009-04-10 12:30:32 +02:00
Serge Gautherie
e279585251 Bug 469518 - Enable Reftest leak log in tinderbox (log); (Ev1) Parse the log and support a leak threshold; r=jwalden+bmo 2009-04-05 15:03:46 +02:00
Ted Mielczarek
bc23f01103 bug 421611 - Need to be able to run tests on arbitrary build - add --xre-path argument to runreftest.py. r=bsmedberg 2009-03-21 11:21:07 -04:00
Ted Mielczarek
367839ddd3 bug 421611 - Need to be able to run tests on arbitrary build. add a package target for reftest. r=bsmedberg 2009-03-11 11:56:58 -04:00
Benjamin Smedberg
3305b96ed7 Bug 481732 - Check for crash minidumps in unit tests and dump them, if the MINIDUMP_STACKWALK path is set in the environment, r=ted 2009-03-10 13:36:14 -04:00
Serge Gautherie
5dd75974c9 Bug 480077 - automation.py.in : additional fix to bug 472706 for |runApp()| return value(s); (Bv1a) Replace external times by internal duration ++; r=jwalden+bmo 2009-03-05 19:01:39 +01:00
Serge Gautherie
99f7e9f16a Bug 469518 - Enable Reftest leak log in tinderbox (log); (Av1b) Enable (bare) leak log; r=ted.mielczarek 2009-02-24 22:19:01 +01:00
L. David Baron
914fadd965 Put the timestamp in the reftest HTTP server's path to prevent cross-contamination of cached tests between branches, in case those different branches run reftests on the same profile. r=Waldo 2009-02-20 22:07:14 -08:00
Ted Mielczarek
60d1616543 bustage fix followup from bug 468913 2009-02-12 10:13:51 -05:00
Ted Mielczarek
a0dc1e2a51 bug 468913 - Need a Makefile target to run reftest. r=dbaron,bsmedberg,jwalden 2009-02-12 08:49:53 -05:00
L. David Baron
b33d36d7b7 Fix the ignoring of load events for previous documents check so that it also works for (most) cases of the assertion check. (Bug 477409) r=jruderman 2009-02-10 14:05:27 -08:00
L. David Baron
92cec0cb6d Make reftest check its invariants regarding the failure timeout, so we can see if any intermittent failures are due to such harness bugs. (Bug 477409) r=jruderman 2009-02-08 10:28:30 -08:00
L. David Baron
1a7feca1ae Try other HTTP ports if the first one is busy. (Bug 477164) r=jwalden 2009-02-06 08:52:13 -08:00
Ted Mielczarek
81aee15d41 bug 420084 - reftest should use nsIXULRuntime.widgetToolkit instead of autoconf.js. r=dbaron 2009-02-03 09:11:28 -05:00
Robert O'Callahan
91ae1c1323 Bug 474472. reftest harness should go back to the event loop after reftest-wait is removed and before we start checking isMozAfterPaintPending, in case reftest-wait was removed in a load event handler and that load event will unsuppress painting after the event handler has run. r=dbaron
--HG--
extra : rebase_source : 8b75034df21cf20db0160fa13e807225b45171b6
2009-01-22 17:15:40 +13:00
Ted Mielczarek
a966a66477 bug 473935 - add sandbox property indicating whether test plugin is present. r=dbaron 2009-01-16 15:03:24 -05:00
Ted Mielczarek
97c2424e97 bug 372581 Run unit tests on a pre-existing debug build - add --utility-path param to runreftest.py. r=bsmedberg
--HG--
extra : rebase_source : d97ab3937ee153994d778ec92c345e71e5a17f17
2009-09-29 08:31:49 -04:00
L. David Baron
a59b1cf8db Only run assertion checks in DEBUG builds. (Bug 472557) r=Waldo,bsmedberg 2009-01-13 11:50:40 -08:00
Dave Camp
c5cf52ea8a Bug 463046: Network connectivity checking breaks running netwerk unit tests and mochitests with no connection. r=bz, r=jwalden 2009-01-12 21:52:00 -08:00
L. David Baron
c5748176c1 Make reftest test for assertions on individual tests. (Temporarily disabled until tinderboxes set up and manifests annotated.) (Bug 472557) r=Waldo 2009-01-08 13:50:21 -08:00
Robert O'Callahan
4659c94f44 Bug 472244. Flush out MozAfterPaint for previously painted areas before we go ahead and fire MozReftestInvalidate to test invalidation. Also make canvas.drawWindow take float parameters so we can more precisely specify the area to render when 'device pixels' don't match CSS pixel boundaries. r=dbaron,vlad 2009-01-07 21:31:36 +13:00
Robert O'Callahan
b4af72fc54 Bug 471365. Make reftest-wait tests track invalidation via MozAfterPaint and repaint the invalid areas like normal window repaining would. This makes invalidation-related bugs testable. r=dbaron 2009-01-06 14:15:13 +13:00
L. David Baron
db94b8d7d7 Backed out changeset 5bf3661db065 (Bug 454349) due to Windows reftest failures. 2008-12-16 18:15:38 -08:00
Zack Weinberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
af4589e214 Paint different backgrounds behind the reftest test and references to detect areas that are not painted at all. (Bug 454349) r=dbaron 2008-12-16 16:30:30 -08:00
L. David Baron
65321d0177 Make zoomed-out reftests draw the whole area that they're supposed to draw. (Bug 421203) r+sr=roc 2008-12-16 16:30:30 -08:00
Serge Gautherie
f374fc3c95 Bug 468023 - Synchronize RefTest results to tinderbox waterfall from (new) log; (Bv2a) New summarized log format; r=dbaron 2008-12-12 00:48:32 +01:00
L. David Baron
4b44ed8466 Make exceptions (e.g., reftest manifest errors) print the magic word for getting logged as errors. (Bug 468476) r=ted.mielczarek 2008-12-08 14:03:49 -08:00
Robert O'Callahan
8cef4dc2b8 Bug 467987. Address additional review comment, remove redundant initialization of gCanvas1/gCanvas2. 2008-12-08 20:51:02 +13:00
Robert O'Callahan
c92dae69f3 Bug 467987. Speed up reftests by caching the rendering of pages which will be needed again. r+sr=dbaron 2008-12-08 13:48:36 +13:00
Vladimir Vukicevic
6a4c51d780 Bug 387132. Implement native canvas comparisons to speed up reftest running. r+sr=roc 2008-12-03 14:34:07 +13:00
Serge Gautherie
ca9f6d0b27 Bug 466372 - Add a global result summary to RefTest output; (Av2) Add dynamic summary to reftest.js; r=dbaron 2008-12-02 13:35:24 +01:00
L. David Baron
30848475fd Remove unwanted style attribute that slipped in from vlad's changes. 2008-11-14 14:07:45 -08:00
L. David Baron
c920abe631 Allow HTTP(..), HTTP(../..) that allow HTTP reftests to use resources not in the same directory. (Bug 457821) r=jwalden 2008-11-08 08:35:54 -08:00
L. David Baron
14126e8fd6 Make about:blank work correctly as a reference for reftests served over HTTP. (Bug 457821) r=jwalden 2008-11-08 08:35:54 -08:00
Jesse Ruderman
8c883d4df5 Bug 456519 - Improve reporting of reftest "failed to load" cases. r=dbaron. 2008-10-19 13:27:46 -07:00
Robert O'Callahan
49a4eaa38e Bug 459619. Add zoom support to reftest harness. r+sr=dbaron 2008-10-16 09:49:42 +13:00
Bobby Holley
3c106c861e Force cms to use sRGB as an output profile during reftests - bug 452125.r=vlad 2008-09-08 14:47:26 -07:00
Clint Talbert
9b17856f09 bug 451264 allowing reftest-wait and reftest-print together r=dbaron 2008-09-05 17:30:45 -07:00
L. David Baron
b2f92eae66 Mark one of the border-image tests as failing on Mac OS X 10.4. (Bug 448121) r+sr=bzbarsky 2008-08-06 15:38:44 -07:00
Bernd
e688b77985 use document.title instead of depreceated window.title, bug 448932 r=dbaron 2008-08-04 09:21:47 +02:00
Ted Mielczarek
a29f03503e bug 420324 - reftest should show progress in titlebar. r=dbaron 2008-07-19 16:54:47 -04:00
Nick Thomas
baa436a0af Bug 443090 - Unify unittest failures (reftest part) p=ted.mielczarek, r=dbaron 2008-07-16 17:47:12 +12:00
Andrew Smith
d6a20cf1de Add comment about running reftests in an non-DEBUG build. (Bug 378217) r=dbaron 2008-07-15 14:49:15 -07:00
dolske@mozilla.com
0934de61be Decreasing reftest timeout back to 10 seconds, now that bug 425987 (image reftest fails occasionally on test boxes) is fixed. 2008-04-30 16:37:07 -07:00
dolske@mozilla.com
ed93549612 Bug 431435 - reftests should report the slowest test. r=dbaron 2008-04-29 17:39:45 -07:00
dolske@mozilla.com
7835ee45d7 Bump reftest timeout *again*, as some boxes are still timeing out. (bug 425987, wallpaper exceeding structural limits, captain!) 2008-04-29 14:01:22 -07:00
dolske@mozilla.com
8cb76bb731 Increasing reftest timeout to 120 seconds, because Linux boxes are perma-orange. Tracking in bug 425987. 2008-04-28 16:53:16 -07:00
dolske@mozilla.com
d7500b7491 OS X box failed even with 45 seconds, try 90. (bug 425987) 2008-04-05 18:43:02 -07:00
dolske@mozilla.com
cc1eaabe89 Reenable libpr0n reftests, and try increasing the reftest timeout from 30 to 45 seconds. (bug 425987) 2008-04-05 16:55:08 -07:00
dholbert@cs.stanford.edu
203b5735e3 Bug 417356: Define & use "UnwriteableMargin" PrintSettings pref, to make Linux printing work more like Mac printing (keeping us from printing right up against the edge of the page) Orig Patch: [r=ventron sr=roc] Updates: [r=ventron r+sr=vlad] a=blocking1.9+ 2008-03-19 13:51:42 -07:00
reed@reedloden.com
adc33685ef Bug 422614 - "CVS remove old stuff from layout/tools" [p=alfredkayser@gmail.com (Alfred Kayser) r=roc a1.9=beltzner] 2008-03-16 14:08:00 -07:00
vladimir@pobox.com
c8cf53147c reftest analyzer improvements; npotb, a=dbaron 2008-03-05 23:36:20 -08:00
dbaron@dbaron.org
bc99517db2 Stop working around bug 417339 now that it's fixed. Not part of default build. 2008-02-20 08:44:11 -08:00
dbaron@dbaron.org
0c1de32f14 Remove some commented-out filters that shouldn't have worked in the first place, and improve comments. Not part of the build. 2008-02-17 17:56:42 -08:00
jwalden@mit.edu
8b73f060c8 Document SJS availability in reftests, for righteous CGI functionality without the thoroughly sucky API. r=dbaron 2008-02-15 16:03:17 -08:00
dbaron@dbaron.org
5508a8f51d Add my todo list and make a few other tweaks. Not part of the build. 2008-02-13 13:58:28 -08:00
dbaron@dbaron.org
9546e59c18 Give document a title. Not part of default build. 2008-02-13 02:02:41 -08:00
dbaron@dbaron.org
e79de58642 Better comments on the filters, and slightly better highlight. 2008-02-13 01:56:27 -08:00
dbaron@dbaron.org
6ce2707a0d A bit of code cleanup and a few comments. Not part of the default build. 2008-02-13 01:45:54 -08:00
dbaron@dbaron.org
629a36c8d5 Forgot license header. 2008-02-13 00:38:34 -08:00
dbaron@dbaron.org
3c24c0803f Add first (very rough) cut at a DHTML reftest analyzer tool. Not part of the default build. 2008-02-13 00:36:03 -08:00
jwalden@mit.edu
2873b90ecc Add a test for bug 398066 (image/* should be in the Accept header for <img>-related requests), and add CGI support to the reftest harness. r=dbaron on the harness changes 2008-02-11 12:32:40 -08:00
pavlov@pavlov.net
ae6960ca0e skip export FOO = 'bar' in autoconf.mk 2008-02-05 01:08:18 -08:00
anodelman@mozilla.com
370b1f70c5 Bug 408228 - Make Talos more suitable for memory resident testing Bustage fix. Backing out code, caused bustage on talos winxp and talos vista 2008-01-24 15:49:11 -08:00
anodelman@mozilla.com
5331b41c05 Bug 408228 - Make Talos more suitable for memory resident testing a=schrep r=vlad 2008-01-24 11:55:57 -08:00
anodelman@mozilla.com
42a064adb3 Bug 413775 - 'undefined' median in pageloader when only testing a single cycle a=anodelman r=vlad 2008-01-24 11:53:13 -08:00
jwalden@mit.edu
ba63f00f1f Bug 409293 - Support HTML targets on reftests, e.g. to allow acid2.html#top as the test or the reference. r=dbaron, a=testonlychange 2007-12-20 15:49:00 -08:00
jruderman@hmc.edu
44ffbd734a Add missing line break at the end of dump 2007-12-14 22:08:32 -08:00
jonas@sicking.cc
a7dcc5daec Bug 403835: Make talos force cycle collection between each pageload. r=alice sr=rcampbell 2007-11-28 16:27:05 -08:00
smontagu@smontagu.org
ef595fc50d Fix typo in the checkin from bug 403012 2007-11-28 08:45:02 -08:00
smontagu@smontagu.org
3b81938388 Display reftest images on unexpected passes. Bug 403012, r=dbaron, a=schrep 2007-11-26 00:36:53 -08:00
jst@mozilla.org
53e817e249 Backing out fix for bug 403835 due to problems with branch builds. 2007-11-21 17:02:15 -08:00
jonas@sicking.cc
5cb20652d3 Bug 403835: Force a GC/CC between each pageload. r=alice sr=rob campbell 2007-11-20 14:56:20 -08:00
anodelman@mozilla.com
5702a8e641 bug 403106 - pageloader needs to timeout on failure to load a=anodelman r=vlad 2007-11-16 13:57:06 -08:00
reed@reedloden.com
24f22e343b Bug 368158 - "fix missed renaming in reftest" [p=sylvain.pasche@gmail.com (Sylvain Pasche) r=dbaron a1.9=schrep] 2007-11-14 23:39:02 -08:00
dolske@mozilla.com
fcd7716641 Disabling fast reftests (bug 387132) due to reported link problems on Linux too. *sigh* 2007-10-05 16:11:12 -07:00
dolske@mozilla.com
d5648a7295 Disable fast reftests (bug 387132) on Windows until I figure out why it's not linking there. 2007-10-04 18:08:44 -07:00
dolske@mozilla.com
b75b650626 Bug 387132 - speed up reftest running. r=vlad, sr=bsmedberg, a=vlad 2007-10-04 16:33:54 -07:00
dbaron@dbaron.org
b6a5f9ecd0 Allow reftest harness to load files without any image comparison. b=397725 r=jwalden 2007-10-03 14:27:04 -07:00
dbaron@dbaron.org
f68cca2f3d Fix spelling mistakes to force unit test boxes to cycle. 2007-09-28 19:18:52 -07:00
anodelman@mozilla.com
583d3c530f Bug 397831 - -tprender option in pageloader should limit output to render data. a=anodelman, r=vladimir 2007-09-28 13:27:52 -07:00
anodelman@mozilla.com
bc8fd97265 Bug 397126 - check for 'instanceOf' interfering with svg test. a=anodelman, r=vladimir 2007-09-25 10:37:46 -07:00
anodelman@mozilla.com
e37b8fa76a Bug 397004 - pageloader won't work with -tpchrome and self timing. a=anodelman, r=vladimir 2007-09-21 14:43:17 -07:00
gavin@gavinsharp.com
ab18032a16 Fix incorrect instanceofs, r=vlad (no bug) 2007-09-04 12:01:38 -07:00
sharparrow1@yahoo.com
a9ed083c84 Bump the reftest load timeout to 30s to see if it helps the tinderbox orange. a=roc 2007-08-22 15:21:15 -07:00
vladimir@pobox.com
3cac114815 b=390898, just some dumb pageloader typos, r=stuart 2007-08-10 13:34:32 -07:00
flamingice@sourmilk.net
6b85fbfabb Bug 386810, Move quit-application-granted notification to nsAppStartup::Quit, r=benjamin 2007-08-09 20:05:53 -07:00
benjamin@smedbergs.us
9b89ca5787 Revert the reftest change until I can figure out the linkage issue. 2007-08-06 14:05:20 -07:00
vladimir@pobox.com
e805fabb0c b=390907, add ability for pageloader to perform self-timed tests, r=shaver 2007-08-06 13:59:05 -07:00
benjamin@smedbergs.us
d565630495 Try a more specific approach to avoid mac linkage errors with dual -Wl,-executable_path flags on the linker commandline 2007-08-06 13:56:36 -07:00
benjamin@smedbergs.us
f8759d93ca Bug 387132 followup - build the reftest-fast tool correctly with libxul, r=vlad a=only functional change is NPOB 2007-08-06 13:13:19 -07:00
vladimir@pobox.com
d3f197f4d8 urg, disable previous commit until I figure out what to do about libxul 2007-08-02 19:44:42 -07:00
vladimir@pobox.com
40d3ad8366 b=387132, speed up reftest running, r=roc,r=dbaron 2007-08-02 19:28:55 -07:00
vladimir@pobox.com
a28a1650fb Create a new canvas for each test run; also, don't hang if an exception is thrown, instead print an error and exit 2007-08-02 01:53:53 -07:00
vladimir@pobox.com
6d63cc07b8 b=387110, new pageloader test component, r=sicking 2007-07-18 17:46:00 -07:00
jwalden@mit.edu
b9d07173a5 Bug 376489 - Serve reftests from a web server so as not to depend on external resources, if the reftest is marked as needing HTTP; also picks up support for HTTP header and status modification in reftest files. r=dbaron 2007-07-18 14:32:50 -07:00
flamingice@sourmilk.net
62d803615d Bug 386002, Move tryToClose calls on shutdown, r=benjamin 2007-07-16 10:55:54 -07:00
smontagu@smontagu.org
564c2941e0 Move SymmSwap and other character-related Bidi utility methods from layout to intl/unicharutil. Bug 385539, r+sr=roc 2007-06-30 22:56:10 -07:00
sharparrow1@yahoo.com
d6b7412d2e Update reftest documentation for printing reftests. NPOTB. 2007-06-29 09:57:07 -07:00
dbaron@dbaron.org
09faa5525d Add checkLoadURI calls to reftest harness. b=371075 r=bzbarsky 2007-06-12 11:25:15 -07:00
benjamin@smedbergs.us
772b616ee2 Bug 381501 - Small screen resolutions mess up reftests, and backout by randomizer from the other day, r=dbaron 2007-05-23 06:57:07 -07:00
jwatt@jwatt.org
9b68589f21 Fixing bug 379823. Allow conditional skipping of reftests (reporting them as failures). r+sr=dbaron@mozilla.com 2007-05-08 03:21:22 -07:00
vladimir@pobox.com
b44e49e901 Adding another reftest-to-html script 2007-05-07 11:59:59 -07:00
jwatt@jwatt.org
f86cf234bc Use getAttribute('class') instead of className so that reftest can run SVG tests. On SVG elements className is of type SVGAnimatedString instead of DOMString. 2007-03-27 11:06:35 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00