[Openmp-commits] [PATCH] D142045: [OpenMP][OMPT] Expect failure from tool_available_search.c on macOS

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Jan 18 17:09:19 PST 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG97ae7d83e3c6: [OpenMP][OMPT] Expect failure from tool_available_search.c on macOS (authored by tianshilei1992).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142045/new/

https://reviews.llvm.org/D142045

Files:
  openmp/runtime/test/lit.cfg
  openmp/runtime/test/ompt/loadtool/tool_available_search/tool_available_search.c


Index: openmp/runtime/test/ompt/loadtool/tool_available_search/tool_available_search.c
===================================================================
--- openmp/runtime/test/ompt/loadtool/tool_available_search/tool_available_search.c
+++ openmp/runtime/test/ompt/loadtool/tool_available_search/tool_available_search.c
@@ -6,11 +6,12 @@
 // RUN: OMP_TOOL_VERBOSE_INIT=stdout %libomp-run | FileCheck %s -DPARENTPATH=%T
 
 // REQUIRES: ompt
+// XFAIL: darwin
 
 /*
- *  This file contains code for three OMPT shared library tool to be 
- *  loaded and the code for the OpenMP executable. 
- *  No option enables code for the first shared library 
+ *  This file contains code for three OMPT shared library tool to be
+ *  loaded and the code for the OpenMP executable.
+ *  No option enables code for the first shared library
  *  (without an implementation of ompt_start_tool) during compilation
  *  -DTOOL -DSECOND_TOOL enables the code for the second tool during compilation
  *  -DTOOL -DTHIRD_TOOL enables the code for the third tool during compilation
@@ -45,7 +46,7 @@
 
 // Check if libomp supports the callbacks for this test.
 
-// CHECK-NOT: {{^}}0: Could not register callback 
+// CHECK-NOT: {{^}}0: Could not register callback
 // CHECK: {{^}}0: Tool initialized
 // CHECK: {{^}}0: ompt_event_thread_begin
 // CHECK-DAG: {{^}}0: ompt_event_thread_begin
@@ -90,7 +91,7 @@
   return NULL;
 }
 #elif defined(THIRD_TOOL)
-// The third tool has an implementation of ompt_start_tool that returns a 
+// The third tool has an implementation of ompt_start_tool that returns a
 // pointer to a valid instance of ompt_start_tool_result_t
 
 static void
Index: openmp/runtime/test/lit.cfg
===================================================================
--- openmp/runtime/test/lit.cfg
+++ openmp/runtime/test/lit.cfg
@@ -105,6 +105,9 @@
 if config.operating_system == 'NetBSD':
     config.available_features.add("netbsd")
 
+if config.operating_system == 'Darwin':
+    config.available_features.add("darwin")
+
 if config.operating_system in ['Linux', 'Windows']:
     config.available_features.add('affinity')
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142045.490336.patch
Type: text/x-patch
Size: 2125 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230119/a17735f0/attachment.bin>


More information about the Openmp-commits mailing list