From f0fed9f9785e5ca69b8f050ed3aa7ed37fbd6e41 Mon Sep 17 00:00:00 2001 From: "keyar@chromium.org" Date: Mon, 20 Aug 2012 17:33:06 +0000 Subject: [PATCH] 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 --- tools/test_pictures.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 @@ def FindPathToProgram(program): 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 -- 2.7.4