[llvm] r350631 - [gn build] Make sync_source_lists_from_cmake.py check that all LLVM unittests are present
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 8 07:17:19 PST 2019
Author: nico
Date: Tue Jan 8 07:17:19 2019
New Revision: 350631
URL: http://llvm.org/viewvc/llvm-project?rev=350631&view=rev
Log:
[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
Modified:
llvm/trunk/utils/gn/build/sync_source_lists_from_cmake.py
Modified: llvm/trunk/utils/gn/build/sync_source_lists_from_cmake.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/build/sync_source_lists_from_cmake.py?rev=350631&r1=350630&r2=350631&view=diff
==============================================================================
--- llvm/trunk/utils/gn/build/sync_source_lists_from_cmake.py (original)
+++ llvm/trunk/utils/gn/build/sync_source_lists_from_cmake.py Tue Jan 8 07:17:19 2019
@@ -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')
More information about the llvm-commits
mailing list