From f902e467b75671d06d1e9ad3663b8aa9366bc14b Mon Sep 17 00:00:00 2001 From: Jonathan Peyton Date: Mon, 13 Nov 2017 17:44:48 +0000 Subject: [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 --- openmp/testsuite/c/omp_parallel_if.c | 40 ------------------------------------ 1 file changed, 40 deletions(-) delete mode 100644 openmp/testsuite/c/omp_parallel_if.c (limited to 'openmp/testsuite/c/omp_parallel_if.c') diff --git a/openmp/testsuite/c/omp_parallel_if.c b/openmp/testsuite/c/omp_parallel_if.c deleted file mode 100644 index d3f45b101bd..00000000000 --- a/openmp/testsuite/c/omp_parallel_if.c +++ /dev/null @@ -1,40 +0,0 @@ - -Test which checks the if option of the parallel construct. -3.0 -omp parallel if - -#include -#include - -#include "omp_testsuite.h" - -int omp_parallel_if (FILE * logFile) -{ - - int i; - int sum; - int known_sum; - int mysum; - int control=1; - - sum =0; - known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2 ; -#pragma omp parallel private(i) if(control==0) - { - - mysum = 0; - for (i = 1; i <= LOOPCOUNT; i++) - { - mysum = mysum + i; - } -#pragma omp critical - { - sum = sum + mysum; - } /* end of critical */ - - } /* end of parallel */ - - return (known_sum == sum); -} - - -- cgit v1.2.3