Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Issue 14969007: Create a self test for skimage. (Closed)

Created:
7 years, 7 months ago by scroggo
Modified:
7 years, 7 months ago
Reviewers:
epoger
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Create a self test for skimage. Runs skimage twice: once to create an expectations file, and a second time comparing against the file. Uses the files in resources as test files. R=epoger@google.com Committed: https://code.google.com/p/skia/source/detail?r=9123

Patch Set 1 #

Total comments: 19

Patch Set 2 : Respond to comments (but not all of them). #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : Respond to comments. #

Patch Set 5 : Use os.pardir to represent the parent directory. #

Total comments: 4

Patch Set 6 : Respond to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -0 lines) Patch
A tools/tests/skimage/.gitignore View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A tools/tests/skimage/README View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A tools/tests/skimage_self_test.py View 1 2 3 4 5 1 chunk +65 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
scroggo
https://codereview.chromium.org/14969007/diff/1/tools/tests/skimage/self_test.py File tools/tests/skimage/self_test.py (right): https://codereview.chromium.org/14969007/diff/1/tools/tests/skimage/self_test.py#newcode1 tools/tests/skimage/self_test.py:1: #!/usr/bin/env python I noticed that gm's self test has ...
7 years, 7 months ago (2013-05-09 15:50:42 UTC) #1
scroggo
https://codereview.chromium.org/14969007/diff/1/tools/tests/skimage/self_test.py File tools/tests/skimage/self_test.py (right): https://codereview.chromium.org/14969007/diff/1/tools/tests/skimage/self_test.py#newcode41 tools/tests/skimage/self_test.py:41: subprocess.check_call(create_expectations_cmd) There are some commands for calling programs more ...
7 years, 7 months ago (2013-05-09 15:57:29 UTC) #2
epoger
Thanks for adding this, definitely will be helpful. Suggestions below... https://codereview.chromium.org/14969007/diff/1/tools/tests/skimage/self_test.py File tools/tests/skimage/self_test.py (right): https://codereview.chromium.org/14969007/diff/1/tools/tests/skimage/self_test.py#newcode1 ...
7 years, 7 months ago (2013-05-09 16:35:50 UTC) #3
scroggo
https://codereview.chromium.org/14969007/diff/1/tools/tests/skimage/self_test.py File tools/tests/skimage/self_test.py (right): https://codereview.chromium.org/14969007/diff/1/tools/tests/skimage/self_test.py#newcode11 tools/tests/skimage/self_test.py:11: # Use the directory of this file as the ...
7 years, 7 months ago (2013-05-09 19:05:59 UTC) #4
epoger
LGTM with or without the minor suggestions below. https://codereview.chromium.org/14969007/diff/1/tools/tests/skimage/self_test.py File tools/tests/skimage/self_test.py (right): https://codereview.chromium.org/14969007/diff/1/tools/tests/skimage/self_test.py#newcode41 tools/tests/skimage/self_test.py:41: subprocess.check_call(create_expectations_cmd) ...
7 years, 7 months ago (2013-05-09 19:19:39 UTC) #5
scroggo
https://codereview.chromium.org/14969007/diff/7001/tools/tests/skimage_self_test.py File tools/tests/skimage_self_test.py (right): https://codereview.chromium.org/14969007/diff/7001/tools/tests/skimage_self_test.py#newcode25 tools/tests/skimage_self_test.py:25: return None On 2013/05/09 19:19:39, epoger wrote: > This ...
7 years, 7 months ago (2013-05-13 15:43:26 UTC) #6
epoger
LGTM https://codereview.chromium.org/14969007/diff/15001/tools/tests/skimage_self_test.py File tools/tests/skimage_self_test.py (right): https://codereview.chromium.org/14969007/diff/15001/tools/tests/skimage_self_test.py#newcode14 tools/tests/skimage_self_test.py:14: return "Could not find binary!\nDid you forget to ...
7 years, 7 months ago (2013-05-14 15:24:45 UTC) #7
scroggo
https://codereview.chromium.org/14969007/diff/15001/tools/tests/skimage_self_test.py File tools/tests/skimage_self_test.py (right): https://codereview.chromium.org/14969007/diff/15001/tools/tests/skimage_self_test.py#newcode14 tools/tests/skimage_self_test.py:14: return "Could not find binary!\nDid you forget to build ...
7 years, 7 months ago (2013-05-14 17:49:38 UTC) #8
scroggo
7 years, 7 months ago (2013-05-14 17:50:08 UTC) #9
Message was sent while issue was closed.
Committed patchset #6 manually as r9123 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698