Index: visual_studio/NativeClientVSAddIn/UnitTests/CompileTest.cs |
diff --git a/visual_studio/NativeClientVSAddIn/UnitTests/CompileTest.cs b/visual_studio/NativeClientVSAddIn/UnitTests/CompileTest.cs |
index 629ce3efe767498f41584ae4690033802d30346c..3b7d03d06f7e43d985baf18b4913ca0cd6d38ed6 100644 |
--- a/visual_studio/NativeClientVSAddIn/UnitTests/CompileTest.cs |
+++ b/visual_studio/NativeClientVSAddIn/UnitTests/CompileTest.cs |
@@ -61,6 +61,14 @@ namespace UnitTests |
[TestMethod] |
public void CheckPepperCompile() |
{ |
+ if (!TestUtilities.IsVS2012()) |
+ { |
+ // The pre-compiled libraries in the SDK (specifically |
+ // ppapi_cpp.lib) are not linkable except with 2012 so |
+ // this test will always fail with link errors under 2010 |
+ // or any other Visual Studio version. |
+ Assert.Inconclusive(); |
+ } |
CheckCompile(Strings.PepperPlatformName); |
} |