From 007d8a4f699cc25954502e8b089c5ec6d8bc7625 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Tue, 8 Jan 2019 15:17:19 +0000 Subject: [PATCH] [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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350631 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/gn/build/sync_source_lists_from_cmake.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/utils/gn/build/sync_source_lists_from_cmake.py b/utils/gn/build/sync_source_lists_from_cmake.py index 03cba7ad396..21abe7ef914 100755 --- a/utils/gn/build/sync_source_lists_from_cmake.py +++ b/utils/gn/build/sync_source_lists_from_cmake.py @@ -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') -- 2.50.1