[gn build] Make sync_source_lists_from_cmake.py check that all LLVM unittests are present

Now that the PowerPC and WebAssembly targets are added, this check passes.

Differential Revision: https://reviews.llvm.org/D56417

llvm-svn: 350631
This commit is contained in:
Nico Weber 2019-01-08 15:17:19 +00:00
parent c1ece1b41b
commit 7bb9ed140f
1 changed files with 1 additions and 2 deletions

View File

@ -60,8 +60,7 @@ def sync_unittests():
# Matches e.g. |add_llvm_unittest_with_input_files|.
unittest_re = re.compile(r'^add_\S+_unittest', re.MULTILINE)
# FIXME: Add 'llvm' here once it's complete.
checked = [ 'clang', 'lld' ]
checked = [ 'clang', 'lld', 'llvm' ]
for c in checked:
for root, _, _ in os.walk(os.path.join(c, 'unittests')):
cmake_file = os.path.join(root, 'CMakeLists.txt')