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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
236 exit 1 | 236 exit 1 |
237 fi | 237 fi |
238 | 238 |
239 # | 239 # |
240 # Test rebaseline.py ... | 240 # Test rebaseline.py ... |
241 # | 241 # |
242 | 242 |
243 REBASELINE_INPUT=tools/tests/rebaseline/input | 243 REBASELINE_INPUT=tools/tests/rebaseline/input |
244 REBASELINE_OUTPUT=tools/tests/rebaseline/output | 244 REBASELINE_OUTPUT=tools/tests/rebaseline/output |
245 rebaseline_test "$REBASELINE_INPUT/json1" "--actuals-base-url $REBASELINE_INPUT/ json1 --builders Test-Android-GalaxyNexus-SGX540-Arm7-Debug Test-Win7-ShuttleA-H D2000-x86-Release" "$REBASELINE_OUTPUT/using-json1-expectations" | 245 rebaseline_test "$REBASELINE_INPUT/json1" "--actuals-base-url $REBASELINE_INPUT/ json1 --builders Test-Android-GalaxyNexus-SGX540-Arm7-Debug Test-Win7-ShuttleA-H D2000-x86-Release" "$REBASELINE_OUTPUT/using-json1-expectations" |
246 rebaseline_test "$REBASELINE_INPUT/json1" "--actuals-base-url $REBASELINE_INPUT/ json1 --builders Test-Android-GalaxyNexus-SGX540-Arm7-Debug Test-Win7-ShuttleA-H D2000-x86-Release" "$REBASELINE_OUTPUT/marked-unreviewed" | |
epoger
2013/08/29 19:29:20
Patchset 1 adds a new "marked-unreviewed" self-tes
| |
246 | 247 |
247 # | 248 # |
248 # Test jsondiff.py ... | 249 # Test jsondiff.py ... |
249 # | 250 # |
250 | 251 |
251 JSONDIFF_INPUT=tools/tests/jsondiff/input | 252 JSONDIFF_INPUT=tools/tests/jsondiff/input |
252 JSONDIFF_OUTPUT=tools/tests/jsondiff/output | 253 JSONDIFF_OUTPUT=tools/tests/jsondiff/output |
253 jsondiff_test "$JSONDIFF_INPUT/old.json $JSONDIFF_INPUT/new.json" "$JSONDIFF_OUT PUT/old-vs-new" | 254 jsondiff_test "$JSONDIFF_INPUT/old.json $JSONDIFF_INPUT/new.json" "$JSONDIFF_OUT PUT/old-vs-new" |
254 | 255 |
255 | 256 |
256 echo "All tests passed." | 257 echo "All tests passed." |
OLD | NEW |