summaryrefslogtreecommitdiffstats
path: root/openmp/testsuite/fortran/omp_task_if.f
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2017-11-13 17:44:48 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2017-11-13 17:44:48 +0000
commitf902e467b75671d06d1e9ad3663b8aa9366bc14b (patch)
treed6de4407663a1054506cd8b97d8a047f411e8cd8 /openmp/testsuite/fortran/omp_task_if.f
parent9e3d8f4b39e29e4616e8addb1240530dbdfab2c4 (diff)
downloadbcm5719-llvm-f902e467b75671d06d1e9ad3663b8aa9366bc14b.tar.gz
bcm5719-llvm-f902e467b75671d06d1e9ad3663b8aa9366bc14b.zip
[OpenMP] Remove the unused testsuite/ directory
The testsuite directory is not used or updated and confuses new users to the OpenMP project. These tests were rewritten using the lit format and put under the runtime/test directory. This patch removes the entire testsuite/ directory. Differential Revision: https://reviews.llvm.org/D39767 llvm-svn: 318056
Diffstat (limited to 'openmp/testsuite/fortran/omp_task_if.f')
-rw-r--r--openmp/testsuite/fortran/omp_task_if.f45
1 files changed, 0 insertions, 45 deletions
diff --git a/openmp/testsuite/fortran/omp_task_if.f b/openmp/testsuite/fortran/omp_task_if.f
deleted file mode 100644
index 149f4572187..00000000000
--- a/openmp/testsuite/fortran/omp_task_if.f
+++ /dev/null
@@ -1,45 +0,0 @@
-<ompts:test>
-<ompts:testdescription>Test which checks the if clause of the omp task directive. The idear of the tests is to generate a tasks in a single region and pause it immediately. The parent thread now shall set a counter variable which the paused task shall evaluate when woke up.</ompts:testdescription>
-<ompts:ompversion>3.0</ompts:ompversion>
-<ompts:directive>omp task if</ompts:directive>
-<ompts:dependences>omp single,omp flush</ompts:dependences>
-<ompts:testcode>
- INCLUDE "omp_my_sleep.f"
-
- INTEGER FUNCTION <ompts:testcode:functionname>omp_task_if</ompts:testcode:functionname>()
- IMPLICIT NONE
- INCLUDE "omp_testsuite.f"
- <ompts:orphan:vars>
- external my_sleep
- INTEGER dummy
- LOGICAL condition_false
- INTEGER cnt
- INTEGER rslt
- COMMON /orphvars/ condition_false, cnt, rslt
- </ompts:orphan:vars>
-
- cnt = 0
- condition_false = (dummy .eq. 314159)
-
-!$omp parallel
-!$omp single
- <ompts:orphan>
-!$omp task <ompts:check>if (condition_false)</ompts:check> shared(cnt,rslt)
- call my_sleep(SLEEPTIME_LONG)
-!$omp flush
- if (cnt .eq. 0) then
- rslt = 1
- else
- rslt = 0
- end if
-!$omp end task
- </ompts:orphan>
- cnt = 1
-!$omp end single
-!$omp end parallel
-
- <testfunctionname></testfunctionname> = rslt
-
- END FUNCTION
-</ompts:testcode>
-</ompts:test>
OpenPOWER on IntegriCloud