[Openmp-commits] [PATCH] D82963: [OpenMP] Temporarily disable failing runtime and ompt tests for OpenMP 5.0

Saiyedul Islam via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Jul 1 07:32:55 PDT 2020


saiislam created this revision.
saiislam added reviewers: ABataev, jdoerfert, protze.joachim, AndreyChurbanov, gregrodgers.
Herald added subscribers: openmp-commits, sstefan1, guansong, yaxunl.
Herald added a project: OpenMP.

Following tests are failing after upgrading to version 5.0 but are passing
for version 4.5:

1. openmp/runtime/test/env/kmp_set_dispatch_buf.c
2. openmp/runtime/test/worksharing/for/kmp_set_dispatch_buf.c
3. openmp/runtime/test/ompt/tasks/dependences.c

To be enabled as soon as these tests are fixed.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82963

Files:
  openmp/runtime/test/env/kmp_set_dispatch_buf.c
  openmp/runtime/test/ompt/tasks/dependences.c
  openmp/runtime/test/worksharing/for/kmp_set_dispatch_buf.c


Index: openmp/runtime/test/worksharing/for/kmp_set_dispatch_buf.c
===================================================================
--- openmp/runtime/test/worksharing/for/kmp_set_dispatch_buf.c
+++ openmp/runtime/test/worksharing/for/kmp_set_dispatch_buf.c
@@ -1,7 +1,7 @@
-// RUN: %libomp-compile && %libomp-run 7
+// RUN: %libomp-compile -fopenmp-version=45 && %libomp-run 7
 // RUN: %libomp-run 0 && %libomp-run -1
 // RUN: %libomp-run 1 && %libomp-run 2 && %libomp-run 5
-// RUN: %libomp-compile -DMY_SCHEDULE=guided && %libomp-run 7
+// RUN: %libomp-compile -fopenmp-version=45 -DMY_SCHEDULE=guided && %libomp-run 7
 // RUN: %libomp-run 1 && %libomp-run 2 && %libomp-run 5
 #include <stdio.h>
 #include <omp.h>
Index: openmp/runtime/test/ompt/tasks/dependences.c
===================================================================
--- openmp/runtime/test/ompt/tasks/dependences.c
+++ openmp/runtime/test/ompt/tasks/dependences.c
@@ -1,4 +1,4 @@
-// RUN: %libomp-compile-and-run | %sort-threads | FileCheck %s
+// RUN: %libomp-compile-and-run -fopenmp-version=45 | %sort-threads | FileCheck %s
 // REQUIRES: ompt
 // UNSUPPORTED: gcc-4, gcc-5, gcc-6, gcc-7
 
Index: openmp/runtime/test/env/kmp_set_dispatch_buf.c
===================================================================
--- openmp/runtime/test/env/kmp_set_dispatch_buf.c
+++ openmp/runtime/test/env/kmp_set_dispatch_buf.c
@@ -1,7 +1,7 @@
-// RUN: %libomp-compile && env KMP_DISP_NUM_BUFFERS=0 %libomp-run
+// RUN: %libomp-compile -fopenmp-version=45 && env KMP_DISP_NUM_BUFFERS=0 %libomp-run
 // RUN: env KMP_DISP_NUM_BUFFERS=1 %libomp-run && env KMP_DISP_NUM_BUFFERS=3 %libomp-run
 // RUN: env KMP_DISP_NUM_BUFFERS=4 %libomp-run && env KMP_DISP_NUM_BUFFERS=7 %libomp-run
-// RUN: %libomp-compile -DMY_SCHEDULE=guided && env KMP_DISP_NUM_BUFFERS=1 %libomp-run
+// RUN: %libomp-compile -fopenmp-version=45 -DMY_SCHEDULE=guided && env KMP_DISP_NUM_BUFFERS=1 %libomp-run
 // RUN: env KMP_DISP_NUM_BUFFERS=3 %libomp-run && env KMP_DISP_NUM_BUFFERS=4 %libomp-run
 // RUN: env KMP_DISP_NUM_BUFFERS=7 %libomp-run
 #include <stdio.h>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82963.274799.patch
Type: text/x-patch
Size: 2094 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20200701/dbee0962/attachment.bin>


More information about the Openmp-commits mailing list