Commit f6f04889 authored by William R. Dieter's avatar William R. Dieter Committed by Brad King

Tests: Update RunCMake.DependencyGraph to canonicalize paths when comparing

A symbolic link in the path was causing false path mismatches.
Resolving the symlinks makes both paths identical.
Signed-off-by: William R. Dieter's avatarWilliam R. Dieter <william.r.dieter@intel.com>
parent 49d7e0c9
......@@ -10,7 +10,8 @@ function(check_files dir)
set(actual)
foreach(i IN LISTS glob)
if(NOT i MATCHES "(\\.manifest$)|(\\.exp$)|(\\.tds$)")
list(APPEND actual ${i})
get_filename_component(real_path ${i} REALPATH)
list(APPEND actual ${real_path})
endif()
endforeach()
list(REMOVE_DUPLICATES actual)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment