[Openmp-commits] [PATCH] D122652: [libomptarget][test] add return 0 to map_back_race.cpp

Ron Lieberman via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Mar 29 06:15:21 PDT 2022


ronlieb created this revision.
ronlieb added reviewers: JonChesterfield, jdoerfert, saiislam.
Herald added a subscriber: tpr.
Herald added a project: All.
ronlieb requested review of this revision.
Herald added a project: OpenMP.
Herald added a subscriber: openmp-commits.

sporadic failrues in amdgpu buildbot for the test map_back_race.cpp
seems to be missing return 0; in function main.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122652

Files:
  openmp/libomptarget/test/mapping/map_back_race.cpp


Index: openmp/libomptarget/test/mapping/map_back_race.cpp
===================================================================
--- openmp/libomptarget/test/mapping/map_back_race.cpp
+++ openmp/libomptarget/test/mapping/map_back_race.cpp
@@ -29,4 +29,8 @@
     std::exit(112);
   }
 }
-int main() { test_parallel_for__target(); }
+int main() {
+  test_parallel_for__target();
+  // above function returns no status
+  return 0;
+}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122652.418856.patch
Type: text/x-patch
Size: 429 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220329/1f585560/attachment.bin>


More information about the Openmp-commits mailing list