[Openmp-commits] [openmp] [OpenMP] Add libomp unit test infrastructure (PR #168063)

Michael Kruse via Openmp-commits openmp-commits at lists.llvm.org
Tue Dec 2 14:29:50 PST 2025


================
@@ -0,0 +1,42 @@
+add_custom_target(OpenMPUnitTests)
+set_target_properties(OpenMPUnitTests PROPERTIES FOLDER "OpenMP/Tests")
+
+if(NOT TARGET llvm_gtest)
----------------
Meinersbur wrote:

Please use `default_gtest` from #164794, like I also suggested in https://github.com/llvm/llvm-project/pull/159416#pullrequestreview-3473276540. `default_gtest` avoids the ABI mismatch in a LLVM_ENABLE_RUNTIMES-build. 

https://github.com/llvm/llvm-project/pull/168063


More information about the Openmp-commits mailing list