[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
This commit is contained in:
Jonathan Peyton 2018-04-30 18:46:31 +00:00
parent d0df36a79a
commit d47df260ba
1 changed files with 3 additions and 3 deletions

View File

@ -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