diff --git a/openmp/runtime/test/env/kmp_set_dispatch_buf.c b/openmp/runtime/test/env/kmp_set_dispatch_buf.c --- a/openmp/runtime/test/env/kmp_set_dispatch_buf.c +++ b/openmp/runtime/test/env/kmp_set_dispatch_buf.c @@ -1,7 +1,7 @@ -// RUN: %libomp-compile && env KMP_DISP_NUM_BUFFERS=0 %libomp-run +// RUN: %libomp-compile -fopenmp-version=45 && env KMP_DISP_NUM_BUFFERS=0 %libomp-run // RUN: env KMP_DISP_NUM_BUFFERS=1 %libomp-run && env KMP_DISP_NUM_BUFFERS=3 %libomp-run // RUN: env KMP_DISP_NUM_BUFFERS=4 %libomp-run && env KMP_DISP_NUM_BUFFERS=7 %libomp-run -// RUN: %libomp-compile -DMY_SCHEDULE=guided && env KMP_DISP_NUM_BUFFERS=1 %libomp-run +// RUN: %libomp-compile -fopenmp-version=45 -DMY_SCHEDULE=guided && env KMP_DISP_NUM_BUFFERS=1 %libomp-run // RUN: env KMP_DISP_NUM_BUFFERS=3 %libomp-run && env KMP_DISP_NUM_BUFFERS=4 %libomp-run // RUN: env KMP_DISP_NUM_BUFFERS=7 %libomp-run #include diff --git a/openmp/runtime/test/ompt/tasks/dependences.c b/openmp/runtime/test/ompt/tasks/dependences.c --- a/openmp/runtime/test/ompt/tasks/dependences.c +++ b/openmp/runtime/test/ompt/tasks/dependences.c @@ -1,4 +1,4 @@ -// RUN: %libomp-compile-and-run | %sort-threads | FileCheck %s +// RUN: %libomp-compile-and-run -fopenmp-version=45 | %sort-threads | FileCheck %s // REQUIRES: ompt // UNSUPPORTED: gcc-4, gcc-5, gcc-6, gcc-7 diff --git a/openmp/runtime/test/worksharing/for/kmp_set_dispatch_buf.c b/openmp/runtime/test/worksharing/for/kmp_set_dispatch_buf.c --- a/openmp/runtime/test/worksharing/for/kmp_set_dispatch_buf.c +++ b/openmp/runtime/test/worksharing/for/kmp_set_dispatch_buf.c @@ -1,7 +1,7 @@ -// RUN: %libomp-compile && %libomp-run 7 +// RUN: %libomp-compile -fopenmp-version=45 && %libomp-run 7 // RUN: %libomp-run 0 && %libomp-run -1 // RUN: %libomp-run 1 && %libomp-run 2 && %libomp-run 5 -// RUN: %libomp-compile -DMY_SCHEDULE=guided && %libomp-run 7 +// RUN: %libomp-compile -fopenmp-version=45 -DMY_SCHEDULE=guided && %libomp-run 7 // RUN: %libomp-run 1 && %libomp-run 2 && %libomp-run 5 #include #include