diff options
Diffstat (limited to 'src/test/burn/WixTestTools/BundleInstaller.cs')
-rw-r--r-- | src/test/burn/WixTestTools/BundleInstaller.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/test/burn/WixTestTools/BundleInstaller.cs b/src/test/burn/WixTestTools/BundleInstaller.cs index 0ab02d1b..5551d3c0 100644 --- a/src/test/burn/WixTestTools/BundleInstaller.cs +++ b/src/test/burn/WixTestTools/BundleInstaller.cs | |||
@@ -26,6 +26,10 @@ namespace WixTestTools | |||
26 | 26 | ||
27 | public string TestName { get; } | 27 | public string TestName { get; } |
28 | 28 | ||
29 | public int? AlternateExitCode { get; set; } | ||
30 | |||
31 | public int? LastExitCode { get; set; } | ||
32 | |||
29 | /// <summary> | 33 | /// <summary> |
30 | /// Runs the bundle asking for help. | 34 | /// Runs the bundle asking for help. |
31 | /// </summary> | 35 | /// </summary> |
@@ -226,7 +230,9 @@ namespace WixTestTools | |||
226 | 230 | ||
227 | // Run the tool and assert the expected code. | 231 | // Run the tool and assert the expected code. |
228 | bundle.ExpectedExitCode = expectedExitCode; | 232 | bundle.ExpectedExitCode = expectedExitCode; |
229 | bundle.Run(assertOnError); | 233 | bundle.AlternateExitCode = this.AlternateExitCode; |
234 | var result = bundle.Run(assertOnError); | ||
235 | this.LastExitCode = result.ExitCode; | ||
230 | 236 | ||
231 | // Return the log file name. | 237 | // Return the log file name. |
232 | return logFile; | 238 | return logFile; |