[Openmp-commits] [openmp] 8e8bff3 - Fix test. (#74745)

via Openmp-commits openmp-commits at lists.llvm.org
Thu Dec 7 10:46:04 PST 2023


Author: jyu2-git
Date: 2023-12-07T10:45:59-08:00
New Revision: 8e8bff3397c08252841b04fd4c91c7d120ea710a

URL: https://github.com/llvm/llvm-project/commit/8e8bff3397c08252841b04fd4c91c7d120ea710a
DIFF: https://github.com/llvm/llvm-project/commit/8e8bff3397c08252841b04fd4c91c7d120ea710a.diff

LOG: Fix test. (#74745)

Just add
// REQUIRES: libomptarget-debug

So that test will not run with release compiler.

Added: 
    

Modified: 
    openmp/libomptarget/test/offloading/target_map_for_member_data.cpp

Removed: 
    


################################################################################
diff  --git a/openmp/libomptarget/test/offloading/target_map_for_member_data.cpp b/openmp/libomptarget/test/offloading/target_map_for_member_data.cpp
index 812ede6fc8a26..7fba71be6e662 100644
--- a/openmp/libomptarget/test/offloading/target_map_for_member_data.cpp
+++ b/openmp/libomptarget/test/offloading/target_map_for_member_data.cpp
@@ -2,6 +2,8 @@
 // RUN: %libomptarget-compilexx-generic && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-generic 2>&1 | %fcheck-generic
 // clang-format on
 
+// REQUIRES: libomptarget-debug
+
 struct DataTy {
   float a;
   float b[3];


        


More information about the Openmp-commits mailing list