From 873134cf54b1f67d5b0607ef32ef422f90d24b67 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Sat, 12 Jan 2019 16:44:48 -0600 Subject: Add failing test for SuppressIces. --- .../WixToolsetTest.BuildTasks/MsbuildFixture.cs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'src') diff --git a/src/test/WixToolsetTest.BuildTasks/MsbuildFixture.cs b/src/test/WixToolsetTest.BuildTasks/MsbuildFixture.cs index 96f39318..3b96f0ba 100644 --- a/src/test/WixToolsetTest.BuildTasks/MsbuildFixture.cs +++ b/src/test/WixToolsetTest.BuildTasks/MsbuildFixture.cs @@ -55,6 +55,28 @@ namespace WixToolsetTest.BuildTasks } } + [Fact(Skip = "Currently fails")] + public void CanBuildSimpleMsiPackageWithIceSuppressions() + { + var projectPath = TestData.Get(@"TestData\SimpleMsiPackage\MsiPackage\MsiPackage.wixproj"); + + using (var fs = new DisposableFileSystem()) + { + var baseFolder = fs.GetFolder(); + var binFolder = Path.Combine(baseFolder, @"bin\"); + var intermediateFolder = Path.Combine(baseFolder, @"obj\"); + + var result = this.MsbuildRunner.Execute(projectPath, new[] + { + $"-p:WixTargetsPath={WixTargetsPath}", + $"-p:IntermediateOutputPath={intermediateFolder}", + $"-p:OutputPath={binFolder}", + "-p:SuppressIces=\"ICE45;ICE46\"" + }); + result.AssertSuccess(); + } + } + [Fact] public void CanBuildSimpleMsiPackageWithWarningSuppressions() { -- cgit v1.2.3-55-g6feb