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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
153 # http://70.32.156.53:10117/builders/Skia_Shuttle_Ubuntu12_ATI5770_Float_Bench_3 2/builds/878/steps/GenerateWebpagePictureBenchGraphs/logs/stdio | 153 # http://70.32.156.53:10117/builders/Skia_Shuttle_Ubuntu12_ATI5770_Float_Bench_3 2/builds/878/steps/GenerateWebpagePictureBenchGraphs/logs/stdio |
154 # (this was during the period when the bench data included a ton of per-tile, | 154 # (this was during the period when the bench data included a ton of per-tile, |
155 # per-iteration data) | 155 # per-iteration data) |
156 PLATFORM=Skia_Shuttle_Ubuntu12_ATI5770_Float_Bench_32 | 156 PLATFORM=Skia_Shuttle_Ubuntu12_ATI5770_Float_Bench_32 |
157 benchgraph_download_rawdata $PLATFORM 7618 "$BENCHDATA_FILE_SUFFIXES_NO_INDIVIDU AL_TILES" | 157 benchgraph_download_rawdata $PLATFORM 7618 "$BENCHDATA_FILE_SUFFIXES_NO_INDIVIDU AL_TILES" |
158 benchgraph_download_rawdata $PLATFORM 7671 "$BENCHDATA_FILE_SUFFIXES_YES_INDIVID UAL_TILES" | 158 benchgraph_download_rawdata $PLATFORM 7671 "$BENCHDATA_FILE_SUFFIXES_YES_INDIVID UAL_TILES" |
159 benchgraph_download_rawdata $PLATFORM 7679 "$BENCHDATA_FILE_SUFFIXES_YES_INDIVID UAL_TILES" | 159 benchgraph_download_rawdata $PLATFORM 7679 "$BENCHDATA_FILE_SUFFIXES_YES_INDIVID UAL_TILES" |
160 benchgraph_download_rawdata $PLATFORM 7686 "$BENCHDATA_FILE_SUFFIXES_YES_INDIVID UAL_TILES" | 160 benchgraph_download_rawdata $PLATFORM 7686 "$BENCHDATA_FILE_SUFFIXES_YES_INDIVID UAL_TILES" |
161 benchgraph_test $PLATFORM | 161 benchgraph_test $PLATFORM |
162 | 162 |
163 COMMAND="python tools/tests/skimage_self_test.py" | |
epoger
2013/06/05 14:21:45
If it's not too much trouble, I think it would be
scroggo
2013/06/05 15:30:39
Done. Moved to https://codereview.chromium.org/157
| |
164 echo "$COMMAND" | |
165 $COMMAND | |
166 ret=$? | |
167 if [ $ret -ne 0 ]; then | |
168 echo "skimage self tests failed." | |
169 exit 1 | |
170 fi | |
171 | |
163 echo "All tests passed." | 172 echo "All tests passed." |
OLD | NEW |