OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 # Tests for our tools. | 3 # Tests for our tools. |
4 # | 4 # |
5 # TODO: currently, this only passes on Linux (which is the platform that | 5 # TODO: currently, this only passes on Linux (which is the platform that |
6 # the housekeeper bot runs on, e.g. | 6 # the housekeeper bot runs on, e.g. |
7 # http://70.32.156.51:10117/builders/Skia_PerCommit_House_Keeping/builds/1415/st
eps/RunToolSelfTests/logs/stdio ) | 7 # http://70.32.156.51:10117/builders/Skia_PerCommit_House_Keeping/builds/1415/st
eps/RunToolSelfTests/logs/stdio ) |
8 # See https://code.google.com/p/skia/issues/detail?id=677 | 8 # See https://code.google.com/p/skia/issues/detail?id=677 |
9 # ('make tools/tests/run.sh work cross-platform') | 9 # ('make tools/tests/run.sh work cross-platform') |
10 # Ideally, these tests should pass on all development platforms... | 10 # Ideally, these tests should pass on all development platforms... |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 # (this was during the period when the bench data included a ton of per-tile, | 184 # (this was during the period when the bench data included a ton of per-tile, |
185 # per-iteration data) | 185 # per-iteration data) |
186 PLATFORM=Skia_Shuttle_Ubuntu12_ATI5770_Float_Bench_32 | 186 PLATFORM=Skia_Shuttle_Ubuntu12_ATI5770_Float_Bench_32 |
187 benchgraph_download_rawdata $PLATFORM 7618 "$BENCHDATA_FILE_SUFFIXES_NO_INDIVIDU
AL_TILES" | 187 benchgraph_download_rawdata $PLATFORM 7618 "$BENCHDATA_FILE_SUFFIXES_NO_INDIVIDU
AL_TILES" |
188 benchgraph_download_rawdata $PLATFORM 7671 "$BENCHDATA_FILE_SUFFIXES_YES_INDIVID
UAL_TILES" | 188 benchgraph_download_rawdata $PLATFORM 7671 "$BENCHDATA_FILE_SUFFIXES_YES_INDIVID
UAL_TILES" |
189 benchgraph_download_rawdata $PLATFORM 7679 "$BENCHDATA_FILE_SUFFIXES_YES_INDIVID
UAL_TILES" | 189 benchgraph_download_rawdata $PLATFORM 7679 "$BENCHDATA_FILE_SUFFIXES_YES_INDIVID
UAL_TILES" |
190 benchgraph_download_rawdata $PLATFORM 7686 "$BENCHDATA_FILE_SUFFIXES_YES_INDIVID
UAL_TILES" | 190 benchgraph_download_rawdata $PLATFORM 7686 "$BENCHDATA_FILE_SUFFIXES_YES_INDIVID
UAL_TILES" |
191 benchgraph_test $PLATFORM | 191 benchgraph_test $PLATFORM |
192 | 192 |
193 # | 193 # |
| 194 # Run self test for skimage ... |
| 195 # |
| 196 |
| 197 COMMAND="python tools/tests/skimage_self_test.py" |
| 198 echo "$COMMAND" |
| 199 $COMMAND |
| 200 ret=$? |
| 201 if [ $ret -ne 0 ]; then |
| 202 echo "skimage self tests failed." |
| 203 exit 1 |
| 204 fi |
| 205 |
| 206 # |
194 # Test rebaseline.py ... | 207 # Test rebaseline.py ... |
195 # | 208 # |
196 | 209 |
197 REBASELINE_INPUT=tools/tests/rebaseline/input | 210 REBASELINE_INPUT=tools/tests/rebaseline/input |
198 REBASELINE_OUTPUT=tools/tests/rebaseline/output | 211 REBASELINE_OUTPUT=tools/tests/rebaseline/output |
199 rebaseline_test "--tests test1 test2 --configs 565 8888 --subdirs base-android-g
alaxy-nexus base-shuttle-win7-intel-float" "$REBASELINE_OUTPUT/subset" | 212 rebaseline_test "--tests test1 test2 --configs 565 8888 --subdirs base-android-g
alaxy-nexus base-shuttle-win7-intel-float" "$REBASELINE_OUTPUT/subset" |
200 rebaseline_test "--tests test1 test2" "$REBASELINE_OUTPUT/all" | 213 rebaseline_test "--tests test1 test2" "$REBASELINE_OUTPUT/all" |
201 rebaseline_test "--json_base_url file:$REBASELINE_INPUT/json1 --subdirs base-and
roid-galaxy-nexus base-shuttle-win7-intel-float" "$REBASELINE_OUTPUT/using-json1
" | 214 rebaseline_test "--json_base_url file:$REBASELINE_INPUT/json1 --subdirs base-and
roid-galaxy-nexus base-shuttle-win7-intel-float" "$REBASELINE_OUTPUT/using-json1
" |
202 | 215 |
203 | |
204 echo "All tests passed." | 216 echo "All tests passed." |
OLD | NEW |