[Openmp-commits] [openmp] [OpenMP] Add unit tests for nextgen plugins (PR #74398)

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Tue Dec 19 16:32:33 PST 2023

@@ -123,3 +123,9 @@ add_subdirectory(tools)
 # Add tests.
+# Add unit tests if GMock/GTest is present
+  add_subdirectory(${LLVM_THIRD_PARTY_DIR}/unittest ${CMAKE_CURRENT_BINARY_DIR}/third-party/unittest)
+  add_subdirectory(unittests)
jhuber6 wrote:

Pretty sure that's a name defined in the same way, we could use the same name if needed.

We also need these to run w/ `check-openmp` or similar. Long term I'd like language tests to be all all in a different directory so we can test things like CUDA, HIP, SYCL, OpenACC, C, C++, Fortran, etc.


More information about the Openmp-commits mailing list