[gn build] Make sync_source_lists_from_cmake.py check that all LLVM unittests are...
authorNico Weber <nicolasweber@gmx.de>
Tue, 8 Jan 2019 15:17:19 +0000 (15:17 +0000)
committerNico Weber <nicolasweber@gmx.de>
Tue, 8 Jan 2019 15:17:19 +0000 (15:17 +0000)
Now that the PowerPC and WebAssembly targets are added, this check passes.

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

llvm-svn: 350631

llvm/utils/gn/build/sync_source_lists_from_cmake.py

index 03cba7a..21abe7e 100755 (executable)
@@ -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')