diff --git a/openmp/libomptarget/test/lit.cfg b/openmp/libomptarget/test/lit.cfg --- a/openmp/libomptarget/test/lit.cfg +++ b/openmp/libomptarget/test/lit.cfg @@ -102,6 +102,8 @@ 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.