[Openmp-commits] [openmp] 578c13d - [OPENMP]Fix the test, NFC.

Alexey Bataev via Openmp-commits openmp-commits at lists.llvm.org
Thu Feb 13 07:49:52 PST 2020


Author: Alexey Bataev
Date: 2020-02-13T10:40:06-05:00
New Revision: 578c13d13c42d20ada6ccadacccdf814caaf43b7

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

LOG: [OPENMP]Fix the test, NFC.

Added: 
    

Modified: 
    openmp/libomptarget/test/offloading/parallel_offloading_map.c

Removed: 
    


################################################################################
diff  --git a/openmp/libomptarget/test/offloading/parallel_offloading_map.c b/openmp/libomptarget/test/offloading/parallel_offloading_map.c
index bcdc6f96f4d0..3bd59574747d 100644
--- a/openmp/libomptarget/test/offloading/parallel_offloading_map.c
+++ b/openmp/libomptarget/test/offloading/parallel_offloading_map.c
@@ -1,7 +1,7 @@
-// RUN: %libomptarget-compilexx-run-and-check-aarch64-unknown-linux-gnu
-// RUN: %libomptarget-compilexx-run-and-check-powerpc64-ibm-linux-gnu
-// RUN: %libomptarget-compilexx-run-and-check-powerpc64le-ibm-linux-gnu
-// RUN: %libomptarget-compilexx-run-and-check-x86_64-pc-linux-gnu
+// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu && env OMP_MAX_ACTIVE_LEVELS=2 %libomptarget-run-aarch64-unknown-linux-gnu | %fcheck-aarch64-unknown-linux-gnu
+// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu && env OMP_MAX_ACTIVE_LEVELS=2 %libomptarget-run-powerpc64-ibm-linux-gnu | %fcheck-powerpc64-ibm-linux-gnu
+// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu && env OMP_MAX_ACTIVE_LEVELS=2 %libomptarget-run-powerpc64le-ibm-linux-gnu | %fcheck-powerpc64le-ibm-linux-gnu
+// RUN: %libomptarget-compile-x86_64-pc-linux-gnu && env OMP_MAX_ACTIVE_LEVELS=2 %libomptarget-run-x86_64-pc-linux-gnu | %fcheck-x86_64-pc-linux-gnu -allow-empty
 #include <assert.h>
 #include <stdio.h>
 


        


More information about the Openmp-commits mailing list