1 // RUN: %libomp-compile
2 // RUN: env KMP_SETTINGS=1 OMP_PLACES=invalid %libomp-run 2>&1 | FileCheck --check-prefix=INVALID %s
3 // RUN: env KMP_SETTINGS=1 OMP_PLACES='sockets(' %libomp-run 2>&1 | FileCheck --check-prefix=SOCKETS %s
4 // RUN: env KMP_SETTINGS=1 OMP_PLACES='threads()' %libomp-run 2>&1 | FileCheck --check-prefix=THREADS %s
6 // INVALID-DAG: Effective settings
7 // INVALID: OMP_PLACES=
10 // SOCKETS-DAG: Effective settings
11 // SOCKETS: OMP_PLACES=
12 // SOCKETS-SAME: sockets
14 // THREADS-DAG: Effective settings
15 // THREADS: OMP_PLACES=
16 // THREADS-SAME: threads
20 #include "omp_testsuite.h"
24 return get_exit_value();