summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/test/worksharing/sections
Commit message (Collapse)AuthorAgeFilesLines
* Fix omp_sections_nowait.c test to address Bugzilla Bug 28336Jonathan Peyton2016-06-291-24/+59
| | | | | | | | | | | | | This rewrite of the omp_sections_nowait.c test file causes it to hang if the nowait is not respected. If the nowait isn't respected, the lone thread which can escape the first sections construct will just sleep at a barrier which shouldn't exist. All reliance on timers is taken out. For good measure, the test makes sure that all eight sections are executed as well. The test should take no longer than a few seconds on any modern machine. Differential Revision: http://reviews.llvm.org/D21842 llvm-svn: 274151
* Remove trailing whitespace from testsJonathan Peyton2016-05-179-47/+47
| | | | llvm-svn: 269841
* OpenMP Initial testsuite change to purely llvm-lit based testingJonathan Peyton2015-09-219-0/+1506
This change introduces a check-libomp target which is based upon llvm's lit test infrastructure. Each test (generated from the University of Houston's OpenMP testsuite) is compiled and then run. For each test, an exit status of 0 indicates success and non-zero indicates failure. This way, FileCheck is not needed. I've added a bit of logic to generate symlinks (libiomp5 and libgomp) in the build tree so that gcc can be tested as well. When building out-of- tree builds, the user will have to provide llvm-lit either by specifying -DLIBOMP_LLVM_LIT_EXECUTABLE or having llvm-lit in their PATH. Differential Revision: http://reviews.llvm.org/D11821 llvm-svn: 248211
OpenPOWER on IntegriCloud