[Openmp-commits] [PATCH] D11821: [OpenMP] Initial testsuite change to purely llvm-lit based testing

Jonathan Peyton via Openmp-commits openmp-commits at lists.llvm.org
Thu Aug 6 15:16:24 PDT 2015


jlpeyton created this revision.
jlpeyton added a reviewer: hfinkel.
jlpeyton added a subscriber: openmp-commits.
jlpeyton set the repository for this revision to rL LLVM.

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.

Repository:
  rL LLVM

http://reviews.llvm.org/D11821

Files:
  runtime/CMakeLists.txt
  runtime/src/CMakeLists.txt
  runtime/test/CMakeLists.txt
  runtime/test/api/has_openmp.c
  runtime/test/api/omp_get_num_threads.c
  runtime/test/api/omp_get_wtick.c
  runtime/test/api/omp_get_wtime.c
  runtime/test/api/omp_in_parallel.c
  runtime/test/atomic/omp_atomic.c
  runtime/test/barrier/omp_barrier.c
  runtime/test/critical/omp_critical.c
  runtime/test/flush/omp_flush.c
  runtime/test/lit.cfg
  runtime/test/lit.site.cfg.in
  runtime/test/lock/omp_lock.c
  runtime/test/lock/omp_nest_lock.c
  runtime/test/lock/omp_test_lock.c
  runtime/test/lock/omp_test_nest_lock.c
  runtime/test/master/omp_master.c
  runtime/test/master/omp_master_3.c
  runtime/test/omp_my_sleep.h
  runtime/test/omp_testsuite.h
  runtime/test/parallel/omp_nested.c
  runtime/test/parallel/omp_parallel_copyin.c
  runtime/test/parallel/omp_parallel_default.c
  runtime/test/parallel/omp_parallel_firstprivate.c
  runtime/test/parallel/omp_parallel_if.c
  runtime/test/parallel/omp_parallel_num_threads.c
  runtime/test/parallel/omp_parallel_private.c
  runtime/test/parallel/omp_parallel_reduction.c
  runtime/test/parallel/omp_parallel_shared.c
  runtime/test/tasking/omp_task.c
  runtime/test/tasking/omp_task_final.c
  runtime/test/tasking/omp_task_firstprivate.c
  runtime/test/tasking/omp_task_if.c
  runtime/test/tasking/omp_task_imp_firstprivate.c
  runtime/test/tasking/omp_task_private.c
  runtime/test/tasking/omp_task_shared.c
  runtime/test/tasking/omp_task_untied.c
  runtime/test/tasking/omp_taskwait.c
  runtime/test/tasking/omp_taskyield.c
  runtime/test/threadprivate/omp_threadprivate.c
  runtime/test/threadprivate/omp_threadprivate_for.c
  runtime/test/worksharing/for/omp_for_collapse.c
  runtime/test/worksharing/for/omp_for_firstprivate.c
  runtime/test/worksharing/for/omp_for_lastprivate.c
  runtime/test/worksharing/for/omp_for_nowait.c
  runtime/test/worksharing/for/omp_for_ordered.c
  runtime/test/worksharing/for/omp_for_private.c
  runtime/test/worksharing/for/omp_for_reduction.c
  runtime/test/worksharing/for/omp_for_schedule_auto.c
  runtime/test/worksharing/for/omp_for_schedule_dynamic.c
  runtime/test/worksharing/for/omp_for_schedule_guided.c
  runtime/test/worksharing/for/omp_for_schedule_static.c
  runtime/test/worksharing/for/omp_for_schedule_static_3.c
  runtime/test/worksharing/for/omp_parallel_for_firstprivate.c
  runtime/test/worksharing/for/omp_parallel_for_if.c
  runtime/test/worksharing/for/omp_parallel_for_lastprivate.c
  runtime/test/worksharing/for/omp_parallel_for_ordered.c
  runtime/test/worksharing/for/omp_parallel_for_private.c
  runtime/test/worksharing/for/omp_parallel_for_reduction.c
  runtime/test/worksharing/sections/omp_parallel_sections_firstprivate.c
  runtime/test/worksharing/sections/omp_parallel_sections_lastprivate.c
  runtime/test/worksharing/sections/omp_parallel_sections_private.c
  runtime/test/worksharing/sections/omp_parallel_sections_reduction.c
  runtime/test/worksharing/sections/omp_section_firstprivate.c
  runtime/test/worksharing/sections/omp_section_lastprivate.c
  runtime/test/worksharing/sections/omp_section_private.c
  runtime/test/worksharing/sections/omp_sections_nowait.c
  runtime/test/worksharing/sections/omp_sections_reduction.c
  runtime/test/worksharing/single/omp_single.c
  runtime/test/worksharing/single/omp_single_copyprivate.c
  runtime/test/worksharing/single/omp_single_nowait.c
  runtime/test/worksharing/single/omp_single_private.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11821.31479.patch
Type: text/x-patch
Size: 147476 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20150806/02d72445/attachment-0001.bin>


More information about the Openmp-commits mailing list