summaryrefslogtreecommitdiffstats
path: root/openmp/testsuite/fortran/omp_nested.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_nested.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_nested.f')
-rw-r--r--openmp/testsuite/fortran/omp_nested.f53
1 files changed, 0 insertions, 53 deletions
diff --git a/openmp/testsuite/fortran/omp_nested.f b/openmp/testsuite/fortran/omp_nested.f
deleted file mode 100644
index 5435151f074..00000000000
--- a/openmp/testsuite/fortran/omp_nested.f
+++ /dev/null
@@ -1,53 +0,0 @@
-<ompts:test>
-<ompts:testdescription>Test if the compiler support nested parallelism.</ompts:testdescription>
-<ompts:version>2.5</ompts:version>
-<ompts:directive>nestedtest</ompts:directive>
-<ompts:dependences>omp critical</ompts:dependences>
-<ompts:testcode>
- INTEGER FUNCTION <ompts:testcode:functionname>omp_nested</ompts:testcode:functionname>()
- IMPLICIT NONE
- INCLUDE "omp_testsuite.f"
-<ompts:orphan:vars>
- INTEGER counter
- COMMON /orphvars/ counter
-</ompts:orphan:vars>
-
- counter =0
-
- <ompts:check>
-!$ CALL OMP_SET_NESTED(.TRUE.)
-!#ifdef _OPENMP
-! CALL OMP_SET_NESTED(.TRUE.)
-!#endif
- </ompts:check>
- <ompts:crosscheck>
-!$ CALL OMP_SET_NESTED(.FALSE.)
-!#ifdef _OPENMP
-! CALL OMP_SET_NESTED(.FALSE.)
-!#endif
- </ompts:crosscheck>
-
-!$omp parallel
- <ompts:orphan>
-!$omp critical
- counter = counter + 1
-!$omp end critical
-
-!$omp parallel
-!$omp critical
- counter = counter - 1
-!$omp end critical
-!$omp end parallel
- </ompts:orphan>
-!$omp end parallel
-
- IF (counter .EQ. 0 ) THEN
- WRITE (1,*) "Counter was 0"
- <testfunctionname></testfunctionname> = 0
- ELSE
- WRITE (1,*) "Counter was", counter
- <testfunctionname></testfunctionname> = 1
- END IF
- END FUNCTION
-</ompts:testcode>
-</ompts:test>
OpenPOWER on IntegriCloud