summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2018-04-30 18:46:31 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2018-04-30 18:46:31 +0000
commitd47df260ba98b03d70c293fccae480d240841dce (patch)
treeba69627332f2df67f68e7430eba833eba6bad41e
parentd0df36a79a599677520d6becad8991e4d6ca1971 (diff)
downloadbcm5719-llvm-d47df260ba98b03d70c293fccae480d240841dce.tar.gz
bcm5719-llvm-d47df260ba98b03d70c293fccae480d240841dce.zip
[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
-rw-r--r--openmp/runtime/test/ompt/misc/api_calls_from_other_thread.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/openmp/runtime/test/ompt/misc/api_calls_from_other_thread.cpp b/openmp/runtime/test/ompt/misc/api_calls_from_other_thread.cpp
index ef90c07a14b..f14759f2726 100644
--- a/openmp/runtime/test/ompt/misc/api_calls_from_other_thread.cpp
+++ b/openmp/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 @@ int main()
// 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
OpenPOWER on IntegriCloud