aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2017-04-04 00:11:53 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2017-04-06 22:48:02 +0100
commit2930d3bda64ef02d9baaee2165690e3eb4ad9455 (patch)
treeafa6eac326f7d85b9405592934f8a722d9ddadd9
parent85f989f74476f4cc02434cb34a27b8581023f8e3 (diff)
downloadmeson-2930d3bda64ef02d9baaee2165690e3eb4ad9455.zip
meson-2930d3bda64ef02d9baaee2165690e3eb4ad9455.tar.gz
meson-2930d3bda64ef02d9baaee2165690e3eb4ad9455.tar.bz2
Ignore missing .pdb files when not using MSVS
This fixes 'test cases/windows/1 basic' on Cygwin
-rwxr-xr-xrun_project_tests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index cbf8f08..dc05524 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -244,6 +244,9 @@ def validate_install(srcdir, installdir):
expected[fname] = True
for (fname, found) in expected.items():
if not found:
+ # Ignore missing PDB files if we aren't using cl
+ if fname.endswith('.pdb') and compiler != 'cl':
+ continue
ret_msg += 'Expected file {0} missing.\n'.format(fname)
# Check if there are any unexpected files
found = get_relative_files_list_from_dir(installdir)