[Openmp-commits] [openmp] a2b3b4d - [openmp] Run tests on both runtimes, independent of the default

Jon Chesterfield via Openmp-commits openmp-commits at lists.llvm.org
Mon Dec 6 08:41:55 PST 2021


Author: Jon Chesterfield
Date: 2021-12-06T16:41:23Z
New Revision: a2b3b4dadc00ffa52e4966c253d8982b8018b376

URL: https://github.com/llvm/llvm-project/commit/a2b3b4dadc00ffa52e4966c253d8982b8018b376
DIFF: https://github.com/llvm/llvm-project/commit/a2b3b4dadc00ffa52e4966c253d8982b8018b376.diff

LOG: [openmp] Run tests on both runtimes, independent of the default

Minor fix to the lit.cfg. Currently, nvptx runs the tests twice on the new runtime.
Soon, amdgpu will run them on the new runtime as well as the old.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D115150

Added: 
    

Modified: 
    openmp/libomptarget/test/lit.cfg

Removed: 
    


################################################################################
diff  --git a/openmp/libomptarget/test/lit.cfg b/openmp/libomptarget/test/lit.cfg
index 3c3133f14312c..0dcb640b3af33 100644
--- a/openmp/libomptarget/test/lit.cfg
+++ b/openmp/libomptarget/test/lit.cfg
@@ -104,6 +104,8 @@ else: # Unices
         config.test_flags += " --libomptarget-nvptx-bc-path=" + config.library_dir
     if config.libomptarget_current_target.endswith('-newRTL'):
         config.test_flags += " -fopenmp-target-new-runtime"
+    else:
+        config.test_flags += " -fno-openmp-target-new-runtime"
 
 # substitutions
 # - for targets that exist in the system create the actual command.


        


More information about the Openmp-commits mailing list