[PATCH] D28558: [CMake] Ignore hidden/metadata files when adding lit check-* testsuites

Michał Górny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 26 04:47:06 PDT 2017


mgorny added inline comments.


================
Comment at: cmake/modules/AddLLVM.cmake:1219
       endif()
+      if(${lit_suite} MATCHES ".*[\/][\.].*")
+        continue()
----------------
Why the second slash? If you're trying to escape the `.`, then it shouldn't be necessary since it's in `[]`. With the first one, I think you use `\\` for the literal backwards slash but please test how CMake handles it.


https://reviews.llvm.org/D28558





More information about the llvm-commits mailing list