[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"


git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@331212 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/runtime/test/ompt/misc/api_calls_from_other_thread.cpp b/runtime/test/ompt/misc/api_calls_from_other_thread.cpp
index ef90c07..f14759f 100644
--- a/runtime/test/ompt/misc/api_calls_from_other_thread.cpp
+++ b/runtime/test/ompt/misc/api_calls_from_other_thread.cpp
@@ -1,4 +1,4 @@
-// RUN: env OMP_PLACES=cores %libomp-cxx-compile-and-run | FileCheck %s
+// RUN: %libomp-cxx-compile-and-run | FileCheck %s
 // REQUIRES: ompt, linux
 
 #include <thread>
@@ -34,9 +34,9 @@
 
   // CHECK: 0: NULL_POINTER=[[NULL:.*$]]
 
-  // CHECK: {{^}}[[MASTER_ID:[0-9]+]]: ompt_get_num_places()=0
+  // CHECK: {{^}}[[MASTER_ID:[0-9]+]]: ompt_get_num_places()={{[0-9]+}}
 
-  // CHECK: {{^}}[[MASTER_ID]]: ompt_get_place_proc_ids()=0
+  // CHECK: {{^}}[[MASTER_ID]]: ompt_get_place_proc_ids()={{[0-9]+}}
 
   // CHECK: {{^}}[[MASTER_ID]]: ompt_get_place_num()=-1