[Openmp-commits] [PATCH] D111995: [libomptarget] Pass OMP_TARGET_OFFLOAD env variable through to tests

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Oct 18 08:03:18 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG251b1e7c25b5: [libomptarget] Pass OMP_TARGET_OFFLOAD env variable through to tests (authored by JonChesterfield).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111995/new/

https://reviews.llvm.org/D111995

Files:
  openmp/libomptarget/test/lit.cfg


Index: openmp/libomptarget/test/lit.cfg
===================================================================
--- openmp/libomptarget/test/lit.cfg
+++ openmp/libomptarget/test/lit.cfg
@@ -17,6 +17,9 @@
 if 'LIBOMPTARGET_DEBUG' in os.environ:
     config.environment['LIBOMPTARGET_DEBUG'] = os.environ['LIBOMPTARGET_DEBUG']
 
+if 'OMP_TARGET_OFFLOAD' in os.environ:
+    config.environment['OMP_TARGET_OFFLOAD'] = os.environ['OMP_TARGET_OFFLOAD']
+
 def append_dynamic_library_path(name, value, sep):
     if name in config.environment:
         config.environment[name] = value + sep + config.environment[name]


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111995.380400.patch
Type: text/x-patch
Size: 609 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20211018/c516bdf9/attachment-0001.bin>


More information about the Openmp-commits mailing list