[Openmp-commits] [openmp] Fix test. (PR #74745)
via Openmp-commits
openmp-commits at lists.llvm.org
Thu Dec 7 10:43:16 PST 2023
https://github.com/jyu2-git created https://github.com/llvm/llvm-project/pull/74745
Just add
// REQUIRES: libomptarget-debug
So that test will not run with release compiler.
>From d65b0b52518c47600033f760bf2c91960584f3d3 Mon Sep 17 00:00:00 2001
From: Jennifer Yu <jennifer.yu at intel.com>
Date: Thu, 7 Dec 2023 10:27:55 -0800
Subject: [PATCH] Fix test.
---
.../libomptarget/test/offloading/target_map_for_member_data.cpp | 2 ++
1 file changed, 2 insertions(+)
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