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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 echo "skimage self tests failed." | 202 echo "skimage self tests failed." |
203 exit 1 | 203 exit 1 |
204 fi | 204 fi |
205 | 205 |
206 # | 206 # |
207 # Test rebaseline.py ... | 207 # Test rebaseline.py ... |
208 # | 208 # |
209 | 209 |
210 REBASELINE_INPUT=tools/tests/rebaseline/input | 210 REBASELINE_INPUT=tools/tests/rebaseline/input |
211 REBASELINE_OUTPUT=tools/tests/rebaseline/output | 211 REBASELINE_OUTPUT=tools/tests/rebaseline/output |
212 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 "--json-base-url file:$REBASELINE_INPUT/json1 --tests test1 test
2 --configs 565 8888 --subdirs base-android-galaxy-nexus base-shuttle-win7-intel
-float" "$REBASELINE_OUTPUT/subset" |
213 rebaseline_test "--tests test1 test2" "$REBASELINE_OUTPUT/all" | 213 rebaseline_test "--json-base-url file:nonexistent-path --tests test1 test2" "$RE
BASELINE_OUTPUT/all" |
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
" | 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
" |
215 rebaseline_test "--json-base-url file:$REBASELINE_INPUT/json1 --subdirs base-and
roid-galaxy-nexus base-shuttle-win7-intel-float --add-new" "$REBASELINE_OUTPUT/u
sing-json1-add-new" | 215 rebaseline_test "--json-base-url file:$REBASELINE_INPUT/json1 --subdirs base-and
roid-galaxy-nexus base-shuttle-win7-intel-float --add-new" "$REBASELINE_OUTPUT/u
sing-json1-add-new" |
216 | 216 |
217 echo "All tests passed." | 217 echo "All tests passed." |
OLD | NEW |