clang/tests/libomp/runtest.sh
Tom Stellard 13c66032d5 Import tests from tests/clang repository
It's not necessary to store the tests in a separate repository, since
other packages can just reference the tests in this repo.

Also update, the other tests to pull from git repos in the rpms namespace.
2021-04-14 22:02:41 +00: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"