clang/tests/libomp/runtest.sh
Tom Stellard 50d4f87e06 12.0.0 Release
Related: rhbz#1928132
2021-05-10 17:56:28 -07:00

8 lines
107 B
Bash
Executable File

#!/bin/bash
set -exo pipefail
clang -fopenmp openmp-compile-link-test.c
./a.out | grep "Num Threads: 1"