[Openmp-commits] [PATCH] D62446: [openmp] [test] Skip omp_taskwait test on NetBSD

Michał Górny via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sat May 25 00:24:15 PDT 2019


mgorny created this revision.
mgorny added reviewers: jlpeyton, krytarowski.
Herald added subscribers: jdoerfert, guansong.

The omp_taskwait test is known to trigger a bug in NetBSD kernel,
and effectively is capable of hanging the host running it.  Disable
it until we can resolve it.


https://reviews.llvm.org/D62446

Files:
  openmp/runtime/test/lit.cfg
  openmp/runtime/test/tasking/omp_taskwait.c


Index: openmp/runtime/test/tasking/omp_taskwait.c
===================================================================
--- openmp/runtime/test/tasking/omp_taskwait.c
+++ openmp/runtime/test/tasking/omp_taskwait.c
@@ -1,3 +1,5 @@
+// This test is known to be fragile on NetBSD kernel at the moment.
+// UNSUPPORTED: netbsd
 // RUN: %libomp-compile-and-run
 #include <stdio.h>
 #include <math.h>
Index: openmp/runtime/test/lit.cfg
===================================================================
--- openmp/runtime/test/lit.cfg
+++ openmp/runtime/test/lit.cfg
@@ -103,6 +103,9 @@
 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')
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62446.201394.patch
Type: text/x-patch
Size: 856 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20190525/12c31b93/attachment-0001.bin>


More information about the Openmp-commits mailing list