From 1787d43b703680450a36f34c587befdb52802c6f Mon Sep 17 00:00:00 2001 From: ROCm CI Service Account <66695075+rocm-ci@users.noreply.github.com> Date: Thu, 27 Oct 2022 20:24:56 +0530 Subject: [PATCH] SWDEV-360748 - Disable hipExtGetLinkTypeAndHopCount_Positive_Basic test on Windows (#3034) Change-Id: I0a1ae08c4f766baf27df115de9257ca8d5533af0 --- catch/unit/device/hipExtGetLinkTypeAndHopCount.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/catch/unit/device/hipExtGetLinkTypeAndHopCount.cc b/catch/unit/device/hipExtGetLinkTypeAndHopCount.cc index 11b0faa98f..7911b133ec 100644 --- a/catch/unit/device/hipExtGetLinkTypeAndHopCount.cc +++ b/catch/unit/device/hipExtGetLinkTypeAndHopCount.cc @@ -23,7 +23,7 @@ THE SOFTWARE. #include #include -#if HT_AMD +#if __linux__ && HT_AMD TEST_CASE("Unit_hipExtGetLinkTypeAndHopCount_Positive_Basic") { const auto device1 = GENERATE(range(0, HipTest::getDeviceCount())); const auto device2 = GENERATE(range(0, HipTest::getDeviceCount())); @@ -97,4 +97,4 @@ TEST_CASE("Unit_hipExtGetLinkTypeAndHopCount_Negative_Parameters") { HIP_CHECK_ERROR(hipExtGetLinkTypeAndHopCount(0, 1, nullptr, nullptr), hipErrorInvalidValue); } } -#endif \ No newline at end of file +#endif