diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-06-15 17:09:55 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-06-15 18:27:22 -0500 |
commit | 223606fcd02e6d15e065d1e108e17c8848d35f9f (patch) | |
tree | 577b3187354582fd2c1c8edcbd8e16ac86624b87 /src/test/burn/WixTestTools/BundleInstaller.cs | |
parent | c4090531d4caac4b8cb3356cb971ff2e1c9f8704 (diff) | |
download | wix-223606fcd02e6d15e065d1e108e17c8848d35f9f.tar.gz wix-223606fcd02e6d15e065d1e108e17c8848d35f9f.tar.bz2 wix-223606fcd02e6d15e065d1e108e17c8848d35f9f.zip |
Update some skipped tests to be dynamically skipped.
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; |