[Openmp-commits] [openmp] r361825 - [openmp] [test] Skip kernel-breaking tests on NetBSD

Michal Gorny via Openmp-commits openmp-commits at lists.llvm.org
Tue May 28 07:10:48 PDT 2019


Author: mgorny
Date: Tue May 28 07:10:47 2019
New Revision: 361825

URL: http://llvm.org/viewvc/llvm-project?rev=361825&view=rev
Log:
[openmp] [test] Skip kernel-breaking tests on NetBSD

The omp_taskloop_num_tasks and omp_taskwait have deadlooped
on the NetBSD buildbot previously, practically hanging the host running
it.  Disable them until we can find a good solution, or make the kernel
less fragile.

Modified:
    openmp/trunk/runtime/test/lit.cfg
    openmp/trunk/runtime/test/tasking/omp_taskloop_num_tasks.c
    openmp/trunk/runtime/test/tasking/omp_taskwait.c

Modified: openmp/trunk/runtime/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/test/lit.cfg?rev=361825&r1=361824&r2=361825&view=diff
==============================================================================
--- openmp/trunk/runtime/test/lit.cfg (original)
+++ openmp/trunk/runtime/test/lit.cfg Tue May 28 07:10:47 2019
@@ -103,6 +103,9 @@ if config.libomp_omp_version >= 40:
 if 'Linux' in config.operating_system:
     config.available_features.add("linux")
 
+if config.operating_system == 'NetBSD':
+    config.available_features.add("netbsd")
+
 if config.operating_system in ['Linux', 'Windows']:
     config.available_features.add('affinity')
 

Modified: openmp/trunk/runtime/test/tasking/omp_taskloop_num_tasks.c
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/test/tasking/omp_taskloop_num_tasks.c?rev=361825&r1=361824&r2=361825&view=diff
==============================================================================
--- openmp/trunk/runtime/test/tasking/omp_taskloop_num_tasks.c (original)
+++ openmp/trunk/runtime/test/tasking/omp_taskloop_num_tasks.c Tue May 28 07:10:47 2019
@@ -1,3 +1,5 @@
+// This test is known to be fragile on NetBSD kernel at the moment.
+// UNSUPPORTED: netbsd
 // RUN: %libomp-compile-and-run
 // RUN: %libomp-compile && env KMP_TASKLOOP_MIN_TASKS=1 %libomp-run
 // REQUIRES: openmp-4.5
@@ -5,6 +7,10 @@
 // These compilers don't support the taskloop construct
 // UNSUPPORTED: gcc-4, gcc-5, icc-16
 
+// This test is known to be fragile on NetBSD kernel at the moment,
+// https://bugs.llvm.org/show_bug.cgi?id=42020.
+// UNSUPPORTED: netbsd
+
 /*
  * Test for taskloop
  * Method: caculate how many times the iteration space is dispatched

Modified: openmp/trunk/runtime/test/tasking/omp_taskwait.c
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/test/tasking/omp_taskwait.c?rev=361825&r1=361824&r2=361825&view=diff
==============================================================================
--- openmp/trunk/runtime/test/tasking/omp_taskwait.c (original)
+++ openmp/trunk/runtime/test/tasking/omp_taskwait.c Tue May 28 07:10:47 2019
@@ -1,4 +1,8 @@
 // RUN: %libomp-compile-and-run
+
+// This test is known to be fragile on NetBSD kernel at the moment,
+// https://bugs.llvm.org/show_bug.cgi?id=42020.
+// UNSUPPORTED: netbsd
 #include <stdio.h>
 #include <math.h>
 #include "omp_testsuite.h"




More information about the Openmp-commits mailing list