Chromium Code Reviews| Index: tools/tests/run.sh |
| =================================================================== |
| --- tools/tests/run.sh (revision 9354) |
| +++ tools/tests/run.sh (working copy) |
| @@ -68,26 +68,6 @@ |
| compare_directories $EXPECTED_OUTPUT_DIR $ACTUAL_OUTPUT_DIR |
| } |
| -SKDIFF_TESTDIR=tools/tests/skdiff |
| - |
| -# Run skdiff over a variety of file pair types: identical bits, identical pixels, missing from |
| -# baseDir, etc. |
| -skdiff_test "$SKDIFF_TESTDIR/baseDir $SKDIFF_TESTDIR/comparisonDir" "$SKDIFF_TESTDIR/test1" |
| - |
| -# Run skdiff over the same set of files, but with arguments as used by our buildbots: |
| -# - return the number of mismatching file pairs (but ignore any files missing from either |
| -# baseDir or comparisonDir) |
| -# - list filenames with each result type to stdout |
| -# - don't generate HTML output files |
| -skdiff_test "--failonresult DifferentPixels --failonresult DifferentSizes --failonresult Unknown --failonstatus CouldNotDecode,CouldNotRead any --failonstatus any CouldNotDecode,CouldNotRead --listfilenames --nodiffs $SKDIFF_TESTDIR/baseDir $SKDIFF_TESTDIR/comparisonDir" "$SKDIFF_TESTDIR/test2" |
| - |
| -# Run skdiff over just the files that have identical bits. |
| -skdiff_test "--nodiffs --match identical-bits $SKDIFF_TESTDIR/baseDir $SKDIFF_TESTDIR/comparisonDir" "$SKDIFF_TESTDIR/identical-bits" |
| - |
| -# Run skdiff over just the files that have identical bits or identical pixels. |
| -skdiff_test "--nodiffs --match identical-bits --match identical-pixels $SKDIFF_TESTDIR/baseDir $SKDIFF_TESTDIR/comparisonDir" "$SKDIFF_TESTDIR/identical-bits-or-pixels" |
| - |
| - |
| # Download a subset of the raw bench data for platform $1 at revision $2. |
| # (For the subset, download all files matching any of the suffixes in |
| # whitespace-separated list $3.) |
| @@ -149,6 +129,33 @@ |
| compare_directories $EXPECTED_OUTPUT_DIR $ACTUAL_OUTPUT_DIR |
| } |
| +# |
| +# Run skdiff tests... |
|
epoger
2013/05/30 19:45:53
Patchset 2 rearranges some sections within run.sh
|
| +# |
| + |
| +SKDIFF_TESTDIR=tools/tests/skdiff |
| + |
| +# Run skdiff over a variety of file pair types: identical bits, identical pixels, missing from |
| +# baseDir, etc. |
| +skdiff_test "$SKDIFF_TESTDIR/baseDir $SKDIFF_TESTDIR/comparisonDir" "$SKDIFF_TESTDIR/test1" |
| + |
| +# Run skdiff over the same set of files, but with arguments as used by our buildbots: |
| +# - return the number of mismatching file pairs (but ignore any files missing from either |
| +# baseDir or comparisonDir) |
| +# - list filenames with each result type to stdout |
| +# - don't generate HTML output files |
| +skdiff_test "--failonresult DifferentPixels --failonresult DifferentSizes --failonresult Unknown --failonstatus CouldNotDecode,CouldNotRead any --failonstatus any CouldNotDecode,CouldNotRead --listfilenames --nodiffs $SKDIFF_TESTDIR/baseDir $SKDIFF_TESTDIR/comparisonDir" "$SKDIFF_TESTDIR/test2" |
| + |
| +# Run skdiff over just the files that have identical bits. |
| +skdiff_test "--nodiffs --match identical-bits $SKDIFF_TESTDIR/baseDir $SKDIFF_TESTDIR/comparisonDir" "$SKDIFF_TESTDIR/identical-bits" |
| + |
| +# Run skdiff over just the files that have identical bits or identical pixels. |
| +skdiff_test "--nodiffs --match identical-bits --match identical-pixels $SKDIFF_TESTDIR/baseDir $SKDIFF_TESTDIR/comparisonDir" "$SKDIFF_TESTDIR/identical-bits-or-pixels" |
| + |
| +# |
| +# Run benchgraph tests... |
| +# |
| + |
| # Parse a collection of bench data leading up to |
| # http://70.32.156.53:10117/builders/Skia_Shuttle_Ubuntu12_ATI5770_Float_Bench_32/builds/878/steps/GenerateWebpagePictureBenchGraphs/logs/stdio |
| # (this was during the period when the bench data included a ton of per-tile, |