diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/WixlibFixture.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/WixlibFixture.cs b/src/test/WixToolsetTest.CoreIntegration/WixlibFixture.cs index 6ae2c0b8..a60169c7 100644 --- a/src/test/WixToolsetTest.CoreIntegration/WixlibFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/WixlibFixture.cs | |||
| @@ -88,6 +88,36 @@ namespace WixToolsetTest.CoreIntegration | |||
| 88 | } | 88 | } |
| 89 | } | 89 | } |
| 90 | 90 | ||
| 91 | [Fact(Skip = "Test demonstrates failure")] | ||
| 92 | public void CantBuildWixlibWithBinariesFromMissingNamedBindPaths() | ||
| 93 | { | ||
| 94 | var folder = TestData.Get(@"TestData\WixlibWithBinaries"); | ||
| 95 | |||
| 96 | using (var fs = new DisposableFileSystem()) | ||
| 97 | { | ||
| 98 | var baseFolder = fs.GetFolder(); | ||
| 99 | var intermediateFolder = Path.Combine(baseFolder, "obj"); | ||
| 100 | var wixlibPath = Path.Combine(intermediateFolder, @"test.wixlib"); | ||
| 101 | |||
| 102 | var result = WixRunner.Execute(new[] | ||
| 103 | { | ||
| 104 | "build", | ||
| 105 | Path.Combine(folder, "PackageComponents.wxs"), | ||
| 106 | "-bf", | ||
| 107 | "-bindpath", Path.Combine(folder, "data"), | ||
| 108 | // Use names that aren't excluded in default .gitignores. | ||
| 109 | "-bindpath", $"AlphaBits={Path.Combine(folder, "data", "alpha")}", | ||
| 110 | "-bindpath", $"PowerBits={Path.Combine(folder, "data", "powerpc")}", | ||
| 111 | "-bindpath", $"{Path.Combine(folder, "data", "alpha")}", | ||
| 112 | "-bindpath", $"{Path.Combine(folder, "data", "powerpc")}", | ||
| 113 | "-intermediateFolder", intermediateFolder, | ||
| 114 | "-o", wixlibPath, | ||
| 115 | }); | ||
| 116 | |||
| 117 | Assert.InRange(result.ExitCode, 2, int.MaxValue); | ||
| 118 | } | ||
| 119 | } | ||
| 120 | |||
| 91 | [Fact] | 121 | [Fact] |
| 92 | public void CanBuildSingleFileUsingWixlib() | 122 | public void CanBuildSingleFileUsingWixlib() |
| 93 | { | 123 | { |
