From 1495c4d166f65d172d8f298b5f9ed2fd86ef9931 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Thu, 3 Mar 2022 08:16:31 +0800 Subject: [PATCH] ci: show failed message on Windows --- cmake/RunTests.cmake | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cmake/RunTests.cmake b/cmake/RunTests.cmake index 789131c26c..3adbcbbfc5 100644 --- a/cmake/RunTests.cmake +++ b/cmake/RunTests.cmake @@ -95,7 +95,5 @@ if(NOT res EQUAL 0) endif() endif() - IF (NOT WIN32) - message(FATAL_ERROR "${TEST_TYPE} tests failed with error: ${res}") - ENDIF() + message(FATAL_ERROR "${TEST_TYPE} tests failed with error: ${res}") endif()