Fix omp_sections_nowait.c test to address Bugzilla Bug 28336This rewrite of the omp_sections_nowait.c test file causes it to hang if thenowait is not respected. If the nowait isn't respected, the
Fix omp_sections_nowait.c test to address Bugzilla Bug 28336This rewrite of the omp_sections_nowait.c test file causes it to hang if thenowait is not respected. If the nowait isn't respected, the lone thread whichcan escape the first sections construct will just sleep at a barrier whichshouldn't exist. All reliance on timers is taken out. For good measure, the testmakes sure that all eight sections are executed as well. The test should take nolonger than a few seconds on any modern machine.Differential Revision: http://reviews.llvm.org/D21842llvm-svn: 274151
show more ...
Remove trailing whitespace from testsllvm-svn: 269841
OpenMP Initial testsuite change to purely llvm-lit based testingThis change introduces a check-libomp target which is based upon llvm's littest infrastructure. Each test (generated from the Univer
OpenMP Initial testsuite change to purely llvm-lit based testingThis change introduces a check-libomp target which is based upon llvm's littest infrastructure. Each test (generated from the University of Houston'sOpenMP testsuite) is compiled and then run. For each test, an exit status of 0indicates success and non-zero indicates failure. This way, FileCheck is notneeded. 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/D11821llvm-svn: 248211