فهرست منبع

Don't change the expected build result based on the platform.

Hopefully the compiler feature tests will cover those cases.
Stephen Kelly 14 سال پیش
والد
کامیت
856bdb317b
1فایلهای تغییر یافته به همراه1 افزوده شده و 5 حذف شده
  1. 1 5
      Tests/Module/GenerateExportHeader/CMakeLists.txt

+ 1 - 5
Tests/Module/GenerateExportHeader/CMakeLists.txt

@@ -78,11 +78,7 @@ endmacro()
 
 macro(build_fail Include Library LibrarySource Source Message)
   _do_build(${Include} ${Library} ${LibrarySource} "${Source}")
-  if(COMPILER_HAS_HIDDEN_VISIBILITY OR WIN32 OR (${CMAKE_CXX_COMPILER_ID} MATCHES Clang))
-    test_fail(Result ${Message})
-  else()
-    test_pass(Result ${Message})
-  endif()
+  test_fail(Result ${Message})
 endmacro()
 
 macro(build_pass Include Library LibrarySource Source Message)