test_pictures.py will now look for render_pictures.exe and skdiff.exe
Before it was not and so was failing on Windows.
Review URL: https://codereview.appspot.com/6468043
git-svn-id: http://skia.googlecode.com/svn/trunk@5191 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tools/test_pictures.py b/tools/test_pictures.py
index 74684ef..b4ae2bf 100644
--- a/tools/test_pictures.py
+++ b/tools/test_pictures.py
@@ -42,7 +42,11 @@
trunk_path = os.path.abspath(os.path.join(os.path.dirname(__file__),
os.pardir))
possible_paths = [os.path.join(trunk_path, 'out', 'Release', program),
- os.path.join(trunk_path, 'out', 'Debug', program)]
+ os.path.join(trunk_path, 'out', 'Debug', program),
+ os.path.join(trunk_path, 'out', 'Release',
+ program + ".exe"),
+ os.path.join(trunk_path, 'out', 'Debug',
+ program + ".exe")]
for try_path in possible_paths:
if os.path.isfile(try_path):
return try_path