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 <william.r.dieter@intel.com>
This commit is contained in:
William R. Dieter
2020-11-10 19:37:37 -05:00
committed by Brad King
parent 49d7e0c91d
commit f6f048898d
@@ -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)