Skip to content

Commit d47df26

Browse files
committed
[OpenMP][OMPT] Fix api_calls_from_other_thread.cpp
Removed environment setting in RUN: line that was being ignored anyways. Changed a few specific checks to "any number" llvm-svn: 331212
1 parent d0df36a commit d47df26

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

openmp/runtime/test/ompt/misc/api_calls_from_other_thread.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: env OMP_PLACES=cores %libomp-cxx-compile-and-run | FileCheck %s
1+
// RUN: %libomp-cxx-compile-and-run | FileCheck %s
22
// REQUIRES: ompt, linux
33

44
#include <thread>
@@ -34,9 +34,9 @@ int main()
3434

3535
// CHECK: 0: NULL_POINTER=[[NULL:.*$]]
3636

37-
// CHECK: {{^}}[[MASTER_ID:[0-9]+]]: ompt_get_num_places()=0
37+
// CHECK: {{^}}[[MASTER_ID:[0-9]+]]: ompt_get_num_places()={{[0-9]+}}
3838

39-
// CHECK: {{^}}[[MASTER_ID]]: ompt_get_place_proc_ids()=0
39+
// CHECK: {{^}}[[MASTER_ID]]: ompt_get_place_proc_ids()={{[0-9]+}}
4040

4141
// CHECK: {{^}}[[MASTER_ID]]: ompt_get_place_num()=-1
4242

0 commit comments

Comments
 (0)