Chromium Code Reviews| 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..60c42cf4084ecb18df521672e97b905d0317dffc 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. |
| + return; |
|
binji
2015/02/24 00:35:05
Isn't this what Assert.Inconclusive() is for?
|
| + } |
| CheckCompile(Strings.PepperPlatformName); |
| } |