From 733aee123d79e9540395150fb5aecc43dd46068b Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Sat, 17 Jun 2017 08:37:31 -0400 Subject: [PATCH] tests: Always consider symlink as valid installed file An installed symlink might point to a non-existing file (because DESTDIR is set) so just always accept them. --- run_project_tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run_project_tests.py b/run_project_tests.py index 822286b08..d6b10abd2 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -214,7 +214,8 @@ def validate_install(srcdir, installdir, compiler): expected[platform_fix_name(line.strip())] = False # Check if expected files were found for fname in expected: - if os.path.exists(os.path.join(installdir, fname)): + file_path = os.path.join(installdir, fname) + if os.path.exists(file_path) or os.path.islink(file_path): expected[fname] = True for (fname, found) in expected.items(): if not found: