From: Willem Jan Withagen Date: Sun, 11 Apr 2021 12:46:17 +0000 (+0200) Subject: test: Run Dockers only on Linux platforms X-Git-Tag: v17.1.0~2290^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2386023ca88191b0f28fbad517001afb0ee35be9;p=ceph.git test: Run Dockers only on Linux platforms Running a docker alternative only works if the platform is Linux Signed-off-by: Willem Jan Withagen --- diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index 5ead7484213..772aeaddeff 100644 --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -612,8 +612,10 @@ if(PROMTOOL_EXECUTABLE) "please use a newer prometheus") endif() else() - add_ceph_test(run-promtool-unittests - {CMAKE_CURRENT_SOURCE_DIR}/run-promtool-unittests.sh) + if(LINUX) + add_ceph_test(run-promtool-unittests + {CMAKE_CURRENT_SOURCE_DIR}/run-promtool-unittests.sh) + endif() endif() set_property(