From: Paul Floyd Date: Tue, 10 May 2022 18:08:43 +0000 (+0200) Subject: Add check for DRD OMP tests for FreeBSD X-Git-Tag: VALGRIND_3_20_0~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f1abc9ec3b05b51d8003ec03f75c1c3ca4b1c17;p=thirdparty%2Fvalgrind.git Add check for DRD OMP tests for FreeBSD --- diff --git a/drd/tests/run_openmp_test b/drd/tests/run_openmp_test index f507676156..e09b543467 100755 --- a/drd/tests/run_openmp_test +++ b/drd/tests/run_openmp_test @@ -40,3 +40,11 @@ if [ "$(uname)" = Linux ]; then exit ${rc:-1} fi + +if [ "$(uname)" = FreeBSD ]; then + + ldd "$1" | grep libgomp > /dev/null + + exit $? + +fi