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_task_if.c | 43 ---------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 openmp/testsuite/c/omp_task_if.c (limited to 'openmp/testsuite/c/omp_task_if.c') diff --git a/openmp/testsuite/c/omp_task_if.c b/openmp/testsuite/c/omp_task_if.c deleted file mode 100644 index c07ab2fdd83..00000000000 --- a/openmp/testsuite/c/omp_task_if.c +++ /dev/null @@ -1,43 +0,0 @@ - -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. -3.0 -omp task if -omp single,omp flush - -#include -#include -#include "omp_testsuite.h" -#include "omp_my_sleep.h" - - -int omp_task_if(FILE * logFile){ - - int condition_false; - int count; - int result; - - count=0; - condition_false = (logFile == NULL); -#pragma omp parallel -{ -#pragma omp single - { - -#pragma omp task if (condition_false) shared(count, result) - { - my_sleep (SLEEPTIME_LONG); -//#pragma omp flush (count) - result = (0 == count); - } /* end of omp task */ - - - count = 1; -//#pragma omp flush (count) - - } /* end of single */ -} /*end of parallel */ - - return result; -} - - -- cgit v1.2.3