aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/tests
Commit message (Collapse)AuthorAge
* GM self-test: add option to exercise --writePath and --mismatchPath, but not ↵Gravatar epoger@google.com2013-05-08
| | | | | | | | | | | | on bots (individual developers can set WRITE_IMAGE_FILES=1 for local testing) R=rmistry@google.com Review URL: https://codereview.chromium.org/14863009 git-svn-id: http://skia.googlecode.com/svn/trunk@9056 2bbb7eff-a529-9590-31e7-b0007b416f81
* GM: now that we use MD5 instead of CityHash, the JSON should say soGravatar epoger@google.com2013-05-07
| | | | | | | | | | (this should have been part of https://code.google.com/p/skia/source/detail?r=8992 ) R=bungeman@google.com Review URL: https://codereview.chromium.org/14758003 git-svn-id: http://skia.googlecode.com/svn/trunk@9038 2bbb7eff-a529-9590-31e7-b0007b416f81
* SkBitmapHasher: use 64-bit-truncated MD5 instead of 64-bit CityHashGravatar epoger@google.com2013-05-03
| | | | | | | | | | | | | | BUG=https://code.google.com/p/skia/issues/detail?id=1257 (if we change our mind within the next few days, we can toggle the BITMAPHASHER_USES_TRUNCATED_MD5 #ifdef ; at some point, we'll remove that option so we can delete our CityHash implementation entirely) R=bungeman@google.com Review URL: https://codereview.chromium.org/14054012 git-svn-id: http://skia.googlecode.com/svn/trunk@8992 2bbb7eff-a529-9590-31e7-b0007b416f81
* GM self-tests: always run all tests (don't stop at first failure)Gravatar epoger@google.com2013-04-26
| | | | | | | | | and make rebaseline.sh rebaseline all tests in one go. (RunBuilders:Skia_PerCommit_House_Keeping) Review URL: https://codereview.chromium.org/13979017 git-svn-id: http://skia.googlecode.com/svn/trunk@8881 2bbb7eff-a529-9590-31e7-b0007b416f81
* GM: specify that currently used checksums are CityHashes of SkBitmapsGravatar epoger@google.com2013-04-26
| | | | | | | | | (distinct from other hash algorithms we may switch to, or hashes of files such as PDFs that cannot be read into an SkBitmap) Review URL: https://codereview.chromium.org/14284018 git-svn-id: http://skia.googlecode.com/svn/trunk@8877 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add option to specify defaults configs to --config flag in gm. This makes it ↵Gravatar bsalomon@google.com2013-04-24
| | | | | | | | easier to run gm defaults configs with a delta. Also make ~ exclude a config. Review URL: https://codereview.chromium.org/13842014 git-svn-id: http://skia.googlecode.com/svn/trunk@8842 2bbb7eff-a529-9590-31e7-b0007b416f81
* GM: add self-test that sets --readPath to a nonexistent directory pathGravatar epoger@google.com2013-04-12
| | | | | | Review URL: https://codereview.chromium.org/13844011 git-svn-id: http://skia.googlecode.com/svn/trunk@8664 2bbb7eff-a529-9590-31e7-b0007b416f81
* GM: allow caller to specify which result types trigger an errorGravatar epoger@google.com2013-04-12
| | | | | | Review URL: https://codereview.chromium.org/14187007 git-svn-id: http://skia.googlecode.com/svn/trunk@8652 2bbb7eff-a529-9590-31e7-b0007b416f81
* GM: print list of GMs run, even in non-verbose mode (rolls back part of r8600)Gravatar epoger@google.com2013-04-12
| | | | | | Review URL: https://codereview.chromium.org/14052003 git-svn-id: http://skia.googlecode.com/svn/trunk@8638 2bbb7eff-a529-9590-31e7-b0007b416f81
* GM: remove enableMissingWarning in favor of verbose flag, and trim output in ↵Gravatar epoger@google.com2013-04-10
| | | | | | | | nonverbose mode Review URL: https://codereview.chromium.org/14080003 git-svn-id: http://skia.googlecode.com/svn/trunk@8600 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm: hide list of tests with ignored errors, by defaultGravatar epoger@google.com2013-04-10
| | | | | | Review URL: https://codereview.chromium.org/13811031 git-svn-id: http://skia.googlecode.com/svn/trunk@8591 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm: record IntentionallySkipped testsGravatar epoger@google.com2013-04-10
| | | | | | Review URL: https://codereview.chromium.org/13663003 git-svn-id: http://skia.googlecode.com/svn/trunk@8586 2bbb7eff-a529-9590-31e7-b0007b416f81
* re-land r8535, now that src.chromium.org is back upGravatar epoger@google.com2013-04-04
| | | | | | Review URL: https://codereview.chromium.org/13662002 git-svn-id: http://skia.googlecode.com/svn/trunk@8538 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r8535Gravatar epoger@google.com2013-04-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8536 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm: report ExpectationsMismatch and RenderModeMismatch results separatelyGravatar epoger@google.com2013-04-04
| | | | | | Review URL: https://codereview.chromium.org/13650002 git-svn-id: http://skia.googlecode.com/svn/trunk@8535 2bbb7eff-a529-9590-31e7-b0007b416f81
* re-land r8514 without breaking 32-bit Mac compilersGravatar epoger@google.com2013-04-03
| | | | | | Review URL: https://codereview.chromium.org/13427004 git-svn-id: http://skia.googlecode.com/svn/trunk@8518 2bbb7eff-a529-9590-31e7-b0007b416f81
* roll out r8514Gravatar epoger@google.com2013-04-03
| | | | | | Review URL: https://codereview.chromium.org/13503003 git-svn-id: http://skia.googlecode.com/svn/trunk@8515 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm: display summary of all results by ErrorTypeGravatar epoger@google.com2013-04-03
| | | | | | | as discussed in https://codereview.chromium.org/12825005/#msg14 Review URL: https://codereview.chromium.org/12851022 git-svn-id: http://skia.googlecode.com/svn/trunk@8514 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm refactor: extract run_multiple_configs() and run_multiple_modes()Gravatar epoger@google.com2013-03-20
| | | | | | Review URL: https://codereview.chromium.org/12536007 git-svn-id: http://skia.googlecode.com/svn/trunk@8269 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reland r8235 "Switch gm to use SkFlags."Gravatar scroggo@google.com2013-03-20
| | | | | | | | | | | | This time, using #if guards for gpuCacheSize consistently. Also fix some warnings. BUG=https://code.google.com/p/skia/issues/detail?id=1094 Review URL: https://codereview.chromium.org/12440052 git-svn-id: http://skia.googlecode.com/svn/trunk@8254 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert "Make gm use SkFlags."Gravatar scroggo@google.com2013-03-19
| | | | | | | | | | Fix the build. This reverts commit 6f1fe2aee39308fc56854b062be244a904c209e7. Review URL: https://codereview.chromium.org/12709005 git-svn-id: http://skia.googlecode.com/svn/trunk@8236 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make gm use SkFlags.Gravatar scroggo@google.com2013-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make flag parser its own project. It is still in the tools folder, but can now be used by other projects. Some changes to behavior in order to work with SkFlags: enable-missing-warning and disable-missing-warning have become enableMissingWarning and noenableMissingWarning. exclude-config is now excludeConfig --config now can only be listed once, but all configs listed after it will be included (same with excludeConfig and match). In addition, writeJsonSummary has been changed to writeJsonSummaryPath for consistency with other path flags. Provide an option to SkFlags to provide a short name, and use it for the flags which have short names. --tileGridReplayScales now takes space separated arguments, like other inputs. BUG=https://code.google.com/p/skia/issues/detail?id=1094 Review URL: https://codereview.chromium.org/12632015 git-svn-id: http://skia.googlecode.com/svn/trunk@8235 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm: write all messages to stdout/stderr with "GM:" preamble to distinguish ↵Gravatar epoger@google.com2013-03-13
| | | | | | | | from various debug messages coming from elsewhere Review URL: https://codereview.chromium.org/12691009 git-svn-id: http://skia.googlecode.com/svn/trunk@8126 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm self-test: make all test cases exercise transparencyGravatar epoger@google.com2013-03-02
| | | | | | | BUG=https://code.google.com/p/skia/issues/detail?id=1142 Review URL: https://codereview.chromium.org/12379047 git-svn-id: http://skia.googlecode.com/svn/trunk@7943 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm self-test: disable spuriously-failing aaclip testsGravatar epoger@google.com2013-03-01
| | | | | | Review URL: https://codereview.chromium.org/12377049 git-svn-id: http://skia.googlecode.com/svn/trunk@7927 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm self-test: fix results that break housekeeping botGravatar epoger@google.com2013-03-01
| | | | | | Review URL: https://codereview.chromium.org/12393011 git-svn-id: http://skia.googlecode.com/svn/trunk@7926 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm self-test: use a pathologically simple test case instead of dashing2Gravatar commit-bot@chromium.org2013-03-01
| | | | | | | | BUG=https://code.google.com/p/skia/issues/detail?id=677 Review URL: https://chromiumcodereview.appspot.com/12381038 git-svn-id: http://skia.googlecode.com/svn/trunk@7922 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix GM self-test expectations, mkIIGravatar borenet@google.com2013-02-21
| | | | | | Review URL: https://codereview.appspot.com/7393046 git-svn-id: http://skia.googlecode.com/svn/trunk@7815 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix GM self-test expectationsGravatar borenet@google.com2013-02-21
| | | | | | Review URL: https://codereview.appspot.com/7386048 git-svn-id: http://skia.googlecode.com/svn/trunk@7814 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm: Add ability to compare against checksums (as opposed to image files)Gravatar epoger@google.com2013-02-13
| | | | | | Review URL: https://codereview.appspot.com/7306071 git-svn-id: http://skia.googlecode.com/svn/trunk@7724 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm self-tests: generate JSON expectations, in addition to image expectationsGravatar epoger@google.com2013-02-06
| | | | | | Review URL: https://codereview.appspot.com/7310050 git-svn-id: http://skia.googlecode.com/svn/trunk@7624 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm self-tests: add 565 mode testing, in addition to 8888 modeGravatar epoger@google.com2013-01-31
| | | | | | Review URL: https://codereview.appspot.com/7229061 git-svn-id: http://skia.googlecode.com/svn/trunk@7489 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix bugs in r7291Gravatar epoger@google.com2013-01-19
| | | | | | | TBR=reed Review URL: https://codereview.appspot.com/7129057 git-svn-id: http://skia.googlecode.com/svn/trunk@7292 2bbb7eff-a529-9590-31e7-b0007b416f81
* re-land r7258 with fixes and testsGravatar epoger@google.com2013-01-19
| | | | | | | | BUG=http://code.google.com/p/skia/issues/detail?id=1079 TBR=reed Review URL: https://codereview.appspot.com/7132060 git-svn-id: http://skia.googlecode.com/svn/trunk@7291 2bbb7eff-a529-9590-31e7-b0007b416f81
* Roll out r7258Gravatar epoger@google.com2013-01-18
| | | | | | | | BUG=http://code.google.com/p/skia/issues/detail?id=1079 TBR=robertphillips Review URL: https://codereview.appspot.com/7138065 git-svn-id: http://skia.googlecode.com/svn/trunk@7289 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm self-test: followup to r7284Gravatar epoger@google.com2013-01-18
| | | | | | | TBR=rmistry Review URL: https://codereview.appspot.com/7128056 git-svn-id: http://skia.googlecode.com/svn/trunk@7286 2bbb7eff-a529-9590-31e7-b0007b416f81
* make gm self-test more robustGravatar epoger@google.com2013-01-18
| | | | | | | BUG=http://code.google.com/p/skia/issues/detail?id=1068 Review URL: https://codereview.appspot.com/7164043 git-svn-id: http://skia.googlecode.com/svn/trunk@7284 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reapply r7198 with Mac/Windows fixesGravatar epoger@google.com2013-01-17
| | | | | | | BUG=https://code.google.com/p/skia/issues/detail?id=1067 Review URL: https://codereview.appspot.com/7138056 git-svn-id: http://skia.googlecode.com/svn/trunk@7258 2bbb7eff-a529-9590-31e7-b0007b416f81
* better quick fix for GM self-test: ignore instance-counting lines in Debug ↵Gravatar epoger@google.com2013-01-16
| | | | | | | | | output BUG=http://code.google.com/p/skia/issues/detail?id=1068 Review URL: https://codereview.appspot.com/7127044 git-svn-id: http://skia.googlecode.com/svn/trunk@7214 2bbb7eff-a529-9590-31e7-b0007b416f81
* quick fix for GM self-test failures after r7206Gravatar epoger@google.com2013-01-16
| | | | | | | BUG=http://code.google.com/p/skia/issues/detail?id=1068 Review URL: https://codereview.appspot.com/7131043 git-svn-id: http://skia.googlecode.com/svn/trunk@7213 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r7198 until I can fix ↵Gravatar epoger@google.com2013-01-15
| | | | | | | | https://code.google.com/p/skia/issues/detail?id=1067 Review URL: https://codereview.appspot.com/7124043 git-svn-id: http://skia.googlecode.com/svn/trunk@7203 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm: use new Expectations struct instead of comparison bitmapsGravatar epoger@google.com2013-01-15
| | | | | | Review URL: https://codereview.appspot.com/7088044 git-svn-id: http://skia.googlecode.com/svn/trunk@7198 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update gm self-test results to expect new runtime config debug messageGravatar epoger@google.com2013-01-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7197 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm: if no readPath is given, report all tests as "missing reference image" ↵Gravatar epoger@google.com2013-01-10
| | | | | | | | instead of "passed" Review URL: https://codereview.appspot.com/7070066 git-svn-id: http://skia.googlecode.com/svn/trunk@7119 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm self-test: update expected dashing2.png images (in inputs/ dir) to ↵Gravatar epoger@google.com2013-01-10
| | | | | | | | | reflect new behavior TBR=reed1 Review URL: https://codereview.appspot.com/7068060 git-svn-id: http://skia.googlecode.com/svn/trunk@7116 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm: remove --diffPath option and all other pixel diff functionality.Gravatar epoger@google.com2013-01-08
| | | | | | | | If you want pixel diffs, you need to run skdiff instead; from now on, gm will only tell you WHETHER the images differed (not HOW they differed). Review URL: https://codereview.appspot.com/7064047 git-svn-id: http://skia.googlecode.com/svn/trunk@7093 2bbb7eff-a529-9590-31e7-b0007b416f81
* ran gm/tests/rebaseline.sh 5-6 times to update the self-test after 6984Gravatar reed@google.com2013-01-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@6995 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add more warnings about https://code.google.com/p/skia/issues/detail?id=677 ↵Gravatar epoger@google.com2013-01-02
| | | | | | ('make tools/tests/run.sh work cross-platform') git-svn-id: http://skia.googlecode.com/svn/trunk@6965 2bbb7eff-a529-9590-31e7-b0007b416f81
* revert 6938, as running rebaseline.sh did not seem to work.Gravatar mike@reedtribe.org2012-12-24
| | | | | | | | | | | | | | | | | | | | | | | | Binary files gm/tests/outputs/compared-against-identical-bytes/output-expected/images/8888/dashing2.png and gm/tests/outputs/compared-against-identical-bytes/output-actual/images/8888/dashing2.png differ diff -r '--exclude=.*' gm/tests/outputs/compared-against-identical-bytes/output-expected/json-summary.txt gm/tests/outputs/compared-against-identical-bytes/output-actual/json-summary.txt 5c5 < "checksum" : 2249048307642991938 --- > "checksum" : 16595425910463109922 diff -r '--exclude=.*' gm/tests/outputs/compared-against-identical-bytes/output-expected/stdout gm/tests/outputs/compared-against-identical-bytes/output-actual/stdout 4c4 < ----- max pixel mismatch for 8888/dashing2 is 16 --- > ----- max pixel mismatch for 8888/dashing2 is 64 6c6 < 8888/dashing2 pixel_error 16 --- > 8888/dashing2 pixel_error 64 failed in: compare_directories gm/tests/outputs/compared-against-identical-bytes/output-expected gm/tests/outputs/compared-against-identical-bytes/output-actual git-svn-id: http://skia.googlecode.com/svn/trunk@6939 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline self-test images after stroke changeGravatar mike@reedtribe.org2012-12-24
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@6938 2bbb7eff-a529-9590-31e7-b0007b416f81