From 889e4b03c02dc01f194c9affa230591dce83e0da Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sun, 16 Mar 2014 11:57:07 +0200 Subject: Fix test runner on Windows. --- run_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'run_tests.py') diff --git a/run_tests.py b/run_tests.py index 702987e96..2d15707f4 100755 --- a/run_tests.py +++ b/run_tests.py @@ -51,14 +51,14 @@ def validate_install(srcdir, installdir): if platform.system() == 'Windows': # Don't really know how Windows installs should work # so skip. - return + return '' info_file = os.path.join(srcdir, 'installed_files.txt') expected = {} found = {} if os.path.exists(info_file): for line in open(info_file): expected[platform_fix_filename(line.strip())] = True - for root, dirs, files in os.walk(installdir): + for root, _, files in os.walk(installdir): for fname in files: found_name = os.path.join(root, fname)[len(installdir)+1:] found[found_name] = True -- cgit v1.2.3