aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-03-16 11:57:07 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2014-03-16 11:57:07 +0200
commit889e4b03c02dc01f194c9affa230591dce83e0da (patch)
treef676789796f96a19bd9b748af2da4a19b9917c53 /run_tests.py
parent26583435d5a182ea1a7cc14556a11b61fda75e8c (diff)
downloadmeson-889e4b03c02dc01f194c9affa230591dce83e0da.zip
meson-889e4b03c02dc01f194c9affa230591dce83e0da.tar.gz
meson-889e4b03c02dc01f194c9affa230591dce83e0da.tar.bz2
Fix test runner on Windows.
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/run_tests.py b/run_tests.py
index 702987e..2d15707 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